In Sage X3, FG product production is carried out in the Manufacturing module through Work Order and Production Tracking transactions. The LOT generated in the Manufacturing module can then be allocated in the Sales Order transaction.
One of our client requested a validation to the “Validation” button of Sales delivery and the Intersite Transfer Stock selection screen. The validation is placed to restrict delivery validation and stock selection in the Intersite Transfer screen when the Lot of FG generated from the Work Order is not ‘Closed + Costed’ and the WIP posting of the Work Order is not done, respectively.
We will review how the validation functions:
Scenario 1:
New Stuff: How to restrict a site for certain module in Sage X3.
![[Fig 1. Work Order]](https://www.greytrix.com/blogs/sagex3/wp-content/uploads/2025/03/Fig-1.Work-Order-1024x551.jpg)
We have created a work Order – 1012501MFG00000026 for FG Product 20000001 with 5 quantities.
![[Fig 2. Partial Production Tracking]](https://www.greytrix.com/blogs/sagex3/wp-content/uploads/2025/03/Fig-2.-Partial-Production-Tracking-1024x363.jpg)
After work order, we have created production tracking – 1012503MTK00000001 against the above work order – 1012501MFG00000026 with 3 quantities and LOT0001. That means it is a partial tracking.
So, status of this work order is not “Closed + Coasted”.
Scenario 2:
Now, we created 2nd work Order – 1012501MFG00000027 for the same product and created tracking – 1012503MTK00000002 against that work order with total 5 quantities and LOT0002.
After that, we executed “WIP Posting for work order – 1012501MFG00000027.
![[Fig 3. WIP Posting]](https://www.greytrix.com/blogs/sagex3/wp-content/uploads/2025/03/Fig-3.-WIP-Posting-1024x332.jpg)
After that Go to WO Close screen. Select Work order – 1012501MFG00000027 and click on “Close” button.
![[Fig 4. WO Close]](https://www.greytrix.com/blogs/sagex3/wp-content/uploads/2025/03/Fig-4.-WO-Close-1024x541.jpg)
After clicking on close button check the status. As we can see in above screenshot Fig4, Status of work order – 1012501MFG00000027 is “Closed + Coasted”. And WIP Posting is also done.
Now, we will observe the outcome when clicking the “Validation” button on the Sales Delivery screen.
![[Fig 5. Allocation on Sales Order with LOT0001]](https://www.greytrix.com/blogs/sagex3/wp-content/uploads/2025/03/Fig-5.-Allocation-on-Sales-Order-with-LOT0001-1024x335.jpg)
As we can see in above screenshot fig 5, error is getting generated “One or more of the allocated lots are either not ‘Closed + Costed’ or not posted.” for LOT0001. Because as per scenario 1, status of work order – 1012501MFG00000026 is not “Closed + Coasted”.
![[Fig 6. Allocation on Sales Order with LOT0002]](https://www.greytrix.com/blogs/sagex3/wp-content/uploads/2025/03/Fig-6.-Allocation-on-Sales-Order-with-LOT0002-1024x371.jpg)
But in 2nd scenario, we have allocated LOT0002 to Sales Order as shown in fig 6. And created delivery against above sales order.
So, here validation is done successfully. Because as per scenario 2, status of work order – 1012501MFG00000027 is “Closed + Coasted”.
![[Fig 7. Stock Change with LOT0001]](https://www.greytrix.com/blogs/sagex3/wp-content/uploads/2025/03/Fig-7.-Stock-Change-with-LOT0001-1024x337.jpg)
Also, in stock change transaction, as shown in Fig 7, we are getting same error for LOT0001.
In this way, we have added a validation on “Validation” button of Delivery and Intersite Transfer Transaction.
About Us
Greytrix – a globally recognized and one of the oldest Sage Development Partners is a one-stop solution provider for Sage ERP and Sage CRM organizational needs. Being acknowledged and rewarded for multi-man years of experience and expertise, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third-party add-on development, and implementation competence.
Greytrix has some unique integration solutions developed for Sage CRM with Sage ERPs namely Sage X3, Sage Intacct, Sage 100, Sage 500, and Sage 300. We also offer best-in-class Sage ERP and Sage CRM customization and development services to Business Partners, End Users, and Sage PSG worldwide. Greytrix helps in the migration of Sage CRM from Salesforce | ACT! | SalesLogix | Goldmine | Sugar CRM | Maximizer. Our Sage CRM Product Suite includes addons like Greytrix Business Manager, Sage CRM Project Manager, Sage CRM Resource Planner, Sage CRM Contract Manager, Sage CRM Event Manager, Sage CRM Budget Planner, Gmail Integration, Sage CRM Mobile Service Signature, Sage CRM CTI Framework.
Greytrix is a recognized Sage Champion Partner for GUMU™ Sage X3 – Sage CRM integration listed on Sage Marketplace and Sage CRM – Sage Intacct integration listed on Sage Intacct Marketplace. The GUMU™ Cloud framework by Greytrix forms the backbone of cloud integrations that are managed in real-time for the processing and execution of application programs at the click of a button.
For more information on our integration solutions, please contact us at sage@greytrix.com. We will be glad to assist you.