Discussions
NSC | Transform Custom Transaction Using Workflows with SuiteScript
To use SuiteScript to create a custom action to perform a transformation, use the redirect.toRecordTransform(options) method. The method takes the source transaction, opens the form of the destination transaction and fills data in the form based on the source transaction. If a field is available in both the source and destination transactions, it is transferred. However, the following fields are not automatically filled in:
Date – Today's date is displayed by default.
Due Date – Calculated from the Terms using today's date.
Accounts – If the main line account from the source transaction is not available in the target transaction, the default transaction account is used.
