Jericho Kyle Tamayo
05/26/2025, 9:09 AMCeligo AI
05/26/2025, 9:10 AMAI generated answer (using internal Slack threads):Based on the conversations, it is possible to lock a Sales Order if there is an Item Fulfillment attached to it. This can be achieved using a before load event with edit context in SuiteScript. You would need to throw an error if the status is Pending Billing, Partially Fulfilled, or Partially Fulfilled/Pending Billing. Additionally, to ensure that any Picked or Packed Item Fulfillment is also included, you can search for any item fulfillment where the created form is the current Sales Order. If the results are found, throw an error on Edit mode. Alternatively, you can also lock the Sales Order via a workflow, which will show a lock icon in the UI in view mode. However, it's important to note that these methods do not directly lock the Item Fulfillment after it is fulfilled/shipped, but rather they prevent changes to the Sales Order once an Item Fulfillment is attached. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Celigo AI
05/26/2025, 9:10 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.831463337
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.830021322
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.829666138
Celigo AI
05/26/2025, 9:10 AM