My Oracle Support Banner

Add Unit Cost to Create Inventory Transactions Rest Web Service (Doc ID 2637479.1)

Last updated on FEBRUARY 21, 2020

Applies to:

Oracle Fusion Inventory Management Cloud Service - Version 11.13.19.10.0 and later
Information in this document applies to any platform.

Goal


Trying to use this web service "https://POD name/fscmRestApi/resources/latest/inventoryTransactions" to create Miscellaneous Receipt transaction. But unable to find the attribute mapping to the unit cost of the transaction. Below is the payload they where cost wasn't there

{
 "transactionLines":[
  {
  "OrganizationId" : 300000001974072,
  "Item" : "101-2739",
  "Subinventory" : "Material",
  "TransactionType" : "Miscellaneous Receipt",
  "TransactionUnitOfMeasure" : "Each",
  "TransactionQuantity" : 19,
  "TransactionUOM": "KG",
  "TransactionDate" : "2020-01-20",
  "DistributionAccountId": 12020
  "lotItemLots": [{
  "LotNumber": "RCV2",
  "TransactionQuantity": 19}]
  }]
}




The below webservice did in fact contain the needed attributes.When checking the completed transactions, the created transactions did not show up. Checked the pending transactions and it wasn't there.



{ "OrganizationName": "Seattle Manufacturing",
"TransactionTypeName": "Miscellaneous Receipt",
"ItemNumber": "RCV-100",
"TransactionQuantity": "10",
"TransactionUnitOfMeasure": "Each",
"TransactionDate": "2018-02-20T01:19:00",
"SubinventoryCode": "Stores" ,
"SourceHeaderId": "1",
"SourceLineId":"1",
"TransactionMode":"3",
"SourceCode":"RS",
"UseCurrentCostFlag":false,
"TransactionCostIdentifier":103,
"costs":
[
{
"CostComponentCode":"NONRECOVERABLE_TAX",
"Cost": "10"
},
{
"CostComponentCode":"ITEM_PRICE",
"Cost": "10"
}
]
}



How to add unit cost to Create Inventory Transactions by using web service?
 

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


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