How to Transform Record in SuiteScript2.0? Equivalent API of nlapiTransformRecord()?
Hi All,
Please use below code to transform record in SuiteScript2.0:
In SuiteScript1.0:
nlapiTransformRecord(type, id, transformType, transformValues)
In SuiteScript2.0:
record.transform(options)
Module Used:
N/record Module
Please remember not all records can be transformed . Also Transform record is like button click on record.
For Example : when click on Receive button on PO and Receipt Gets created automatically with all data coming from PO. Same way when we transform record all data from source record comes to destination record and then we can set Fields and then Don't forget to Save .
Thanks
Abhi
Please use below code to transform record in SuiteScript2.0:
In SuiteScript1.0:
nlapiTransformRecord(type, id, transformType, transformValues)
In SuiteScript2.0:
record.transform(options)
Module Used:
N/record Module
Please remember not all records can be transformed . Also Transform record is like button click on record.
For Example : when click on Receive button on PO and Receipt Gets created automatically with all data coming from PO. Same way when we transform record all data from source record comes to destination record and then we can set Fields and then Don't forget to Save .
Thanks
Abhi
Comments
Post a Comment
Thanks for you message, please join us on Facebook and Linkedin