Is it possible saving a field on Customer Entry to a field in ds.OrderHead

I have added a checkbox in Customer Entry (ds.Customer.PCC_c) it saves with no issue. Now how can I save it also to ds.OrderHed.PCC_c when I hit save in Customer Entry?

I would not even try that.

If you need to update current open orders, just do a DMT. If you need it going forward, create a BPM that checks that field when the customer is added to the SO and update as needed.

1 Like

Thank John BPM on SalesOrdeR?

What’s the intention of that PCC_c field? If you want to have OrderHed.PCC_c be set to whatever Customer.PCC_c is when you set the customer on the sales order, then you can do a Post-Processing Method Directive BPM on the SalesOrder.ChangeOrderHedCustomerCustID method.

If you truly do need it to update OrderHed.PCC_c on all open sales orders for that customer whenever Customer.PCC_c is changed, you can do a Standard Data Directive BPM on the Customer table to update the database. I’m with John though - the first approach would be recommended.

It was made to sure that the Customer is a PostClaim Customer it was a checkbox i added on Customer. And when creating an order it was just an indicator when they select a customer. Yes on all open order

1 Like

All good now. Thanks for the help!

2 Likes

He thanked himself.

Dave Franco GIF by The Roku Channel

4 Likes