X12CreationUnit
Class name |
com.ebd.hub.datawizard.iu.X12CreationUnit |
This Integration Unit creates an X12 structure, using the target tree data.
Note: If there is a calculation field in the "SE" segment at the first position, its value is output instead of the header.
Parameters
Parameter |
Allowed values |
Default value |
Description |
Composite delimiter character |
|
^ |
The composite delimiter character. |
Cut line after 80 chars |
true, false |
false |
If true, a line break will be performed after 80 characters. |
Do not reset segment-counter for each record |
true, false |
false |
Prevents a reset of the segment counter with each record. |
Field delimiter character |
|
* |
The field delimiter character. |
It's no repetition character because of old X12 format |
true, false |
false |
Indicates whether a repetition character is allowed. Older formats do not allow a repetition character. |
Repetition character |
|
~ |
The repetition character. |
Replace composite delimiter character in data by |
|
|
Indicates the replacement character for the composite delimiter character. |
Replace field delimiter character in data by |
|
|
Indicates the replacement character for the field delimiter character. |
Replace repetition character in data by |
|
|
Indicates the replacement character for the repetition delimiter character. |
Replace segment delimiter character in data by |
|
|
Indicates the replacement character for the segment delimiter character. |
Replace umlauts |
true, false |
true |
If true, umlauts are replaced. |
Replace umlauts with checking case |
true, false |
false |
Takes the case and position of uppercase umlauts into consideration, when replacing them. If the uppercase umlaut stands at the beginning of a word or is followed by a blank, then the second character of the replacement characters will be written in lowercase, otherwise in uppercase. |
Segment delimiter character (for newline: NL) |
|
' |
The segment delimiter character. |
Write message in one line |
true, false |
false |
The entire message is written in a single line. |
Ignoring Empty Child Nodes in Output
If subnodes are not entered, then normally the values present in them are interpreted as empty values and output accordingly in the file (i.e. an empty value and a separator).
If you want to prevent this, you can set the attribute "Optional settings" on the subnode to a value > 0. Values of this subnode will then not be output as an empty value with separator, but skipped completely.