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!

Share On: 

Other articles

Microsoft 365 Copilot for Outlook | Manage Email Smarter

Joel Trinidad

|

November 7, 2025
The Email Overload Holding Teams BackFor most of us, email isn’t just communication—it’s command central. But the volume is relentless. Between updates, requests, and follow-ups, your inbox can feel like its own full-time…

Copilot for Power BI: Your Personal Data Assistant

Joel Trinidad

|

October 30, 2025
Microsoft has been steadily adding AI features to their broad range of business products, and Power BI is no exception. Copilot can be utilized to take full advantage of your…

How to Migrate Fixed Assets from Dynamics GP to Business Central Smoothly

George Rios

|

October 28, 2025
PlanningWhen working on a migration of Dynamics GP fixed assets to Business Central, you will want to identify which fields you want to transfer from one system to another. It…

Introducing the BCS Support Portal

TJ Sedarski

|

October 23, 2025
At Bond Consulting Services, we know how important it is to get help when you need it, and to know where things stand once you’ve asked. That’s why we are…

Announcing Unlimited Support for Dynamics 365

TJ Sedarski

|

October 17, 2025
It's like having an in-house Dynamics team - without the overhead A Smarter Way to Get Support for Microsoft DynamicsWe've listened to your feedback and we're making support simpler, faster, and…

Meet Bond Consulting at Community Summit NA 2025

TJ Sedarski

|

October 9, 2025
Discover how we’re helping growing companies streamline operations and accelerate ROI with Microsoft Dynamics 365.Community Summit North America is right around the corner! From October 19–23 in Orlando, FL, business…