Create Cost Adjustment using REST API
Dear All,
I am trying to create a cost adjustment using the REST API "/fscmRestApi/resources/11.13.18.05/costAdjustments" with the body:
{
"AdjustmentTypeCode":"P",
"AdjustmentType":"Perpetual",
"AdjustmentStatusCode":"S",
"ReasonCode":"Market Adjustment",
"TransactionId":22006,
"CostOrganizationId":300000004363087,
"CostBookId":300000004169827,
"ItemId":300000006461583,
"InventoryOrganizationId":300000003913689,
"ValuationUnitId":300000005186451,
"TotalUnitCost":130,
"TotalNewCost":65,
"CurrencyCode":"USD",
"Reason":"Market Adjustment",
"UOMName":"Each",
"ReceiptNumber":null
}
I am receiving a success message but in the response, the two fields "TotalUnitCost" and "TotalNewCost" are both equal to 130. Could anyone advice how to fix this issue?
Thank You