How to remove paired relationships in X12 segments.

How to remove paired relationships in X12 segments.

book

Article ID: KB0093917

calendar_today

Updated On:

Products Versions
TIBCO BusinessConnect EDI Protocol Powered by Instream -
Not Applicable -

Description

Description:
When processing an inbound transaction, an error occurs on a paired segment when one of the segment members is missing.  For example, if a 997 is processed without an ACK03 segment, the following error occurs:

A Conditional Element Relation violated: If either ACK02 or ACK03 is present, then the other is required.

How can I modify the guideline to avoid this issue?

Issue/Introduction

How to remove paired relationships in X12 segments.

Resolution

You can remove this relationship in the guideline so that the transaction can process without error using the following steps.


1).  Launch EDISIM's Standards Editor.


2). Import the sef file, File | Inport | Import Single SEF and open the guideline in question.


3). At the top of the guideline, expand the Dictionary Objects. You will see Segments, Composites, Elements and Code Collections.


4). Expand the Segments folder and highlight the ACK (or other segment) segment.


5). In the lower pane click on the syntax notes button.


6). Highlight the P0203 Relationship which contains the specific relationship violation mentioned in the validation error message. Click on Delete.


7). Click OK and Save.


8). You can test the change using EDISIM Validator.


9). If you need this as a sef file, Export changed guideline as a sef file, File | Export Current Guideline | To SEF




Additional Information

Foresight EDISIM documentation