Perry Auld
10/17/2024, 9:38 PMCeligo AI
10/17/2024, 9:38 PMAI generated answer (using internal Slack threads):****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ****** Yes, it is possible to automate order flow using SuiteScript. You can write a script to transform the record once it was created all the way through the path you need/want. However, you need to explain what sort of transitions you have between those different transactions and statuses. If there is none, you might as well just create a cash sale and skip everything else. For example, if you want to omit the sequence after the 'Enter Sales Order' such as fulfill, pick, pack, mark shipped, and directly change the status to 'billed', you can turn off the
Advanced Shipping
feature to remove separate transactions for shipping and billing.
As for managing Sales Order commitment using SuiteScript, you can change the "commit" column to do not commit, commit available, or commit complete (or whatever that logic was) at the line level. However, replicating the Reallocate Items page behavior might not be possible with SuiteScript.
For a script to work with web orders (Site Builder) and Farapp orders, adding "web application" and "Web Store" to the execution record should be fine if all of the logic is the same no matter the context. If you have to do branching logic, you'll have to check the context first.Celigo AI
10/17/2024, 9:39 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.798227608
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.797165275
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.795850039
Celigo AI
10/17/2024, 9:39 PM