FA:SCM:INV : Rest API To Create an Inventory Transaction Giving an Error "The value of the attribute XFR_OWNING_ORGANIZATION_ID/NAME isn't valid." in Response
(Doc ID 3034599.1)
Last updated on JULY 23, 2024
Applies to:
Oracle Fusion Inventory Management Cloud Service - Version 11.13.24.04.0 and laterInformation in this document applies to any platform.
Symptoms
Getting below error while trying to create Miscellaneous Transaction using Rest API
"ErrorCode": "FND_CMN_INVALID_ATTRB_API_SERV",
"ErrorExplanation": "The value of the attribute OWNING_ORGANIZATION_ID/NAME isn't valid.",
The issue can be reproduced at will with the following steps:
1. Prepare Request Body
2. Use endpoint URL : /fscmRestApi/resources/11.13.18.05/inventoryStagedTransactions
3. Post the following request using Postman
{
"SourceCode": "INV",
"ProcessStatus":1,
"SourceHeaderId":100000120240709002,
"SourceLineId": "100000120240709002",
"UseCurrentCostFlag": "true",
"TransactionMode": "1",
"TransactionBatchId": "20240709",
"TransactionTypeName": "Miscellaneous Receipt",
"OrganizationName": "<Organization Name>",
"ItemNumber": "<Item Number>",
"TransactionQuantity": "<Quantity>",
"TransferOwningTpType": "2",
//"TransferOwningOrganizationName": "<Transfer Owning Organization name>",
"TransactionUnitOfMeasure": "3-<UOM>",
"TransactionDate": "2024-07-10T11:19:00",
"SubinventoryCode": "<Sub Inventory Code>",
"SourceLotFlag": "false",
"OwningTpType": "2"
//"OwningOrganizationName": "<Organization Name>"
}
Changes
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 |
Changes |
Cause |
Solution |