BPM not working - blank ShipVia change not recognized

Hi guys,
Any suggestions on why my BPM isn’t firing? Our customer service folks wanted to uncheck a UD field (which calculates freight & adds it to the order) when ShipVia is set to Customer Pickup (“PKU”).

It works when a non-blank ship via is changed to PKU. It doesn’t work when the shipvia is blank, and then is set to PKU.

The original BPM was on SalesOrder.Update / Preprocessing.

I did a trace with the blank ShipVia customer where we added the ShipVia = PKU on the sales order, and saw that PKU was first added with the SalesOrder.MasterUpdate, so I tried that method instead of Update, but no dice.

I’ve tried changing the condition from changed row to updated tow to added row (trace shows “add”) to all rows, without success.

image

image

Seems I’m missing something very simple. Any suggestions?

image

1 Like

Brian - That didn’t work, unfortunately.

Brian - I added the 2nd OR line, and it’s still not catching it the blank to PKU case… It does catch changing any non-blank ShipVia to PKU though. So close… Thanks for the suggestion.

Strange, I have tested it and it works in all cases that the ShipVia is changed, whether new, from another or from blank.

Brian - I’ll try it in our clean EpicorEdu environment where we don’t have any other BPM’s. Maybe we have something stepping on it. I’ll try adding message pop ups to troubleshoot. Thanks for helping.

That is what I used, a message popup and the bpm was triggered each time.
image