Discussions
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
New to NetSuite | N/record: record.transform.promise(options) Method
In our previous article, New to NetSuite | Understanding SuiteScript 2.x Modules, we explored the SuiteScript Modules and N/record module, New to NetSuite | N/record Module Overview, which is used to interact with records. Now, we will take a closer look at one of the members of N/record: record.transform.promise(options) Method
The record.transform.promise(options) method is used to transform one record type into another (for example, transforming a sales order into an invoice) and works asynchronously using JavaScript Promises.
Syntax
record.transform.promise(options)
Parameters
options (Object): An object specifying how the transformation should occur. Required properties:
Richard James Uri - SuiteCloud | WMS Tech | SuiteCommerce Advanced
----
- NetSuite Admin Corner | New to NetSuite
- Explore the NSC Webinars Category
- Join our poll and share your ideas! We want to know what you think. Don't forget to comment and make your voice heard!
- Expand your NetSuite knowledge by joining this month's Ask A Guru Live about Advanced Accounting. RSVP on this event now!
