Debatching Groups of Incoming Documents
Incoming documents often serve as containers for other documents. To facilitate processing both the container documents and the contained documents, each container is copied into x identical container documents, where x is the number of documents that the original container document contains. This process is known as debatching. The most common formats for which this process is used are X12 and XML.
This section shows how GearCo creates document types to enable debatching of incoming orders from its partner AAZBoards.
Purchase orders (POs) sent in X12 format are typically enclosed in a GS envelope, which is in turn enclosed in an ISA envelope. In order to process the POs, they must be debatched: that is, separated so that each PO is enclosed in its own GSA and ISA envelopes, as shown in ISA, GS, and ST Debatching.
Product orders sent in XML format are typically enclosed in a parent container. In order to process the product orders, they must be debatched: that is, separated so that each product order is enclosed in its parent container, as shown in XML Debatching.