Only receipt to stock when all operations completed

Hi all

Is there are setting/toggle which would mean we could only receipt a job to stock once all operations (including sub-assemblies are completed)?

Thanks

That’ll be your friendly neighborhood BPM there. No out of the box checkbox magic there.

upon reflection… a more helpful answer would be you want a pre processing directive on Erp.ReceiptsFromMgf.ReceiveMfgPartToInventory. Condition: Number of rows in (make a baq to check for all ops complete) is less than 1. Then either call an informational message or raise an exception and yell at them that way. If you want to get all fancy pants and include WHICH operations are not complete that’ll run you into a custom code action. But this could be done without code at a basic level.

1 Like

Another way to check for all operations being complete would be to check for JobHead.Canidate = true. This is set to true when either the operation marked as the Final Operation is completed or the last operations on the last Assembly is completed.
Operations can be manually completed with the user without actually completing the required qty, so if instead you want to make sure the completed qty matches or exceeds the planned quantity you can compare JobHead.ProdQty and JobHead.QtyCompleted using the same Query check in the BPM that Rob mentioned.