Account Alias Receipt transaction in Inventory using RestAPI
Summary:
Content (please ensure you mask any confidential information):
RestAPI is throwing an error while using UseCurrentCostFlag as false when creating Account Alias Receipt transaction in Inventory
Error : You must enter the UseCurrentCostFlag attribute.
Attribute ExternalSystemRefId in StagedInventoryTransactionCostEO is required.
Version (include the version you are using, if applicable):
11.13.18.05
Code Snippet (add any code snippets that support your topic, if applicable):
We tried the below payload , it's not working:
POST : fscmRestApi/resources/11.13.18.05/inventoryStagedTransactions
{
"OrganizationName": "****",
"ItemNumber": "XXXX",
"SubinventoryCode":"****",
"LocatorName" : "XXXX",
"TransactionTypeId":"41",
"TransactionSourceTypeId": "6",
"TransactionActionId": "27",
"TransactionTypeName":"Account Alias Receipt",
"TransactionUnitOfMeasure":"Each",
"TransactionQuantity":"5",
"PrimaryQuantity": "5",
"TransactionDate": "2023-11-16T06:01:00+00:00",
"SourceHeaderId": "1",
"SourceLineId": "1",
"TransactionMode":"3",
"SourceCode" :"DEFAULT",