B2B Integration 10.4 | Administering and Monitoring B2B Transactions | webMethods Module for EDI | Defining Trading Partner Information | Defining EDI Trading Partner Agreements | wm.b2b.editn.TPA:EDITPA IS Document Type | persistOriginalEnvelope Variable
 
persistOriginalEnvelope Variable
 
persistOriginalEnvelope EDITPA Variable
Default: false
The persistOriginalEnvelope variable indicates whether to persist the original incoming EDI envelope in Trading Networks before Module for EDI starts processing the EDI envelope.
When the module receives an EDI document from a partner, it processes the transactions first, the groups next, and the envelope last. While processing a large document, if the module fails to process the entire inbound document, it cannot retrieve the original EDI document received from the partner because the envelope is processed last. Module for EDI cannot track these unprocessed inbound documents because the original EDI document received from the partner is not persisted in Trading Networks by default.
When you choose to persist the original incoming EDI document in Trading Networks before Module for EDI starts processing the document, even if the module fails to process the entire document, you can track the original document in Trading Networks and reprocess it in Module for EDI.
If persisting each and every EDI document in Trading Networks before Module for EDI starts processing it slows down your system performance, you can configure the module to process the envelope first by setting the documentPersistOrder variable to EnvelopeFirst. In this case, the module does not persist the original incoming EDI document in Trading Networks. If Module for EDI fails to process the entire inbound document, you can still retrieve the details of the original EDI document received from the partner because the module processes the envelope first and submits it to Trading Networks. For more information, see documentPersistOrder Variable.
Value
Description
true
Before processing the document, Module for EDI persists the original incoming EDI document in Trading Networks with the following attribute values:
Processing Status = NEW
User Status = Original EDI Envelope
EDI Status = Persisted
When the module does not completely process the inbound document, the module will not delete the original document persisted in Trading Networks. Documents containing the attribute values mentioned above identify that the corresponding document was not processed completely. Resubmit these original documents to Trading Networks for reprocessing.
When the module successfully processes the inbound document, that is, after all the transactions, groups, and envelope of the document are processed, the additional document persisted in Trading Networks is deleted.
Note: When the value of the documentPersistOrder EDITPA variable is EnvelopeFirst, Module for EDI does not persist the original EDI envelope in Trading Networks before processing the document even if you set the value of the persistOriginalEnvelope variable to true.
false
Module for EDI does not persist the original inbound EDI envelope in Trading Networks before processing the document. This is the default.

Copyright © 2016- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release