is there a way to lock a sales order if there is an item fulfillment attached to it
n
NickSuite
02/16/2021, 10:19 PM
i would suggest using before load event with edit context. Throw an error if the status if Pending Billing, Partially Fulfilled, Partially Fulfilled/Pending Billing.
NickSuite
02/16/2021, 10:21 PM
Or to ensure that any Picked or Packed IF is also included, search for any item fulfillment where created form is the current SO. If the results are found, throw an error on Edit mode.
m
michoel
02/16/2021, 10:54 PM
You can also lock via a workflow, which will show a lock icon in the UI in view mode