EDI / X12 Data Type
This data type handles both UN/EDIFACT and ASC X12 data formats, as well as custom formats similar to EDI / X12 that use a segment / element / subelement delimiter.
Serialization / Template Serialization / Deserialization Properties
Name | Default Value | Description |
---|---|---|
Segment Delimiter | ~ | Characters that delimit the segments in the message. |
Element Delimiter | * | Characters that delimit the elements in the message. |
Subelement Delimiter | : | Characters that delimit the subelements in the message. |
Infer X12 Delimiters | Enabled | This property only applies to X12 messages. If checked, the delimiters are inferred from the incoming message and the delimiter properties will not be used. |
Batch Properties
Name | Default Value | Description |
---|---|---|
Split Batch By | JavaScript | Select the method for splitting the batch message. This option has no effect unless Process Batch is enabled in the Source Settings. The following options are available:
|
JavaScript | Enter JavaScript that splits the batch, and returns the next message. This script has access to 'reader', a Java BufferedReader, to read the incoming data stream. The script must return a string containing the next message, or a null/empty string to indicate end of input. For additional information, see JavaScript Batch Script. |