Troubleshooting
Problem
Validation error BCGEDIVA0051 when using NTE floating segments
Symptom
The below reported setup resulted in validation error BCGEDIVA0051:
- Connections:
None,EDI-X12, ISA -> N/A,EDI-X12,ISA Action = EDI De-envelope
N/A,X12V3R1,850 -> None,EDI-X12,ISA Action = EDIValidateandRe-envelope
- Custom action "EDIValidateandRe-envelope" is defined as:
com.ibm.bcg.edi.business.process.EDISourceValidationFactory
com.ibm.bcg.wtx.business.process.EDIReEnveloperFactory
The N/A->None transaction fails with validation error BCGEDIVA0051: "Unrecognized segment id, segment name = NTE, segment position = 11, sending trading partner id/qualfier = 306009308 /ZZ, receiving trading partner id/qualifier = 005146311H /01, control numbers = 00032122 / 32122006 / 833186".
Resolving The Problem
WPG implementation of the EDI standards, when it comes to floating segments, is to use the DIS Client to build "map" files to correctly convey them into the target document. This implementation allows the NTE segment to be anywhere in the document (according to the
standards), as long as the map keeps track of it/them.
If more than one partner uses floating, at different sections of the same EDI document, DIS allows to build multiple maps if target documents are different, or if the same target document is used, the NTE can be placed in multiple places to satisfy each partner.
The design however makes mandatory to update the DIS map if the NTE segment position varies. That is, WPG allows the floating to be anywhere, as long as the map being used is in accordance with its position.
Further research on the EDI standards, also show that floating segments are now obsolete and have been withdrawn, starting with version 3 release 7, ie: www.x12.org/rfis/Required%20vs%20Mandatory%20in%20Code%20Descrptions.pdf
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21613788