Microsoft Copilot $21$18. Plus, get 1 month free!

August 18, 2021

Correct Manufacturing Order Receipt Entry Error Message

The manufacturing module in Dynamics GP is a powerful solution for connecting your manufacturing processes, equipment and factories, and it comes with built-in financial, inventory, accountability, payroll and sales capabilities.

A relatively common issue users experience with the Dynamics GP manufacturing module is the below error message when creating a manufacturing order receipt entry in the system:

Our expert consultants at Bond Consulting Services (BCS) have determined two main reasons for this error message.

1. A user’s Dynamics GP session was not closed properly which caused the transaction to remain open or the record to be stranded.

2. A user’s MRP (Material Requirements Planning) Regeneration process was not completed or was interrupted.

Before making any changes in SQL, make sure to review the MRP Security Window (Transactions > Manufacturing > MRP > Security) and the MRP Planned Order Security Window (Transactions > Manufacturing > MRP > MRP Planned Order Security) in Dynamics GP to see if the manufacturing order has any locks on it. If you see the manufacturing order with the correct user and item number that you would like to be unlocked in either of these windows, simply click delete to release the transaction. Now, you should be able to create a manufacturing order receipt entry within the system without any problems.

If you do not see the manufacturing order you would like to be released in the windows, an administrator with access to the SQL server will have to run some scripts in SQL to resolve the issue. The administrator should execute the queries below in SQL Server Management Studio individually.

delete tempdb..DEX_SESSION where session_id not in
(select SQLSESID from DYNAMICS..ACTIVITY)

delete tempdb..DEX_LOCK where session_id not in
(select SQLSESID from DYNAMICS..ACTIVITY
)

These queries are not deleting anything in the server or system, they are just temporarily removing any Dynamics GP user who is not actually active. These users will simply have to login to Dynamics GP the next time they want to access the system.

Although frustrating, the error message alerts Dynamics GP users that inactive sessions are still causing locks on data. Following the simple steps above should clear the lock and enable the creation of manufacturing order receipt entries so you can continue running your operations and providing excellent service to your customers.

For further reference, check out the link to the Microsoft article that explains this issue.

For more information on the powerful manufacturing capabilities of Dynamics GP, please reach out to our BCS Team by scheduling a free consultation or contacting sales@BondConsultingServices.com!

Other articles

Does Your Dynamics 365 Business Central Need a Power BI Power Up?

Clayton Jones

|

May 20, 2026
Thanks to Dynamics 365 Business Central, your processes have been streamlined, your finances smartly managed, and your sales cycle enhanced. Your business has been running so smoothly that you’ve finally…

From Power Automate to Microsoft Copilot: Where Workflow Automation Ends and AI Assistance Begins

Zoltan Orban

|

May 19, 2026
Webinar: AI or Automation? How to Know What Your Manufacturing Business Actually NeedsJune 16 @ 11:00 AM PT/2:00 PM ETRegister Now!Most operational problems are not as simple as “add AI.”…

Project Online Retirement: What Businesses Need to Do Before September 2026

Daniel Dix

|

May 7, 2026
For years, Project Online, Microsoft’s cloud-hosted project and portfolio management (PPM) solution, built on SharePoint Online has played a central role in enterprise environments, supporting everything from detailed scheduling to…

Microsoft Dynamics 365 Business Central Implementation Packages

Clayton Jones

|

April 29, 2026
If you’re like 99% of our clients, you’re trying to rein in the soaring costs of technology. It’s a delicate balancing act. On the one hand, you understand that you…

Doing More With the Team You Have: What BCS is Changing with AI

Jackie Gant

|

April 29, 2026
AI is everywhere right now, but what feels different is the pace. For the first time in a long time, small and mid-sized businesses are adopting new technology just as quickly…

Why AI Sometimes Feels Off (Even When You Have the Data)

Zoltan Orban

|

April 23, 2026
Webinar: Doing More With the Team You Have | What BCS is Changing About AIApril 28 @ 12:00 PM PT/3:00 PM ETRegister Now!Most small and mid-sized businesses aren't behind on…