Quantity Change

If the acknowledgment has an acknowledgment code value that's in the scheduleQuantityChange code list, then the quantity on the purchase order line and schedule are updated.

This table displays the data mapping for quantity change.

changePurchaseOrder

ORACLE_1.0_B2B_PURCHASE_ORDER_ACKNOWLEDGMENT_IN

OrderNumber

B2BPurchaseOrderAcknowledgment/OrderNumber

SoldToLegalEntityId

Note: This is populated during processing.

N/A

N/A

B2BPurchaseOrderAcknowledgment/AcknowledgmentCode

Note: This value needs to be in the orderAccept or orderChange code list, it's used for processing.

ChangeOrderDescription

Note: If the AcknowledgmentReason isn't provided in the payload, then it will be set to Change to the Order.

B2BPurchaseOrderAcknowledgment/AcknowledgmentReason

SupplierOrderNumber

B2BPurchaseOrderAcknowledgment/SupplierOrderNumber

ChangeOrderInitiatingParty

Note: Set to SUPPLIER.

N/A

PurchaseOrderEntryLine

LineNumber

B2BPurchaseOrderAcknowledgment/Lines/LineNumber

Quantity

Note: Quantity provided in the payload must be a non-negative decimal number.

B2BPurchaseOrderAcknowledgment/Lines/Acknowledgments/OrderQuantity

ChangeReason

Note: If AcknowledgmentReason isn't provided in the payload, then this is set to Not Provided.

B2BPurchaseOrderAcknowledgment/Lines/Acknowledgments/AcknowledgmentReason

Action

Note: If the acknowledgment code value is in the scheduleQuantityChange code list then this is set to CHANGE

B2BPurchaseOrderAcknowledgment/Lines/Acknowledgments/AcknowledgmentCode

PurchaseOrderEntryLine/PurchaseOrderEntrySchedule

Note: Schedule is autogenerated.

N/A

ScheduleNumber

Note: This is autogenerated.

N/A

ChangeReason

Note: If AcknowledgmentReason isn't provided in the payload, then this is set to Not Provided.

B2BPurchaseOrderAcknowledgment/Lines/Acknowledgments/AcknowledgmentReason

Quantity

Note: Quantity provided in the payload must be a non-negative decimal number.

B2BPurchaseOrderAcknowledgment/Lines/Acknowledgments/OrderQuantity

Action

Note: If the acknowledgment code value is in the scheduleQuantityChange code list then this is set to CHANGE.

B2BPurchaseOrderAcknowledgment/Lines/Acknowledgments/AcknowledgmentCode

Sample Payload

Here's a sample payload for quantity change:

<n1:Lines>
   <n1:LineNumber>1</n1:LineNumber>
   <n1:SupplierItemNumber>594-379</n1:SupplierItemNumber>
   <n1:CustomerItemNumber>544-589</n1:CustomerItemNumber>
   <n1:OrderQuantity>10</n1:OrderQuantity>
   <n1:UnitOfMeasure>EA</n1:UnitOfMeasure>
   <n1:UnitPriceAmount>7</n1:UnitPriceAmount>
   <n1:Acknowledgments>
      <n1:AcknowledgmentCode>QUANTITYCHANGE</n1:AcknowledgmentCode>
      <n1:AcknowledgmentReason>Line 1-Quantity Change</n1:AcknowledgmentReason><!--This value will be populated in the Change Reason field-->
      <n1:OrderQuantity>7.0</n1:OrderQuantity><!--This value will be populated in the Quantity-->
   </n1:Acknowledgments>
</n1:Lines>