Don't get lost: Training » Sage 200 Training Manual » Step 6 – Create Shipment Charges » 6.3 – Filter
6.3 – Filter Transform
Before we import the orders into Sage200, we want to filter out the additional charge lines without a value.
- Drag a filter transform and connect it to the Aggregate transform.
- Double click to open its setup; rename its Transform Id to Filter.
- Click on the Field Mapping tab, and select the OrderDetails transaction.
- Enter formula:
- %LineType = 0 Or %LineType = 3 Or (%LineType = 2 And %StoredValue <> 0)
The result of the formula must evaluate to a True or False value, where a False value will mean the record is removed (or filtered) from the dataset.
- Press refresh.
- The 1st Order will have ‘Assembly’ and ‘TwoManSupplement’ removed.
- Save the transform and close.