ORDCHG - EDIFACT Purchase order change request message

Business Transaction Intelligence supports document type ORDCHG or purchase order change request message, which is used by the buyer to the seller, specifying details of the buyer's request to change a purchase order.

Segment: BGM - Beginning of message

Reference Element name Requirement Usage
BGM0201 poNumber Mandatory Must use
BGM03

purpose code

ackType if BGM03 = 6, 27, 28, 29, 30, or 34

Mandatory Must use

Segment: DTM - Date, time, and period

Reference Element name Requirement Usage
DTM0101 date or time qualifier Mandatory Must use
DTM0102
  • poDate if DTM0101 = 4
  • poChangeDate if DTM0101 = 137
  • poEstimatedShipDate if DTM0101 = 17, 10, 11, 110, 133, 136
  • deliveryDate if DTM0101 = 2, 61, 63, 117, 128, 191
  • requiredByDeliveryDate, requiredByDeliveryTime, or requiredByDeliveryTimeCd if DTM0101 = 61
  • requestedShipDate, requestedShipTime, or requestedShipTimeCd if DTM0101= 10
  • requestedDeliveryDate, requestedDeliveryTime, or requestedDeliveryTimeCd if DTM0101 = 2
  • estimatedDeliveryDate, estimatedDeliveryTime, or estimatedDeliveryTimeCd if DTM0101 = 17
  • lineSchRequestedShipDate, lineSchRequestedShipTime, or lineSchRequestedShipTimeCd if DTM0101 = 10
  • lineSchRequestedDeliveryDate, lineSchRequestedDeliveryTime, lineSchRequestedDeliveryTimeCd if DTM0101 = 2
  • lineSchEstimatedDeliveryDate, lineSchEstimatedDeliveryTime, lineSchEstimatedDeliveryTimeCd if DTM0101 = 17
  • lineRequestedShipDate, lineRequestedShipTime, or lineRequestedShipTimeCd if DTM0101 = 10
  • lineEstimatedDeliveryDate, lineEstimatedDeliveryTime, or lineEstimatedDeliveryTimeCd if DTM0101 = 17
  • lineRequestedDeliveryDate. lineRequestedDeliveryTime, or lineRequestedDeliveryTimeCd if DTM0101 = 2
Optional Used

Loop: SG1

Segment: RFF - Reference

Reference Element name Requirement Usage
RFF0101 qualifier Optional Used
RFF0102

poNumber if RFF0101 = ON, OP, or VN

poChangeSequence if RFF0101 = PP

Optional Used

Loop: SG3

Segment: NAD - Name and address

Reference Element name Requirement Usage
NAD01 qualifier Optional Used
NAD0301

receiverName if NAD01 = ST

billingName if NAD01 = BT

shipperName if NAD01 = SF

Optional Used
NAD0303

receiverAddress if NAD01 = ST

billingAddress if NAD01 = BT

shipperAddress if NAD01 = SF

NAD0304

receiverSubEntity if NAD01 = ST

billingSubEntity if NAD01 = BT

shipperSubEntity if NAD01 = SF

NAD0305

receiverCountry if NAD01 = ST

billingCountry if NAD01 = BT

shipperCountryif NAD01 = SF

NAD0401

receiverName if NAD01 = ST

billingName if NAD01 = BT

shipperName if NAD01 = SF

Optional Used
NAD0501

receiverAddress if NAD01 = ST

billingAddress if NAD01 = BT

shipperAddress if NAD01 = SF

Optional Used
NAD06

receiverCity if NAD01 = ST

billingCity if NAD01 = BT

shipperCity if NAD01 = SF

Optional Used
NAD0701

receiverSubEntity if NAD01 = ST

billingSubEntity if NAD01 = BT

shipperSubEntity if NAD01 = SF

NAD08

receiverPostal if NAD01 = ST

billingPostal if NAD01 = BT

shipperPostal if NAD01 = SF

NAD09

receiverCountry if NAD01 = ST

billingCountry if NAD01 = BT

shipperCountryif NAD01 = SF

Tip: receiverGeoLocation = receiverCity + receiverSubEntity + receiverPostal + receiverCountry
Tip: billingGeoLocation = billingCity + billingSubEntity + billingPostal + billingCountry
Tip: shipperGeoLocation = shipperCity + shipperSubEntity + shipperPostal + shipperCountry

Loop: SG8

Segment: CUX - Currencies (SG8)

Reference Element name Requirement Usage
CUX0101 qualifier Optional Used
CUX0102

currency if CUX0101 = 2

currency if CUX0103 = 9

Optional Used
CUX0103 qualifier Optional Used

Detail section

Loop: SG28

Segment: LIN - Line item

Reference Element name Requirement Usage
LIN01 line Optional Used
LIN02 lineChangeStatus Optional Used
LIN0301

lineUPC if LIN0302 = AH, AI, AL, AM, AN, UP, UN

lineIdentifier if LIN0302 = BP, GB, SA, SRV, IN, VN, VP, SRV, AU, AV, BH, BI, BP, BQ, CV, GN, GS, IB, IS, MF, MN, MP, SK, SRT, SRU, SS, UA, VN, VP, VS, VX, or ZZZ

Optional Used

Segment: PIA - Additional product ID

Reference Element name Requirement Usage
PIA0201

lineUPC if PIA0202 = AH, AI, AL, AM, AN, UP, UN

lineIdentifier if PIA0202 = BP, GB, SA, SRV, IN, VN, VP, SRV, AU, AV, BH, BI, BP, BQ, CV, GN, GS, IB, IS, MF, MN, MP, SK, SRT, SRU, SS, UA, VN, VP, VS, VX, or ZZZ

Optional Used
PIA0301

lineUPC if PIA0302 = AH, AI, AL, AM, AN, UP, UN

lineIdentifier if PIA0302 = BP, GB, SA, SRV, IN, VN, VP, SRV, AU, AV, BH, BI, BP, BQ, CV, GN, GS, IB, IS, MF, MN, MP, SK, SRT, SRU, SS, UA, VN, VP, VS, VX, or ZZZ

Optional Used
PIA0401

lineUPC if PIA0402 = AH, AI, AL, AM, AN, UP, UN

lineIdentifier if PIA0402 = BP, GB, SA, SRV, IN, VN, VP, SRV, AU, AV, BH, BI, BP, BQ, CV, GN, GS, IB, IS, MF, MN, MP, SK, SRT, SRU, SS, UA, VN, VP, VS, VX, or ZZZ

Optional Used
PIA0501

lineUPC if PIA0502 = AH, AI, AL, AM, AN, UP, UN

lineIdentifier if PIA0502 = BP, GB, SA, SRV, IN, VN, VP, SRV, AU, AV, BH, BI, BP, BQ, CV, GN, GS, IB, IS, MF, MN, MP, SK, SRT, SRU, SS, UA, VN, VP, VS, VX, or ZZZ

Optional Used
PIA0601

lineUPC if PIA0602 = AH, AI, AL, AM, AN, UP, UN

lineIdentifier if PIA0602 = BP, GB, SA, SRV, IN, VN, VP, SRV, AU, AV, BH, BI, BP, BQ, CV, GN, GS, IB, IS, MF, MN, MP, SK, SRT, SRU, SS, UA, VN, VP, VS, VX, or ZZZ

Optional Used

Segment: IMD - Item description

Reference Element name Requirement Usage
IMD0304 lineDescription Optional Used
IMD0305 lineDescription Optional Used

Segment: QTY - Quantity

Reference Element name Requirement Usage
QTY0101 qualifier Optional Not used
QTY0102 lineQuantity if QTY0101 = 21 Optional Used
QTY0103 lineUnits if QTY0101 = 21 Optional Used

Segment: MOA - Monetary amount (SG28)

Reference Element name Requirement Usage
MOA0101 qualifier Optional Used
MOA0102

lineAmount if MOA0101 = 203

lineUnitPrice if MOA0101 = 146

Optional Used
MOA0103 lineCurrency if MOA0101 = 86, 125, 79 Optional Used

Loop: SG33

Segment: PRI - Price details

Reference Element name Requirement Usage
PRI0101 qualifier Optional Used
PRI0102 lineUnitPrice if PRI0101 = AAA or AAB Optional Not used
PRI0105 lineUnitPriceCode Optional Used

Segment: CUX - Currencies (SG33)

Reference Element name Requirement Usage
CUX0101 qualifier Optional Used
CUX0102

lineCurrency if CUX0101 = 2

currency if CUX0103 = 9

Optional Used
CUX0103 qualifier Optional Used

Summary section

Segment: MOA - Monetary amount

Reference Element name Requirement Usage
MOA0101 qualifier Optional Used
MOA0102 lineCurrency if MOA0101 = 86, 125, 79 Optional Used