6.1 - Map Transform
Adding Fields to the Dataset
Since aggregate transforms cannot add fields, before we use the aggregate transform to create the shipping records, we need to add several fields to the dataset. To do this we can use the Map transform.
Map > Field Mapping
- Re-open the Map transform and click on the Field Mapping tab.
- Create a new field:
- Field Name
- Sage300OrderNumber
- Enable Script Evaluation
- Unchecked
- Formula
- Leave blank
- Press Refresh, and you now have a new field:
- Change the Current Transaction Id:
- OrderDetails
- Create three fields, used for the miscellaneous charge records:
- Field Name
- LineType
- Type
- Integer
- Enable Script Evaluation
- Unchecked
- Formula
- 1
- Field Name
- ExtendedPrice
- Type
- Decimal
- Enable Script Evaluation
- Unchecked
- Formula
- Leave blank
- Field Name
- MiscChargeId
- Type
- Text
- Enable Script Evaluation
- Unchecked
- Formula
- Leave blank
- Refresh, save & close.
- Save the integration.