Nour Khaled
01/22/2025, 12:07 PMCeligo AI
01/22/2025, 12:07 PMAI generated answer (using internal Slack threads):Based on the conversations, setting inventory detail lines in a User Event AfterSubmit is not directly possible because inventory details are usually mandatory, so it's too late to set it before or after submit. However, there is a workaround. You can automate the setting of inventory details on Item Fulfillment by using a custom button and a Suitelet on the Sales Order. Use the Suitelet to generate the Item Fulfillment and set the inventory details. Here is a high-level overview of the steps: 1. Create a custom button on the Sales Order record. 2. This button should call a Suitelet. 3. The Suitelet will generate the Item Fulfillment and set the inventory details. Please note that SuiteScript does not support subrecords like inventory details in client script. The more advanced answer that is still a no is that setting body level fields on subrecords work while sublists on subrecords do not. So only setting address subrecords work in client script. ****** 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
01/22/2025, 12:07 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.839751422
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.839172363
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.833944201
Celigo AI
01/22/2025, 12:07 PM