Send Email Alert using Transaction Saved Search when Order Status Changes

The user creates a Transaction Saved Search to send an email alert that is triggered whenever there is a change in the sales order status. However, the user has customized its order Status names and the email alert needs to send. The system still respects the standard name of the status of the Order (Pending Fulfillment/Pending Approval/Pending Billing), regardless of… Continue reading Send Email Alert using Transaction Saved Search when Order Status Changes

Use of currentrecord.commitLine(Options) Method with the currentrecord.setCurrentSublistValue(Options) Method via SuiteScript 2.0 Client Script

User would like to set a sublist field’s value on a List Type Sublist using the currentRecord.setCurrentSublistValue(options) method and setting the ignoreFieldChange option to true. There are no errors encountered on the script but the sublist field’s value is not reflected correctly to the UI. The reason for this behavior is because the line item… Continue reading Use of currentrecord.commitLine(Options) Method with the currentrecord.setCurrentSublistValue(Options) Method via SuiteScript 2.0 Client Script