BSO UpdatePurchaseOrder Not Able to Update ContractNum/ContractId on PO Line Linked CPA
(Doc ID 2614700.1)
Last updated on MARCH 15, 2022
Applies to:
Oracle Purchasing - Version 12.1.3 and laterInformation in this document applies to any platform.
Symptoms
On : 12.1.3 version, Purchasing Processes
When attempting to use BSO UpdatePurchaseOrder update standard purchase order line ContractNum/ContractId linked Contract Purchase Agreement (CPA),
the following error occurs.
ERROR
-----------------------
fnd.framework.OAException Line X, Contract (ContractId) XXXXXX cannot be updated.
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
The following scenario demonstrates the bug:
1) Create a Purchase Order in Buyer Work Center. Specify a supplier/supplier site that has an active, valid Contract Purchase Agreement.
2) Create 1 line on the Purchase Order for any amount. Do not to specify a Source Document in Buyer Work Center. Save the PO. Do not approve.
3) Use the updatePurchaseOrder BSO (internal name: /oracle/apps/po/service/PurchaseOrderService) to attempt to specify a Source Document, eg:
<PurchaseOrderService_UpdatePurchaseOrder>
X
XXXXX
XXXXXX
X
N
4) Web Service fails with Line X, Contract (ContractId) XXXXXX cannot be updated
If specifying the the web service fails with the following: Line X, Contract (ContractId) XXXXXX cannot be updated
If specifying the value, the web service does not throw an exception, claims the PO was successfully updated but never actually updates the PO line ContractId.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |