My Oracle Support Banner

PRC: PO: Draft Purchase Orders Rest API Error-ed "You must provide a value for the PO Accrual Account attribute" (Doc ID 2703546.1)

Last updated on MARCH 14, 2024

Applies to:

Oracle Fusion Purchasing Cloud Service - Version 11.13.20.04.0 and later
Oracle Fusion Purchasing - Version 11.13.19.01.0 and later
Information in this document applies to any platform.

Symptoms

Draft Purchase Orders Rest API Error-ed "You must provide a value for the PO Accrual Account attribute"


While invoking Fusion REST API to Submit draft PO from integration for Approval it fails with error

ERROR

"You must provide a value for PO Charge Account Attribute, PO Accrual Account Attribute and PO Variance Account Attribute." This error prevents us from submitting Draft PO for Approval and Draft PO remains in Incomplete status.


STEPS

The issue can be reproduced at will with the following steps:
Create Purchase Order without requester name
Make sure purchase order is incomplete (draft)
PO Status incomplete, in distribution all 3 accounts (charge, variance and accrual account details exists).

https://test_dev1.fa.us8.oraclecloud.com/fscmRestApi/resources/11.13.18.05/draftPurchaseOrders/<poheaderid>

{
"name": "submit",
"parameters": [
{
"validateBeforeSubmitFlag": "true"
}
]
}

response

Message : "The value of the attribute Bill-to Location isnt valid."
LineNumber : "1", ScheduleNumber : "1", DistributionNumber : "1", Message : "You must provide a value for the PO Accrual Account attribute."
LineNumber : "1", ScheduleNumber : "1", DistributionNumber : "1", Message : "You must provide a value for the PO Charge Account attribute."
LineNumber : "1", ScheduleNumber : "1", DistributionNumber : "1", Message : "You must provide a value for the PO Variance Account attribute."

 



BUSINESS IMPACT

Due to this issue, users not able to validate purchase order

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.