Accept a Purchase Order with Date Changes
When you receive a purchase order acknowledgment, lines that are accepted may also include date changes.
This means the acknowledgment code values on the lines are in the lineAccept code list with a date included and the Promised Ship Date or the Promised Delivery Date field on the PO is updated. The data is mapped as outlined in this table:
Oracle-1-0-B2B-Purchase-Order-Acknowledgment-In-V2 | changePurchaseOrder |
---|---|
B2BPurchaseOrderAcknowledgment/OrderNumber |
OrderNumber |
SoldToLEId This is populated during processing. |
|
This value needs to be in the orderAccept code list. It's used for processing. |
N/A |
B2BPurchaseOrderAcknowledgment/SupplierOrderNumber |
SupplierOrderNumber |
|
ChangeOrderDescription If no reason is passed, this field is populated with Change to the Order. |
ChangeOrderInitiatingParty This is set to SUPPLIER. |
|
PurchaseOrderEntryLine | |
B2BPurchaseOrderAcknowledgment/Lines/LineNumber |
LineNumber |
|
ChangeReason If the |
|
Action When the |
PurchaseOrderEntryLine/PurchaseOrderEntrySchedule Schedule is autogenerated |
|
ScheduleNumber ScheduleNumber is autogenerated |
|
|
ChangeReason If no reason is provided in the payload, this is set to Not provided. |
One of these dates needs to be included if a date change is specified.
or
|
or
If |
|
Action When the |
PurchaseOrderEntryLine/LineFlexfield |
|
b2bProvidedDateNote If If |
|
or
|
b2bProvidedDate If |
Header Flexfield |
|
b2bAckReviewRequired If b2bProvidedDate and b2bProvidedDateNote are populated, then this is set to One or more lines have acknowledgment comments. |
Sample Payload for Accepting a Purchase Order with Date Changes
Here's a sample payload for accepting a purchase order with date changes:
<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:UnitOfMeasureCode>EA</n1:UnitOfMeasureCode>
<n1:UnitPriceAmount>7</n1:UnitPriceAmount>
<n1:Acknowledgments>
<n1:AcknowledgmentCode>ACCEPT</n1:AcknowledgmentCode>
<n1:AcknowledgmentReason>Date Reschedule</n1:AcknowledgmentReason>
<n1:PromisedShipDate>2024-12-17T09:30:47Z</n1:PromisedShipDate>
</n1:Acknowledgments>
</n1:Lines>