Hello,
Hoping for some help with triggering BPM’s From Other BPM’s.
I’m currently using orderhed auto print to print out my picking notes, what i need this to do is also trigger the fulfillment to move the allocated stock into picking,
I have been using a tester to test my logic of triggering this, it has shown me the correct path but when i do this from the BPM it will not fire with the same details,
I have found that what i need to do is trigger the AutoPick BPM and then the SubmitForPicking BPM,
The logic i have followed is simply:
- Invoke BO Method: Invoke erp.OrderAlloc.getList - Parameters:
This then brings back the OrderAllocListTableSet
- Invoke BO Method: Invoke erp.OrderAlloc.OrderAllocationGetRows - Parameters:
This uses the OrderAllocListTableSet to bring back the OrderAllocTableSet Information
- We then use this dataset and change two fields to allow for it to process:
Set the OrderAllocTableSet.OrderAlloc.SelectedForAction field of all rows to the true expession
and
Set the OrderAllocTableSet.OrderAlloc.SelectForPicking field of all rows to the true expression
-
Invoke BO Method: Invoke erp.OrderAlloc.AuoPick - Parameters:
-
Invoke BO Method: Invoke erp.OrderAlloc.SubmitForPicking - Parameters:
This should then move the allocated stock to picking, when using the logic tester tool, this has triggered and is correct, however from inside epicor i can not achieve this.
Any help would be appreciated
Thank you