Defines the function that is executed after a record is submitted. The afterSubmit operation is useful for performing any actions that need to occur following a write operation on a record. Examples of these actions include email notification, browser redirect, creation of dependent records, and synchronization with an external system. Notes: The approve, cancel, and… Continue reading User Event Script AfterSubmit-contexts (SuiteScript 2.x) || context.UserEventType
Tag: aftersubmit
Setting the value to custom field
Problem: Error occur when tries to set the value of custom field in after submit context. Solution:In after submit context in order to set the value to custom field it is better to use record.submitFields()
Amount in words with currency type.
The user event script which automatically set amount in words in a transaction record.