EDICreationUnit
Class name |
com.ebd.hub.datawizard.iu.EDICreationUnit |
This Integration Unit creates an EDIFACT structure, using the target tree data.
Important note: The Integration Unit treats the nodes "UNA", "UNB", "UNT" and "UNZ" in a particular way. Please avoid using node names using that prefix.
Parameters
All the parameters are mandatory.
Parameter name |
Allowed values |
Default value |
Description |
Add UNA-segment to result |
true, false |
true |
No "UNA" segment is added, if "false". In that case, the default metacharacters will be used. |
Add value to segment counter |
|
0 |
This integer value will be added to the "UNT" segment counter. Negative values are allowed. |
Autocreate empty mandatory segments |
true, false |
true |
Mandatory segments will be created, even if they do not contain data. |
Cut line after 80 chars |
true, false |
true |
If true, line break after 80 characters. This option is necessary if the data is for an AS/400. |
Delimiters |
|
:+.? ' |
Defines the metacharacters for the "UNA" segment. Changing a character causes the changed character to be used in the document to be created. Note: It is possible to use the placeholder "/NL" instead of the ' character. A line break is then used in the document as the end of line character. Please note, however, that this does not correspond to the regular structure of an EDIFACT document! |
Length to cut line |
|
80 |
Number of characters until line break. |
Linefeed |
|
\r\n |
Line break characters to be used. |
One EDI-document per record |
true, false |
false |
If "true", the segment counter is reset with each record. |
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. |
Return EDIFACT in uppercase completely |
true, false |
false |
If "true", the complete EDIFACT file is returned in uppercase. |
Trim type (both,left,right) |
both, left, right |
both |
Defines, whether leading whitespaces, trailing whitespaces, or both will be removed if parameter "Trim values" is "true". |
Trim values |
true, false |
true |
If "true", values are trimmed as specified in parameter "Trim type". |
Write message in one line |
true, false |
false |
The entire message is written in a single line. |
Manually created or modified target structure
You will normally use an EDIFACT template in the target structure. If you insert additional substructures, for example, please pay attention to node attribute "Opt. settings". Use value "1" for components (creates separator :) and "0" for segments (creates separator +).