Defining the CONTRL OUNH envelop
EDIFACT Acknowledgements
Subscribe to keep this site alive! Under new management but as always, still 100% FREE. Anyone with the IBM i is a friend of ours.
EDIFACT Acknowledgements
Symptoms:
My CONTRL's envelop does not match the envelop of the ORDERS I received.
How do I fix this?
Add Headings and they will appear in your table of contents.
Diagnosis:
The UCM element 2.5 is conditioned on the existence of the BUNH control file record. This record indicates to the program to use the values from the inbound document's UNH envelope to populate the outbound UNH envelope, as well as this one UCM field. However, if the OUNH control record exists, the UNH will be populated with the OUNH fields that have values in them, but the UCM element 2.5 is not impacted by the OUNH values.
Prescription:
The software automatically updates the UNH segment with the document control number that is generated during enveloping. You can change the control file so that the software takes the document control number in the document header record for each document in your user file, and places it into the UNH02.2, UHNH02.3, UNH02.4, and UHN02.5 elements.
From the Main Menu> Administration Menu> Control File. Pick the OUNH record or create one by [F6].
Do you have a CHALLENGE? Let us know HERE.