Create a Inventory Item Detail
  • 06 Jan 2025
  • 1 Minute to read
  • Dark
    Light

Create a Inventory Item Detail

  • Dark
    Light

Article summary

Post
/ci-rest-api/rest/1/ciitemdetail

Create Inventory Item Details

UI Location: ASSET MANAGEMENT - Inventory - Setup - Item Master

Security
HTTP
Type basic

Basic authentication

Header parameters
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourceItem+json
Body parameters
object
Example{ "CitemdCompCode": "001", "CitemdItemCode": "1261", "CitemdItemTypeCode": "MA", "CitemdLocCode": "MAIN", "CitemdCostUpdateLevelCode": "I", "CitemdRevAccCode": "40015", "CitemdVarAccCode": "50720", "CitemdSuspAccCode": "20010", "CitemdWriAccCode": "50700", "CitemdInvAccCode": "17010", "CitemdAdjAccCode": "50710", "CitemdSoldAtCostAccCode": "50600", "CitemdAffilRevAccCode": "40015", "CitemdCustRevAccCode": "40015", "CitemdSerialFlag": "N", "CitemdLotCtrlFlag": "N", "CitemdMsAvailableFlag": "N", "CitemdUsageCode": "N", "CitemdVUuid": "" }
CitemdVUuid
string Required

Unique Row ID, leave blank

šŸ’» UI Fieldname: CitemdVUuid

Max length64
CitemdItemTypeCode
string Required

Key Value 3; Reference (with CITEMD_COMP_CODE) to the CIITEMTYPE table.

šŸ’» UI Fieldname: CitemdItemTypeCode

Max length2
CitemdAffilRevAccCode
string Required

Affiliate sales revenue account. Reference to the ACCOUNT table.

šŸ’» UI Fieldname: CitemdAffilRevAccCode

Max length16
CitemdCostUpdateLevelCode
string Required

If using the Average Cost method of inventory valuation, specify whether to update the average cost of this inventory item by the total inventory (ā€˜Iā€™), or by the inventory within a specified location (ā€˜Lā€™).

šŸ’» UI Fieldname: CitemdCostUpdateLevelCode

Max length1
CitemdRevAccCode
string Required

Revenue account. Reference to the ACCOUNT table.

šŸ’» UI Fieldname: CitemdRevAccCode

Max length16
CitemdItemCode
string Required

Key value 2; Inventory item code or number. If the fixed length flag is set in the control file, this code must be of the length specified in the control file.

šŸ’» UI Fieldname: CitemdItemCode

Max length16
CitemdLocCode
string Required

Location code where this item is stored. Reference (with CITEMD_COMP_CODE) to the CILOCATION table.

šŸ’» UI Fieldname: CitemdLocCode

Max length7
CitemdSoldAtCostAccCode
string Required

Cost of goods sold account. Reference to the ACCOUNT table.

šŸ’» UI Fieldname: CitemdSoldAtCostAccCode

Max length16
CitemdSuspAccCode
string Required

Suspense account. Reference to the ACCOUNT table.

šŸ’» UI Fieldname: CitemdSuspAccCode

Max length16
CitemdWriAccCode
string Required

Write-off account. Reference to the ACCOUNT table.

šŸ’» UI Fieldname: CitemdWriAccCode

Max length16
CitemdVarAccCode
string Required

Variance account. Reference to the ACCOUNT table.

šŸ’» UI Fieldname: CitemdVarAccCode

Max length16
CitemdMsAvailableFlag
string Required

šŸ’» UI Fieldname: CitemdMsAvailableFlag

Max length1
CitemdUsageCode
string Required

Not used. Set this to ā€˜Nā€™

šŸ’» UI Fieldname: CitemdUsageCode

Max length1
CitemdCompCode
string Required

Key value 1; Company code

šŸ’» UI Fieldname: CitemdCompCode

Max length8
CitemdInvAccCode
string Required

Inventory account. Reference to the ACCOUNT table.

šŸ’» UI Fieldname: CitemdInvAccCode

Max length16
CitemdLotCtrlFlag
string Required

ā€˜Yā€™ or ā€˜Nā€™. Set this to ā€˜Nā€™ unless CITEMD_SERIAL_FLAG = ā€˜Yā€™ and CITEMD_COST_METH_CODE = ā€™Fā€™

šŸ’» UI Fieldname: CitemdLotCtrlFlag

Max length1
CitemdCustRevAccCode
string Required

Customer sales revenue account. Reference to the ACCOUNT table.

šŸ’» UI Fieldname: CitemdCustRevAccCode

Max length16
CitemdSerialFlag
string Required

šŸ’» UI Fieldname: CitemdSerialFlag

Max length1
CitemdAdjAccCode
string Required

Adjustment account. Reference to the ACCOUNT table.

šŸ’» UI Fieldname: CitemdAdjAccCode

Max length16
Responses
201

Successful response