Sagar Hiray
12/08/2023, 12:40 PMRyan Valizan
12/08/2023, 2:26 PMbeforeLoad
, beforeSubmit
, afterSubmit
).
2. In the NetSuite UI, navigate to Customization > Scripting > Scripts > New.
3. Select the script file you created and fill out the required fields in the script record.
4. Under the 'Deployments' tab of the script record, create a new deployment.
5. Set the 'Applies To' field to the type of record you want the script to run on, which I assume would be 'inventoryitem' in your case.
6. Configure any additional settings for the deployment, such as audience and status.
7. Save the script and deployment records.
Remember to test your script in a sandbox account before deploying to production to ensure it behaves as expected.Sagar Hiray
12/11/2023, 5:55 AM