BPM Sets Dropdown Fields Correctly but Displays Incorrectly

,

Hey, all.

I have a couple of simple Post-Processing Method Directives which set the values of a few dropdown fields based on one specific User. These are running on BO.SalesOrder.ChangeCustomer and BO.SalesOrder.GetNewOrderDtl.

The BPMs are working correctly to set the values in the background (verified by SQL query), but the values displayed in the fields on the Order Entry form don’t update automatically. I can only get the form to update by physically clicking on the arrow next to the field or by closing and reopening the Order.

How can I get the form to immediately and automatically display the updated selection to avoid user confusion?

Fields I’m Updating:
-OrderHed.ShipVia
-OrderDtl.MktgCampaignID
-OrderDtl.MktgEvntSeq
-OrderDtl.ProdCode

Please let me know if screenshots or anything else are needed for clarification!

Sounds like those BPMs need to be pre-process?

Thanks for the reply. That might be true, and I’ll certainly test the theory.

When BO.SalesOrder.ChangeCustomer is called, it pulls in all the Customer Defaults, including ShipVia. When adding a Part to a new Line, the part’s default Production Group populates. My thought process was that I needed to let those Customer and Part defaults populate the fields first, then fire the BPM to change the field values. I thought if I used pre-process, the BPM values would be overwritten by the Customer and Part defaults.

Worth a try!

I have seen this problem before… the issue is that for every combo box, there are TWO fields. One of those is for Display purposes only.
So… if you are changing the DATA portion of shipping method, you must also change the DISPLAYED content as well.
Look in the BPM and I believe you will see both the OrderHed.ShipVia (the data) and something like OrderHed.ShipViaDisplay, or ShipViaDescription or something like that.

1 Like

This was it, Tim. Thank you!