EDIFACT ORDERS and X12 850 to IDOC ORDERS Basic Type ORDERS05

Below show some common fields required to map ORDERS IDOC, for both EDIFACT ORDERS and X12 850 message type. Example EDIFACT ORDERS UNA:+.? ‘ UNB+UNOA:1+<Sender ID>+<ReceiverID>+<YYMMDD>:<HHMM>+<ICN#>++ORDERS’ UNH+1+ORDERS:D:97A:UN:EDPO04′ BGM+220+<Header PO Number>+9′ DTM+137:<Header PO Date>:102′ NAD+BY+<Customer Name/Code>::91′ NAD+SE+<Vendor Name/Code>::92′ NAD+ST+<Ship-to location>::92′ CUX+2:<Currency>:9′