Load optimization logic
Summary:
We have a load optimization logic implemented in the Shipment Create Agent. This logic validates the load utilization of a shipment, and if the utilization check fails, it unassigns the associated Order Movements (OMs).
The issue arises during a Bulk Plan (BP) execution involving 2,000+ Order Movements. As the Bulk Plan creates shipments sequentially, the BP remains in progress while shipments are continuously being created. During this time, the Shipment Create Agent is triggered for every shipment, performs the load utilization check, and unassigns the OMs when the check fails.
As a result, the same Order Movement is called multiple places at the same time:
0