TRADACOMS Connector

Version 21.0.7866


TRADACOMS Connector


TRADACOMS Connectors support generating TRADACOMS documents from XML and converting TRADACOMS documents into XML.

Overview

When receiving TRADACOMS documents, TRADACOMS Connectors validate interchange headers and convert the TRADACOMS document into XML. This is useful as a staging step, as XML is the primary format that ArcESB uses to manipulate data within a flow. The TRADACOMS Connector automatically reads the input file to determine the appropriate schema, then parses the document according to this schema.

When generating TRADACOMS documents, TRADACOMS Connectors convert XML into TRADACOMS document syntax and apply the appropriate interchange headers. This is useful as the final step for creating an TRADACOMS document, after the XML data has been fetched and transformed elsewhere in the flow.

Connector Configuration

This section contains all of the configurable connector properties.

Settings Tab

Translation Configuration

Settings related to how the connector will attempt to translate input files.

  • Connector Id The static name of the connector. All connector-specific files are held in a folder by the same name within the Data Directory.
  • Connector Description An optional field to provide free-form description of the connector and its role in the flow.
  • Translation Type Whether the connector should convert TRADACOMS documents into XML or XML data into TRADACOMS documents.

Transmission Settings

Settings related to the transmission headers of TRADACOMS documents. When generating TRADACOMS documents, these settings are applied as interchange headers in the resulting document. When parsing TRADACOMS documents, the interchange settings are used to validate the incoming document.

  • Syntax Identifier (STDS Identifier) Identifies the syntax rules used in the TRADACOMS document.
  • Sender Code (FROM Code) Identifies the party sending the TRADACOMS document. When generating TRADACOMS from XML, this should be your code.
  • Sender Name (FROM Name) The optional name of the party sending the TRADACOMS document. When generating TRADACOMS from XML, this should be your name.
  • Recipient Code (UNTO Code) Identifies the party receiving the TRADACOMS document. When converting TRADACOMS into XML, this should be your code.
  • Recipient Name (UNTO Name) The optional name of the party receiving the TRADACOMS document. When converting TRADACOMS into XML, this should be your name.
  • Sender Reference (SNRF) The ID used to reference the sender of the TRADACOMS document.
  • Receiver Reference (RCRF) The ID used to reference the recipient of the TRADACOMS document.
  • Application Reference (APRF) The ID used to reference the TRADACOMS application for this document exchange.
  • Transmission Priority Code (PRCD) The code representing the priority of the TRADACOMS transmission.

Automation

Settings related to the automatic processing of files by the connector.

  • Send Whether messages arriving at the connector will automatically be processed.

Advanced Tab

Local Folders

Settings that determine where on disk files will be processed from, and where they will be placed after processing.

  • Input Folder (Send) Files placed in this folder will be processed by the connector. If Send Automation is enabled, the connector will automatically poll this location for files to process.
  • Output Folder (Receive) Files will be placed here after being processed by the connector. If the connector is connected to another connector in the flow, files will not remain here and will instead be passed along to the Input/Send folder for the connected connector.
  • Processed Folder (Sent) After processing a file, the connector will place a copy of the processed file in this folder if Save to Sent Folder is enabled. This copy of the file will not be passed along to the next connector in the flow.

EDI Delimiters

Settings that specify which characters separate elements, segments, etc.

  • Data Element Separator The character that separates individual data elements within the document.
  • Component Element Separator The character that separates elements within a composite data structure in the document.
  • Segment Terminator The character that indicates the end of a segment within the document.
  • Release Char The character that ‘releases’ or ‘escapes’ the next character, overriding its usual meaning. This allows reserved characters to appear as data withing documents, as long as they are preceded by the Release Char.
  • Repetition Char The character that indicates repetition of element values.
  • Suffix Appended to the Segment Terminator to distinguish segments.

Performance

Settings related to the allocation of resources to the connector.

  • Max Workers The maximum number of worker threads that will be consumed from the threadpool to process files on this connector. If set, overrides the default setting from the Profile tab.
  • Max Files The maximum number of files that will be processed by the connector each time worker threads are assigned to the connector. If set, overrides the default setting from the Profile tab.

Other Settings

Settings not included in the previous categories.

  • Batch Transactions Whether multiple transactions should be grouped together in a single output file. If false, each transaction found in the interchange will result in a separate output document.
  • Expand Qualifier Values When translating TRADACOMS into XML, whether elements containing an EDI qualifier will have child elements ‘Code’ and ‘Value’ to express the qualifier code and value. For example:
    <N101>
     <Code>ST</Code>
     <Value>Ship To</Value>
    </N101>
  • Generate Description As When translating TRADACOMS into XML, descriptions of the TRADACOMS segments and elements will be provided as context for the TRADACOMS data. This context can be added as an XML comment or included within the XML elements as XML attributes. Use this setting to determine which of these approaches, or neither, is used.
  • SNIP Validation When enabled, the connector will perform the first three levels of SNIP Validation for HIPAA compliance: (1) the syntactical integrity of the document, (2) the presence of required segments and appropriate repetitions for repeated segments, and (3) the correct mathematical relationship between claim line items and claim totals. Higher levels of SNIP Validation (4+) may require a Validate Connector or custom script.
  • Send Filter A glob pattern filter to determine which files in the Send folder will be processed by the connector (e.g. *.edi). Negative patterns may be used to indicate files that should not be processed by the connector (e.g. -*.tmp). Multiple patterns may be separated by commas, with later filters taking priority except when an exact match is found.
  • Local File Scheme A filemask for determining local file names as they are downloaded by the connector. The following macros may be used to reference contextual information:
    %ConnectorId%, %Filename%, %FilenameNoExt%, %Ext%, %ShortDate%, %LongDate%, %RegexFilename:%, %DateFormat:%.
    As an example: %FilenameNoExt%_%ShortDate%%Ext%
  • Parent Connector The connector from which settings should be inherited, unless explicitly overwritten within the existing connector configuration. Must be set to a connector of the same type as the current connector.
  • Strict Schema Validation Whether the connector should Ignore, Warn, or Fail when the following are detected: Repeat counts above the allowed number; missing required elements/segments; invalid qualifier and code values; disallowed element lengths; invalid element values.

TRADACOMS to XML

When generating XML, set the Translation Type to TRADACOMS to XML. TRADACOMS files placed in the Input/Send Folder will be processed by the connector. The connector will validate TRADACOMS message headers against the Transmission Settings configured in the connector. After validating the transmission, the TRADACOMS segments are converted into XML according to the schema specified in the message. The resulting XML files are placed in the Output/Receive Folder for the connector.

XML to TRADACOMS

When generating TRADACOMS files, set the Translation Type to XML to TRADACOMS. XML files placed in the Input/Send Folder will be processed by the connector. The connector converts the XML elements representing a TRADACOMS file into TRADACOMS segments, then uses the Transmission Settings fields to generate the transmission headers. To create an example of the XML structure required to generate TRADACOMS documents, start with an example TRADACOMS document and send it through the TRADACOMS Connector in TRADACOMS to XML mode. The resulting XML can be used as a template in the XML Map Connector to convert arbitrary XML structures into TRADACOMS structure.