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:
Oracle-1-0-B2B-Purchase-Order-Acknowlegment-In-V2 |
changePurchaseOrder |
---|---|
B2BPurchaseOrderAcknowledgment/OrderNumber |
OrderNumber |
N/A |
SoldToLegalEntityId This is populated during processing. |
B2BPurchaseOrderAcknowledgment/AcknowledgmentCode This value needs to be in the orderAccept or orderChange code list, it's used for processing. |
N/A |
B2BPurchaseOrderAcknowledgment/AcknowledgmentReason |
ChangeOrderDescription If the AcknowledgmentReason isn't provided in the payload, then it will be set to Change to the Order. |
B2BPurchaseOrderAcknowledgment/SupplierOrderNumber |
SupplierOrderNumber |
N/A |
ChangeOrderInitiatingParty Set to SUPPLIER. |
PurchaseOrderEntryLine |
|
B2BPurchaseOrderAcknowledgment/Lines/LineNumber |
LineNumber |
B2BPurchaseOrderAcknowledgment/Lines/Acknowledgments/OrderQuantity |
Quantity Quantity provided in the payload must be a non-negative decimal number. |
B2BPurchaseOrderAcknowledgment/Lines/Acknowledgments/AcknowledgmentReason |
ChangeReason If AcknowledgmentReason isn't provided in the payload, then this is set to Not Provided. |
B2BPurchaseOrderAcknowledgment/Lines/Acknowledgments/AcknowledgmentCode |
Action If the acknowledgment code value is in the scheduleQuantityChange code list then this is set to CHANGE. |
PurchaseOrderEntryLine/PurchaseOrderEntrySchedule Schedule is autogenerated. |
|
N/A |
ScheduleNumber This is autogenerated. |
B2BPurchaseOrderAcknowledgment/Lines/Acknowledgments/AcknowledgmentReason |
ChangeReason If AcknowledgmentReason isn't provided in the payload, then this is set to Not Provided. |
B2BPurchaseOrderAcknowledgment/Lines/Acknowledgments/OrderQuantity |
Quantity Quantity provided in the payload must be a non-negative decimal number. |
B2BPurchaseOrderAcknowledgment/Lines/Acknowledgments/AcknowledgmentCode |
Action If the acknowledgment code value is in the scheduleQuantityChange code list then this is set to CHANGE. |
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>