Tristan Gale
08/27/2024, 4:17 PMCeligo AI
08/27/2024, 4:17 PMAI generated answer (using internal Slack threads):Based on the conversations, it is not considered best practice to delete lines from a sales order in NetSuite. Here are the reasons: 1. Deleting a line from a sales order can cause issues if there has been an item fulfillment or invoice created. Those records will have to be removed or modified first. 2. Deleting a line from a sales order leaves no trace of the action, which can be problematic for tracking changes and auditing purposes. 3. There is an alternative to deleting lines, which is to 'close' the lines. This option might be hidden under form customization in your sales order form at the line level. Closing a line instead of deleting it allows for better tracking and doesn't disrupt any linked records like item fulfillments or invoices. 4. If you need to track line item deletions, you would need to implement a script that populates a header-level field when a line is deleted. 5. You could potentially calculate the number of deleted lines in a transaction in a Saved Search as
MAX({line}) - MAX({linesequencenumber})
, but this method may not be accurate for all transactions and may not include non-inventory items, subtotals, discount lines, etc.
******
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
08/27/2024, 4:17 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.817048
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.816174
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.815637231
Celigo AI
08/27/2024, 4:17 PM