TRADACOMS EDI - Parse TRADACOMS document (generic) action ​

The Parse TRADACOMS document (generic) action parses any TRADACOMS document in TRADACOMS EDI into an interchange structure that contains an STX header, MHD/MTR messages, and an END trailer. This action doesn't apply a schema. Use the Parse TRADACOMS file (typed) action to map named fields instead.

Input ​

Input fieldDescription
TRADACOMS documentEnter the raw TRADACOMS EDI content, from STX through END.

Output ​

The following are a representative set of output fields. Refer to the output datapills in the recipe editor to view the remaining fields.

Output fieldDescription
Sender codeThe sender's location code from the STX header.
Recipient codeThe recipient's location code from the STX header.
Segment countThe total number of segments in the document.
Message countThe total number of messages in the document.
MessagesThe document's parsed messages.
Number (Messages)The message's position in the document, starting at 1.
Type (Messages)The message type, for example ORDHDR or ORDERS.
Version (Messages)The message version, for example 9.
Role (Messages)The message's role in the document. Values are header, detail, vat, trailer, or reconciliation.
Segments (Messages)The message's raw segments.
IntegrityThe document's integrity report.
Valid (Integrity)A boolean value (true or false) that indicates whether the document passed every integrity check.

Last updated: