Price Change
If an acknowledgment has an acknowledgment code value present in the linePriceChange list, then only the price is updated on the purchase order line.
This table displays the data mapping for price 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. This value is used in processing. |
N/A |
B2BPurchaseOrderAcknowledgement/AcknowledgmentReason |
ChangeOrderDescription If the AcknowledgmentReason isn't provided in the payload, then it will be set to Change to the Order. |
B2BPurchaseOrderAcknowledgement/SupplierOrderNumber |
SupplierOrderNumber |
N/A |
ChangeOrderInitiatingParty Set to Supplier. |
PurchaseOrderEntryLine |
|
B2BPurchaseOrderAcknowledgment/Lines/LineNumber |
LineNumber |
B2BPurchaseOrderAcknowledgment/Lines/Acknowledgement/UnitPriceAmount |
Price |
B2BPurchaseOrderAcknowledgment/Lines/Acknowledgement/AcknowledgementReason |
ChangeReason If the AcknowledgementReason isn't provided in the payload, then this is set to Not Provided. |
B2BPurchaseOrderAcknowledgment/Lines/Acknowledgments/AcknowledgementCode |
Action When the AcknowledgmentCode value is in the linePriceChange code list, this is set to CHANGE. |
Sample Payload
Here's a sample payload for price change:
<n1:Lines>
<n1:LineNumber>1</n1:LineNumber>
<n1:SupplierItemNumber>875-351</n1:SupplierItemNumber>
<n1:CustomerItemNumber>851-358</n1:CustomerItemNumber>
<n1:OrderQuantity>10</n1:OrderQuantity>
<n1:UnitOfMeasureCode>EA</n1:UnitOfMeasureCode>
<n1:UnitPriceAmount>7</n1:UnitPriceAmount>
<n1:Acknowledgments>
<n1:AcknowledgmentCode>PRICECHANGE</n1:AcknowledgmentCode>
<n1:AcknowledgmentReason>Line 1-Price Change</n1:AcknowledgmentReason><!--This value will be populated in the Change Reason field-->
<n1:UnitPriceAmount>9.70</n1:UnitPriceAmount><!--This value will be populated in Price field-->
</n1:Acknowledgments>
</n1:Lines>