Method Directive not effective when triggered from EKW

I have a Post Processing BPM that attached to the Erp.BO.Receipt.GetDtlPOLineInfo method. The purpose of this BPM is to set the Warehouse Code on the Receipt line based on the Workstation ID. It does this by calling the Erp.Receipt.OnChangeDtlWareHouseCode method. It seems to work great in the Classic Client.

However, when triggered from a EKW handheld it is ineffective. I say ineffective because in the server trace log I can see that the BPM runs but it does not change the warehouse on the handheld. If I then open the receipt on in the smart client, the default warehouse is still shown there as well, so it’s not just a handheld display issue.

I expect that the difference in behavior is due to the method being called by REST instead of the smart client, but I haven’t found any documentation that points me to a resolution. Any suggestions?

1 Like

I think you’re right about the reason. We had a few bpms that ignore orders placed by EDI. We can see the method called alright. As to resolutions we just had to find other triggers and in one case go to a data directive.

1 Like