Reprocessing Documents with Duplicate Control Numbers
For documents with duplicate control numbers, first ensure the document is not a duplicate and that you have not already processed it. If you determine that you still need to process a document, you can force the reprocessing.
To reprocess a document with a duplicate control number
1. To determine the EDI documents that were rejected because they contained duplicate control numbers, from Software AG Designer, invoke the wm.b2b.editn.util.reprocess.listUnprocessDoc service. When you invoke this service, specify Duplicate for the type input parameter. The service returns a list of Trading Networks internal IDs of documents that have duplicate control numbers.
2. For each Trading Networks internal ID returned by the wm.b2b.editn.util.reprocess.listUnprocessDoc service, use that internal ID to view the content of the document, as follows:
a. In My webMethods: Monitoring > Integration > B2B > Transactions
b. In the Transaction Search panel, select Internal ID from the search query field list, select the Equals operator, and paste the internal ID into the Value box.
c. Select Search.
d. Select a transaction row that the query returns and then select the Content tab to view contents of the document that had a duplicate control number.
3. If you want to reprocess a document, do one of the following:
In
My webMethods, select
Reprocess.
When you use this method, Module for EDI uses the default values for generateFA and updateControlNumber, described below.
In
Designer, invoke the
wm.b2b.editn.util.reprocess.reprocessDocument service and specify the following:
For this input parameter... | Specify... |
internalID | Trading Networks internal ID of the document you want to reprocess. |
generateFA | For ANSI X12 and UN/EDIFACT only. Whether you want to generate functional acknowledgments (FAs) for the document you are reprocessing. Specify one of the following: |
Value | Meaning |
true | Generate FAs. Specify true when reprocessing a document with a duplicate interchange control number. |
false | Do not generate FAs. This is the default. Specify false when reprocessing a document with a duplicate group control number. |
updateControlNumber | Whether you want to update the next expected control number in the EDIControlNumber table. Specify false (the default). |