In the NetSuite REST web services, you can transform a record from one type into an another, using data from an existing records. For example, you can create an invoice record from an existing sales order record, using data from the sales order.
Adding a Transformation
- Create or Open an Integration with a NetSuite REST destination
- On the Target tab, select at least one Role Type
- On the Target tab of the integration click Add Child and Action Lines
- Role Type – Select the Role Type containing the desired Transformation
- Filter – By default both Sublists and transformations are shown in the list, but the filters can narrow down the returned results
- Expand the collection containing the desired Transformation
- Check the box next to the Transformation that is needed in the mapping
- Click Ok to save

Duplicating a Transformation
- Create or Open an Integration with a NetSuite REST destination
- On the Target tab, select at least one Role Type
- On the Target tab of the integration click Add Child and Action Lines
- Expand the collection containing the desired Transformation
- Check the box next to the Transformation that is needed in the mapping
- Click the duplicate button on the Transformation to duplicate

Mapping a Transformation
The transform can be mapped without mapping the parent transaction request.
Below is an example using a SalesOrder to Invoice transformation.
- Add the Transform so it displays on the Target Lines grid

- Switch to the Integration tab
- Select transform/invoice from the Target Lines dropdown
- On the Source Grouping subtab, check the Group By box for the unique identifier for the sales order

- Switch to the Target Integration subtab
- Map the field grouped in Step 4 to the target createdFrom column
- Map any other invoice fields desired for this transformation

- Save the integration