I’m trying to see if there is a way to create a BPM to prevent shipping multiple sales orders in a Pack ID. I tried using the CustShip.CheckPrePartInfo upon tabbing through the SO Line. I tried using a condition in the method design but it doesn’t allow me to use the set specified value upon all fields changing.
Wild thought:
Create a UD field on ShipHead called ShipHead.OrderNum_c.
Hide the standard button and field on the Summary/Header tab and show this one with a new button.
When this value changes, change the standard field behind the scenes (standard logic will run, but your field will hold the value permanently). Once the Header is saved, lock the field (read-only if RowMod <> A).
Now at the lines, a BPM on CustShip.GetNewShiDtl (or whatever the method is called) can default that value and call the CustShip.ChangeOrderNum (or whatever the method is called) . This would be the most transparent to the user.
A “simpler” idea would be to compare the new or updated record’s OrderNum to the other records where PackLine is different than the current one.
In the simpler idea, what condition would be used in the BPM method to get started? I tried using a conditional method but then it won’t allow me to use the upon any rows changing expression.
It would be a query condition.