Cannot Update Quantity Through PO Change API If PO Has Multiple Distributions (Doc ID 316264.1)

Last updated on DECEMBER 19, 2016

Applies to:

Oracle Purchasing - Version 11.5.9 to 11.5.10.4 [Release 11.5]
Information in this document applies to any platform.

Symptoms

When using  API PO_CHANGE_API1_S.UPDATE_PO.
to update the quantity value with a value that is less than the current value,
and the shipment has more than one distribution line, the API returns with a
value of 0, meaning ERROR.

The error message is logged into the PO_INTERFACE_ERRORS table as the following record values:
CHANGEPO
1384
QUANTITY
Cannot update quantity.
Cause: You will not be able to update the quantity for any one or more of the
following reasons:
1. New quantity is less than received quantity.
2. New quantity is less than billed quantity.
3. New quantity is less than delivered quantity.
4. There are multiple distributions and you are reducing the current quantity.
5. Total amount released against the blanket Purchase Order exceeds the amount
agreed.



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms