Download Altova MapForce User Manual
Transcript
MapForce and EDI UN/EDIFACT and ANSI X12 as target components 315 20.3.1 UN/EDIFACT target - validation The following items are checked when a UN/EDIFACT document is validated: · Whether a UNB and a UNZ segment exist. · Whether UNB/S004 contains a valid date/time specification. · Whether UNB/0020 and UNZ/0020 contain the same value. · Whether UNZ/0036 contains the correct number; which is defined as the number of functional groups, if present, or the number of messages. If there are functional groups, this should be the number of functional groups, otherwise it should be the number of messages contained in the interchange. Each functional group is checked: · Whether it contains a matching UNG and UNE pair. · Whether UNG/S004 contains a valid date/time specification. · Whether UNE/0060 contains the correct number of messages contained in the functional group. Each message is checked: · Whether it contains a matching UNH and UNT pair. · Whether UNH/S009/0052 contains the same value as UNG/S008/0052 of the enclosing functional group. · Whether UNH/0062 and UNT/0062 contain the same value. · Whether UNH/S009/0065 contains the correct message type specifier. · Whether UNT/0074 contains the correct number of segments contained in the message. Automatic data completion for EDIFACT makes sure: · a UNB and a UNZ segment exist · That if either UNG or UNE exist, that the other ID also exists · That a UNH and a UNT segment exist · That UNB/S001 exists. If it does not contain data, the syntax level and syntax version number from the user-defined settings are used. See Settings | Syntax version number. · That UNB/S002 and UNB/S003 exist. · That UNB/S004 exists. If it does not contain data, the current date/time in EDI format is inserted. · That UNZ/0036 exists. If it does not contain data, the number of functional groups or messages is calculated and inserted. · That UNZ/0020 exists. If it does not contain data, the value from UNB/0020 is copied. Please note: Any fields not mentioned in this section (Automatic data completion) are NOT inserted, or created. The correct values cannot be ascertained automatically. Given a (target) parent element A (in the target EDI component) with child items x, y, and z - where y is mandatory, parent element A will only be created in the output file if © 2006 Altova GmbH Altova MapForce User Manual
Related documents
Altova MapForce User Manual
Altova MapForce 2016
Altova UModel 2013
Altova XMLSpy 2012 Tutorial
Altova MobileTogether Designer
Altova StyleVision Professional Edition User Manual
Altova StyleVision 2010
Altova XMLSpy 2009
Altova Authentic 2016 Browser Edition
Altova UModel User Manual
Altova UModel 2016
1 Altova SemanticWorks 2012