Order milestone - EDIFACT
See the document types that map to the Order milestone, as well as which EDI documents are used to display UI information.
Document types
The Order milestone includes the following document types, consolidated
into one milestone:
- ORDERS
ORDERS documents are always mapped to the Order milestone, regardless of their purpose or timing.
Milestone summary information
Purchase orders
Order milestone summary information is taken from the following locations
in purchase order EDI documents:
| UI field name | EDI field location | EDI field name |
|---|---|---|
| Order milestone status | Calculated | |
| Order number | BGM0201, if qualifier = 105, 220, 221, 224, 226, 237, 258, 400, 401, or 402. RFF segment if not found in BGM0201. | poNumber |
| Order date | DTM0102 if DTM 0101 = 4 or 137 | poDate |
| Line count | LIN01 | lineCount |
| Order total | MOA0102 if MOA0101 = 79, 86, or 98 | totalAmount |
| Currency |
CUX0102 if CUX0101 = 2 or 9 MOA0103 if MOA0101 = 146 or 203 |
currency |
| Bill to name |
NAD0301 if NAD01 = BT NAD0401 if NAD01 = BT |
billingName |
| Bill to address |
NAD0501 if NAD01 = BT |
billingAddress |
| Bill to location |
NAD06 if NAD01 = BT |
billingGeolocation |
| Ship to name |
NAD0401or NAD0301 if NAD01 = ST |
receiverName |
| Ship to address |
NAD0501 if NAD01 = ST |
receiverAddress |
| Ship to location |
NAD06 if NAD01 = ST |
receiverGeolocation |
Line item information
ORDERS
Order milestone line item information is taken from the following
locations in ORDERS EDI documents:
| UI field name | EDI field location | EDI field name |
|---|---|---|
| Item # | LIN01 | line |
| UPC # / Part # |
LIN0301 if LIN0302 = AH, AI, AL, AM, AN, UP, UN PIA0201 if PIA0202 = AH, AI, AL, AM, AN, UP, UN PIA0301 if PIA0302 = AH, AI, AL, AM, AN, UP, UN PIA0401 if PIA0402 = AH, AI, AL, AM, AN, UP, UN PIA0501 if PIA0502 = AH, AI, AL, AM, AN, UP, UN PIA0601 if PIA0602 = AH, AI, AL, AM, AN, UP, UN |
lineUPC |
| Item description | IMD0304, IMD0305 from LIN loop. | lineDescription |