AggregateEdifactBySupplier
Configuration file |
None. Configuration is done directly with a string in field "Additional parameters". |
Class name |
com.ebd.hub.datawizard.customresp.AggregateEdifactBySupplier |
Description
The class allows splitting large EDIFACT files into smaller EDIFACT files. The criteria for the splitting and sorting is the ID of the NAD+SU segment (SG2/NAD(SU)/C082/3039). There will be a valid EDIFACT file created for each distinct SU ID. Please note that the segment counter of the split files will not be adjusted and therefore not be correct.
A string with the following syntax is expected for the configuration:
<directory>|<file name>|<encoding> |
Such a string could, for example, look like follows:
./tmp/Customer1/Case01/out|MSG#@VAR_FILENAME@#<supplier>|8859_1 |
As you can see in the example, it is possible to use variables with the syntax @VAR_VARIABLE@ to create the file name.
Note: The string for the file name has to contain the substring <supplier> (literally) to make sure that no file is overwritten.
Note: The NAD+SU IDs of the large file are not allowed to contain text segments.