splitOption Variable
splitOption EDITPA Variable
Default: Transaction
The splitOption variable defines how Module for EDI splits an interchange segment within an EDI document. The module uses splitOption to determine which of the following document types to create from the interchange segment:
![*](chapterTOC_bullet.png)
Interchange documents—Contain a single interchange envelope, group segments, and transaction sets
![*](chapterTOC_bullet.png)
Group documents—Contain a single group segment and transaction sets
![*](chapterTOC_bullet.png)
Transaction documents—Contain a single transaction set
To perform processing on the transactions in an inbound document, set splitOption to Transaction or Group. To use Trading Networks to route the inbound EDI document without processing individual transactions, set the splitOption to Interchange.
The following table lists the possible values for the splitOption variable and the types of documents that Module for EDI creates for each value.
Value | Description |
Interchange | Module for EDI creates only the Interchange document. Note:
When splitOption is Interchange and the FAReconciliation EDITPA variable is set to true, the module splits the document at the Group level. For more information, see
FAReconciliation Variable. |
Group | Module for EDI creates the Interchange document and a Group document for each group segment in the interchange segment. |
Transaction | Module for EDI creates the Interchange document, a Group document for each group segment in the interchange segment, and a Transaction document for each transaction set in the interchange segment. |