Description
The EDISegmentMergeReceiver merges multiple segment data into EDI formatted output. Electronic Data Interchange (EDI) is the computer-to-computer exchange of business documents in a standard electronic format between business partners.
In This Article
- When should this Receiver be used?
- When should this Receiver not be used?
- Are any additional items required to use this Receiver?
- Receiver Parameters
- Receiver Attributes Property Keys
- File and Directory Config Tabs
When should this Receiver be used?
- The EdISegmentMergeReceiver is automatically assigned to the Merge Domain when an EDI Project is created in the GenRocket web platform.
- It should be used to generate EDI documents.
When should this Receiver not be used?
- Any time you want to generate another type of nested output.
Are any additional items required to use this Receiver?
- SegmentDataCreatorReceiver- Automatically assigned to each Domain when the EDI Project is created to generate the segment data.
- Configuration File - Used to determine the XML output format. This is automatically created when an EDI Project is created with a default name of "config.xml."
Receiver Parameters
The EDISegmentMergeReceiver requires that the following parameters are defined. Items with an asterisk* are required.
- outputPath* - Defines the location to store the newly generated EDI file.
- outputSubDirectory - Defines the prefix name of the subdirectories that are auto-created under the outputPath and then appended with a number. Example: data1, data2, data3.
- configName* - Defines the name of the configuration file.
- configPath* - Defines the location where the configuration file and one or more template files are stored.
- configSubDir - The subdirectory under the configPath directory where configuration and template files are stored.
- segmentPath* - Defines the path to the Segment directory where all segment subdirectories can be found.
- segmentSubDirectory - Defines the subdirectory under the segmentPath where segment files can be found.
- filesPerOutputSubDir* - Defines the number of files to be generated per output subdirectory.
- overrideFileName - This parameter allows you to override the output file name that is given in the configuration file. Also, this gives the ability to modify the output file name with the help of the Engine API.
- deleteOutputSubDir - Defines whether to delete the outputSubDir or not.
- deleteSegmentDir - Defines whether to delete the segments directory or not.
- segmentPerLine* - Defines whether to add the segment in the same line or a new line. The default value is "True."
Receiver Attributes Property Keys
There are no property keys necessary for this Receiver.
File and Directory Config Tabs
The File and Directory Config Tabs define the event that triggers file/directory creation and the naming configuration for generated files/directories. For more information on how to use these tabs, click here.