Fusion: CST Create Cost Adjustment Rest API Not Working Properly
(Doc ID 2685342.1)
Last updated on AUGUST 16, 2022
Applies to:
Oracle Fusion Cost Management Cloud Service - Version 11.13.20.04.0 and laterInformation in this document applies to any platform.
Goal
when user using follow payload to create cost adjustment using REST API , some times success, some times failure
URL:https://fa-eofx-dev1-saasfaprod1.fa.ocs.oraclecloud.com/fscmRestApi/resources/11.13.18.05/costAdjustments
HTTP METHOD:POST
Authorization: Basic QVNXSVNFVFVQOndlbGNvbWUxMjM=
body:
{
"AdjustmentTypeCode": "P",
"AdjustmentDate": "2020-06-12T11:53:07+00:00",
"TransactionId": "24203",
"CostDate": "2020-04-30T16:00:00+00:00",
"ReceiptNumber": "",
"CostOrganizationName": "CN_7371_Guangzhou",
"CostBook": "CN AVG Book",
"InventoryOrganizationName": "GWFB黄埔工厂库存组织",
"Item": "110000002",
"Reason": "Cost Variance Adjustment",
"UOMCode": "Cs",
"AdjustmentDetail": [
{
"NewCost": "0",
"CostElement": "Materials"
},
{
"NewCost": "2",
"CostElement": "Water"
},
{
"NewCost": "1",
"CostElement": "Power"
}
]
}
success response:
status code:201 Created
Body:
{
"AdjustmentHeaderId": 7211,
"AdjustmentNumber": "7210",
"AdjustmentTypeCode": "P",
"AdjustmentDate": "2020-06-12T11:53:07+00:00",
"AdjustmentStatusCode": "P",
"ReasonCode": "Cost Variance Adjustment",
......
}
error response:
status code:400 Bad Request
Body:
The value of the attribute Cost Organization Name, Item isn't valid.
Solution
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
Goal |
Solution |
References |