Hello,
I have a question regarding the MtlQueue and Shipped flag in Customer Shipment Entry.
Business team wants me to add a BPM in the customer shipment entry.
this BPM is to block the shipqty if it is great than the quantity in the MtlQueue when trans status =“RELEASE”.
so I put the event in the update. when the ready to invoice flag change from false to true, i check the Mtlqueue. but it seems too late because the record in the Mtlqueue already gone.
Is there any way I can put the trigger before the MtlQueue removed. if so, what trigger i can use. the update is not possible.
also i tried updateExt and UpdateMaster, they all the same. MtlQueue already removed.
Your best bet is to do a trace. Search this forum if you don’t know how. This will give you exactly which methods are called and in which order, and even which data changes and when.
Then you can use the appropriate method to fire your BPM. If you’re trying to set data with a BPM and it won’t set, use the BL Tester (also search this forum) to replicate the events in your trace, and figure out exactly where you can set data in that chain of events.
As @SteveFossey says you need to trace, but also follow the data thru the process. For us the process is MtlQueue is created, MtlQueue is processed moving order to PickedOrders table. (At his point the MtlQueue is gone) In customer shipment Entry we use actions - Picked Orders to create the PackOut.
I compare all ShipDtl quantities to OrderRel quantities for over shipments, but I don’t know how your shipments are setup.