Module for EDI 9.12 | Building Services with EDI Module | Part II WmEDIforTN Package | WmEDIforTN Rec Folder | Summary of Elements in this Folder | wm.b2b.editn.rec:batchFailRecord
 
wm.b2b.editn.rec:batchFailRecord
WmEDIforTN. Defines the format of the IS document that Module for EDI can publish when it is unable to include an EDI document that is queued for batching into the final batch EDI document.
To handle this failure, you can use Software AG Designer to create an Integration Server trigger that subscribes to the published document. For information about creating an Integration Server trigger, see the Publish-Subscribe Developer’s Guide for your release.
Module for EDI publishes the IS document when the publishBatchFailEvent EDITPA variable is set to true. For more information about this EDITPA variable, see the chapter on defining partner information in webMethods Module for EDIINT Installation and User’s Guide. For more information about batching EDI documents, see the chapter on batching EDI documents in webMethods Module for EDIINT Installation and User’s Guide.
Variables in the batchFailRecord IS document type
taskID
String The task ID that Trading Networks generated for the delivery task that is associated with the document that Module for EDI could not include into the final batch EDI document, that is, the failed document).
TNinternalID
String The internal ID that Trading Networks generated for the failed document.
senderID
String The internal ID that Trading Networks generated for the partner that is the sender of the failed document.
receiverID
String The internal ID that Trading Networks generated for the partner that is the receiver of the failed document.
documentID
String The document ID that Trading Networks generated for the failed document.
TNSystemStatus
String The document processing (system) status of the failed document generated by Trading Networks.
TNUserStatus
String The user status of the failed document generated by Trading Networks.
doctypeName
String The name of the TN document type for the failed document.
mode
String The production mode of the failed document, that is, Production or Testing.
groupType
String The EDI group type that is associated with the failed document.
*For an Interchange document, groupType is Envelope.
*For a Group document, groupType is the type associated with the group, e.g., PO.
*For a Transaction document, groupType is the type associated with the group with which the transaction is associated, e.g., PO for an ANSI X12 850 transaction.
standard
String The EDI standard that is associated with the failed document, e.g., X12 or UNEDIFACT.
version
String The version of the EDI standard associated with the failed document, e.g., 4010 for ANSI X12 or 98A for UN/EDIFACT.