Update Vendor Orders status operation
Update Vendor Orders status operation for item receive qty updates.
This commit is contained in:
parent
c4cb558cf1
commit
decb94d46d
|
@ -1568,7 +1568,6 @@
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/SubmitAcknowledgementRequest",
|
"$ref": "#/definitions/SubmitAcknowledgementRequest",
|
||||||
"example": {
|
"example": {
|
||||||
"payload": {
|
|
||||||
"acknowledgements": [
|
"acknowledgements": [
|
||||||
{
|
{
|
||||||
"purchaseOrderNumber": "L8266355",
|
"purchaseOrderNumber": "L8266355",
|
||||||
|
@ -1587,7 +1586,7 @@
|
||||||
},
|
},
|
||||||
"netCost": {
|
"netCost": {
|
||||||
"currencyCode": "USD",
|
"currencyCode": "USD",
|
||||||
"amount": "10.2"
|
"amount": "18.0"
|
||||||
},
|
},
|
||||||
"listPrice": {
|
"listPrice": {
|
||||||
"currencyCode": "USD",
|
"currencyCode": "USD",
|
||||||
|
@ -1614,7 +1613,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"responses": {
|
"responses": {
|
||||||
"202": {
|
"202": {
|
||||||
|
@ -1968,7 +1966,7 @@
|
||||||
{
|
{
|
||||||
"name": "itemConfirmationStatus",
|
"name": "itemConfirmationStatus",
|
||||||
"in": "query",
|
"in": "query",
|
||||||
"description": "Filters purchase orders based on the specified purchase order item status. If not included in filter, purchase orders for all statuses are included.",
|
"description": "Filters purchase orders based on their item confirmation status. If the item confirmation status is not included in the filter, purchase orders for all confirmation statuses are included.",
|
||||||
"required": false,
|
"required": false,
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
|
@ -1980,19 +1978,45 @@
|
||||||
"x-docgen-enum-table-extension": [
|
"x-docgen-enum-table-extension": [
|
||||||
{
|
{
|
||||||
"value": "ACCEPTED",
|
"value": "ACCEPTED",
|
||||||
"description": "Status for orders accepted by vendors."
|
"description": "Provides a list of orders that has at least one item fully accepted by vendors."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"value": "PARTIALLY_ACCEPTED",
|
"value": "PARTIALLY_ACCEPTED",
|
||||||
"description": "Status for orders that are partially accepted by vendors."
|
"description": "Provides a list of orders that has at least one item partially accepted by vendors."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"value": "REJECTED",
|
"value": "REJECTED",
|
||||||
"description": "Status for orders that are rejected by vendors."
|
"description": "Provides a list of orders that has at least one item rejected by vendors."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"value": "UNCONFIRMED",
|
"value": "UNCONFIRMED",
|
||||||
"description": "Status for orders that are yet to be confirmed by vendors."
|
"description": "Provides a list of orders that has at least one item yet to be confirmed by vendors."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "itemReceiveStatus",
|
||||||
|
"in": "query",
|
||||||
|
"description": "Filters purchase orders based on the purchase order's item receive status. If the item receive status is not included in the filter, purchase orders for all receive statuses are included.",
|
||||||
|
"required": false,
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"NOT_RECEIVED",
|
||||||
|
"PARTIALLY_RECEIVED",
|
||||||
|
"RECEIVED"
|
||||||
|
],
|
||||||
|
"x-docgen-enum-table-extension": [
|
||||||
|
{
|
||||||
|
"value": "NOT_RECEIVED",
|
||||||
|
"description": "Provides a list of orders that have at least one item not received by the buyer."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"value": "PARTIALLY_RECEIVED",
|
||||||
|
"description": "Provides a list of orders that have at least one item not received by the buyer."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"value": "RECEIVED",
|
||||||
|
"description": "Provides a list of orders that have at least one item fully received by the buyer."
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -2117,6 +2141,15 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"receivingStatus": {
|
||||||
|
"receiveStatus": "RECEIVED",
|
||||||
|
"receivedQuantity": {
|
||||||
|
"amount": 1,
|
||||||
|
"unitOfMeasure": "Cases",
|
||||||
|
"unitSize": 1
|
||||||
|
},
|
||||||
|
"lastReceiveDate": "2020-08-28T21:06:23.193Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -2183,6 +2216,15 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"receivingStatus": {
|
||||||
|
"receiveStatus": "PARTIALLY_RECEIVED",
|
||||||
|
"receivedQuantity": {
|
||||||
|
"amount": 10,
|
||||||
|
"unitOfMeasure": "Eaches",
|
||||||
|
"unitSize": 1
|
||||||
|
},
|
||||||
|
"lastReceiveDate": "2020-08-30T21:05:58.193Z"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -2236,6 +2278,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"receivingStatus": {
|
||||||
|
"receiveStatus": "NOT_RECEIVED",
|
||||||
|
"receivedQuantity": {
|
||||||
|
"amount": 0,
|
||||||
|
"unitOfMeasure": "Eaches",
|
||||||
|
"unitSize": 1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -2308,6 +2358,14 @@
|
||||||
"unitOfMeasure": "Eaches",
|
"unitOfMeasure": "Eaches",
|
||||||
"unitSize": 1
|
"unitSize": 1
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"receivingStatus": {
|
||||||
|
"receiveStatus": "NOT_RECEIVED",
|
||||||
|
"receivedQuantity": {
|
||||||
|
"amount": 0,
|
||||||
|
"unitOfMeasure": "Eaches",
|
||||||
|
"unitSize": 1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -2389,6 +2447,14 @@
|
||||||
"unitOfMeasure": "Eaches",
|
"unitOfMeasure": "Eaches",
|
||||||
"unitSize": 1
|
"unitSize": 1
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"receivingStatus": {
|
||||||
|
"receiveStatus": "NOT_RECEIVED",
|
||||||
|
"receivedQuantity": {
|
||||||
|
"amount": 0,
|
||||||
|
"unitOfMeasure": "Eaches",
|
||||||
|
"unitSize": 1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -2454,6 +2520,14 @@
|
||||||
"unitOfMeasure": "Eaches",
|
"unitOfMeasure": "Eaches",
|
||||||
"unitSize": 1
|
"unitSize": 1
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"receivingStatus": {
|
||||||
|
"receiveStatus": "NOT_RECEIVED",
|
||||||
|
"receivedQuantity": {
|
||||||
|
"amount": 0,
|
||||||
|
"unitOfMeasure": "Eaches",
|
||||||
|
"unitSize": 1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -2522,6 +2596,14 @@
|
||||||
"unitOfMeasure": "Eaches",
|
"unitOfMeasure": "Eaches",
|
||||||
"unitSize": 1
|
"unitSize": 1
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"receivingStatus": {
|
||||||
|
"receiveStatus": "NOT_RECEIVED",
|
||||||
|
"receivedQuantity": {
|
||||||
|
"amount": 0,
|
||||||
|
"unitOfMeasure": "Eaches",
|
||||||
|
"unitSize": 1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -2587,6 +2669,14 @@
|
||||||
"unitOfMeasure": "Eaches",
|
"unitOfMeasure": "Eaches",
|
||||||
"unitSize": 1
|
"unitSize": 1
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"receivingStatus": {
|
||||||
|
"receiveStatus": "NOT_RECEIVED",
|
||||||
|
"receivedQuantity": {
|
||||||
|
"amount": 0,
|
||||||
|
"unitOfMeasure": "Eaches",
|
||||||
|
"unitSize": 1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -3312,7 +3402,6 @@
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": [
|
"required": [
|
||||||
"itemAcknowledgements",
|
"itemAcknowledgements",
|
||||||
"netCost",
|
|
||||||
"orderedQuantity"
|
"orderedQuantity"
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -3638,6 +3727,44 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"receivingStatus": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "Item receive status at the buyer's warehouse.",
|
||||||
|
"properties": {
|
||||||
|
"receiveStatus": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Receive status of the line item.",
|
||||||
|
"enum": [
|
||||||
|
"NOT_RECEIVED",
|
||||||
|
"PARTIALLY_RECEIVED",
|
||||||
|
"RECEIVED"
|
||||||
|
],
|
||||||
|
"x-docgen-enum-table-extension": [
|
||||||
|
{
|
||||||
|
"value": "NOT_RECEIVED",
|
||||||
|
"description": "The buyer has not received any of the item."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"value": "PARTIALLY_RECEIVE",
|
||||||
|
"description": "The buyer has received some of the item and is expecting to receive the rest of the confirmed quantity."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"value": "RECEIVED",
|
||||||
|
"description": "Receiving is complete. The buyer has received all confirmed items."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"receivedQuantity": {
|
||||||
|
"description": "The total item quantity received by the buyer so far.",
|
||||||
|
"$ref": "#/definitions/ItemQuantity"
|
||||||
|
},
|
||||||
|
"lastReceiveDate": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "date-time",
|
||||||
|
"description": "The date when the most recent item was received at the buyer's warehouse. Must be in ISO-8601 date/time format."
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue