EDICreationUnit
Group |
|
Class Name |
com.ebd.hub.datawizard.iu.EDICreationUnit |
Function |
Creates an EDIFACT structure, using the destination tree data. |
Description
Introduction: Integration Units.
The EDICreationUnit creates an EDIFACT structure, using the destination 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.
Parameter Description
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. |
|
Length to cut line |
80 |
Number of characters until line break. |
|
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 Trim values is true. |
Trim values |
true, false |
true |
If true, values are trimmed as specified in Trim type. |
Write message in one line |
true, false |
false |
The entire message is written in a single line. |
Manually Created or Modified Destination Structure
You will normally use an EDIFACT template in the destination 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 +).