Invoking BPM's From Another BPM

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:

  1. Invoke BO Method: Invoke erp.OrderAlloc.getList - Parameters:

This then brings back the OrderAllocListTableSet

  1. Invoke BO Method: Invoke erp.OrderAlloc.OrderAllocationGetRows - Parameters: image

This uses the OrderAllocListTableSet to bring back the OrderAllocTableSet Information

  1. 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

  1. Invoke BO Method: Invoke erp.OrderAlloc.AuoPick - Parameters: image

  2. 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

Hi,

I know this post is nearly a year old. However, there is no solution for it here.

I was just wondering if you managed to figure this out?

Thanks

-Ben

What are you trying to do?

We have a 2 stage sales order process. Second stage is a review, sales staff check the order and flag reviewed. Once reviewed, parts are reserved and sent for picking automatically. No need to go through fulfillment workbench.

I have it working to a point. Parts get reserved as soon as the sales order is reviewed.

Next step is to submit for picking. I dont currently have this working. I think I have something wrong with the SubmitForPicking method in OrderAlloc BO.

In my opinion, this is better invoked from client side code rather than BPM code.

have you thought about simply having the “approval” process BE the Reserve & release for Picking step? That can be done directly in Sales Order Entry / Actions / Reserve/Allocate menu option.