TRADACOMS EDI - Parse TRADACOMS file (typed) action ​

The Parse TRADACOMS file (typed) action parses a TRADACOMS transmission file into typed documents in TRADACOMS EDI. Select a File type to map message data to named fields for the header, detail, VAT, and trailer messages. The action also includes raw segments in the output.

Input ​

Input fieldDescription
File typeSelect the file type, for example Order File or Invoice File. The selected file type determines which typed output fields appear. Select Other / custom to provide custom schemas.
Custom message schemas (JSON)Optional. Enter JSON keyed by message type to add or override field mappings, for example {"ORDERS": {"properties": {"my_field": {"path": "CLO/1", "picture": "X(40)"}}}}. The action uses the built-in schemas for the selected file type if you leave this field blank.
TRADACOMS documentEnter the raw TRADACOMS EDI content, from STX through END.

Output ​

The following output fields are common to all file types. The mapped fields nested within these output fields dynamically generate based on the File type you select. For example, an Order File generates Customer order number and Date order placed by customer. Refer to the output datapills in the recipe editor to view the fields available for your selected file type.

Output fieldDescription
Sender codeThe sender's location code from the STX header.
Recipient codeThe recipient's location code from the STX header.
Document countThe number of detail documents in the file.
IntegrityThe file's integrity report.
Valid (Integrity)A boolean value (true or false) that indicates whether the file passed every integrity check.
HeadThe file header message's mapped fields and raw segments.
DocumentsThe detail messages' mapped fields and raw segments, with one entry per document.
Vat trailersThe VAT trailer messages' mapped fields and raw segments.
SummaryThe file trailer message's mapped fields and raw segments.
Reconciliation messageThe reconciliation message's raw segments, if the file includes one.

Last updated: