Create an Inventory Item
  • 26 Sep 2024
  • 4 Minutes to read
  • Dark
    Light

Create an Inventory Item

  • Dark
    Light

Article summary

Post
/ci-rest-api/rest/1/ciitem

Create Inventory Items

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{ "CiitemCompCode": "001", "CiitemItemCode": "1262", "CiitemBbPriceOrPctCode": "C", "CiitemWriAccCode": "50700", "CiitemRevAccCode": "40015", "CiitemInvAccCode": "17010", "CiitemSuspAccCode": "17040", "CiitemVarAccCode": "50720", "CiitemItemClassCode": "29", "CiitemCostUpdateLevelCode": "I", "CiitemCostMethCode": "AVG", "CiitemSellPriceOrPctCode": "C", "CiitemAdjAccCode": "50711", "CiitemWmCode": "EA", "CiitemSerialFlag": "N", "CiitemMsAvailableFlag": "N", "CiitemAutoBuildCmpFlag": "N", "CiitemUsageCode": "N", "CiitemAltWmAllowFlag": "N", "CiitemLotCtrlFlag": "N", "CiitemVUuid": "" }
CiitemWriAccCode
string Required

Write-off account. Reference to the ACCOUNT table.

CiitemAltWmAllowFlag
string Required

‘Y’ if alternate unit conversions are enabled. ‘N’ if not.

CiitemCompCode
string Required

Company Code

CiitemRevAccCode
string Required

Revenue account. Reference to the ACCOUNT table.

CiitemAutoBuildCmpFlag
string Required

Flag to indicate if system will auto assemble non-production composite item upon issue posting

CiitemLotCtrlFlag
string Required

‘Y’ or ‘N’. Set this to ‘N’ unless CIITEM_SERIAL_FLAG = ‘Y’ and CIITEM_COST_METH_CODE = ’F’

CiitemUsageCode
string Required

Not used. Set this to ‘N’

CiitemWmCode
string Required

Reference to a weight/measure code defined in WGTMES_TABLE

CiitemItemCode
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.

CiitemInvAccCode
string Required

Inventory account. Reference to the ACCOUNT table.

CiitemCostMethCode
string Required

One of AVG (average cost), SF (standard FIFO), F (modified FIFO) and STD (standard cost). The validation program does not check but this should be the same value as in the item’s class.

CiitemBbPriceOrPctCode
string Required

‘P’ if the buyback price is entered explicitly. ‘C’ if it calculated as a percentage of the cost price.

CiitemSellPriceOrPctCode
string Required

‘P’ if the selling price is entered explicitly, ‘C’ if it calculated as a percentage of the cost price.

CiitemAdjAccCode
string Required

Adjustment account. Reference to the ACCOUNT table.

CiitemSuspAccCode
string Required

Suspense account. Reference to the ACCOUNT table.

CiitemCostUpdateLevelCode
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’).

CiitemMsAvailableFlag
string Required

Is the Item available for MS system Y/N

CiitemVarAccCode
string Required

Variance account. Reference to the ACCOUNT table.

CiitemSerialFlag
string Required

‘Y’ if the item is serialized, ‘N’ if not.

CiitemVUuid
string Required

Unique Row ID

CiitemItemClassCode
string Required

Key value 3; Reference (with CIITEM_COMP_CODE) to a class defined in the CICLASS table.

CiitemTax2Code
string

With CiitemCompCode a reference to ARTAX table

CiitemSuspAccName
string
CiitemSalesTax3Code
string

With CiitemCompCode a reference to ARTAX table

CiitemItemFixedLengthFlag
string
CiitemDefaultLocCode
string

Used in ADF to create default Item Detail right with the insert of Item Master

CiitemAllowNegQtyFlag
string

Allow negative balances

CiitemImageFilename
string

File path to a picture of the item.

CiitemAccumDeprAccCode
string

Accumulated depreciation account. Reference to the ACCOUNT table.

CiitemSoldAtCostAccName
string
CiitemSalesProductFlag
string

Item setup for Sales Product Code Y = Yes N = No

CiitemIuUpdateDate
date
CiitemStdOnhandQty
number

Standard on-hand quantity

CiitemInventoryItemName
string
CiitemVarAccName
string
CiitemMaxOnhandQty
number

Maximum on-hand quantity

CiitemCrtDate
date

Date this record was added

CiitemEmCostComponCode
string

Default EM component code for costing Equipment

CiitemCreditJcCatName
string
CiitemMszpcCode
string
CiitemCustRevAccCode
string

Customer sales revenue account. Reference to the ACCOUNT table.

CiitemItemLengthValue
number
CiitemRevAccName
string
CiitemAccumDeprAccName
string
CiitemTenantId
string
CiitemDeprExpAccCode
string

Depreciation expense account. Reference to the ACCOUNT table.

CiitemProdFlag
string

Default value for Production flag on the item/type level

CiitemRestockPriceAmt
number

Dollar amount that will be added to each unit of this inventory item, when all or a portion of the item is returned.

CiitemSalesTax1Name
string
CiitemCmpFlag
string

‘Y’ if this is a composite item, ‘N’ otherwise

CiitemEmCostComponName
string
CiitemMinOnhandQty
number

Minimum on-hand quantity

CiitemLastModifyDate
date

Date this record was last modified

CiitemDefaultItemTypeCode
string

Used in ADF to create default Item Header right with the insert of Item Master

CiitemTax1Name
string
CiitemTax3Name
string
CiitemSalesTax2Code
string

With CiitemCompCode a reference to ARTAX table

CiitemClassName
string
CiitemMinOrderQty
number

Minimum order quantity

CiitemIuUpdateUser
string
CiitemInventoryItemCode
string

Inventory Item that mapped to the Sales Product Code

CiitemCompName
string
CiitemUsageName
string
CiitemMaxOrderQty
number

Maximum order quantity

CiitemVelocityCode
string

Not used.

CiitemCustRevAccName
string
CiitemTax3Code
string

With CiitemCompCode a reference to ARTAX table

CiitemAffilRevAccCode
string

Affiliate sales revenue account. Reference to the ACCOUNT table.

CiitemCrtUserCode
string

Userid of the person who added the record

CiitemItemDesc
string

Detailed description of the item

CiitemItemName
string

Item name used in most screens and reports

CiitemWmName
string
CiitemCreditJcCatCode
string
CiitemMszpcOraseq
number

Zone Pricing Code Oraseq (key to Zone Pricing Table)

CiitemSalesTax3Name
string
CiitemSellPriceAmt
number

Selling/issue price or percentage. If percentage remember to make it 100+markup.

CiitemCostMethName
string
CiitemPartialDasmblFlag
string

If CIITEM_CMP_FLAG=’Y’ this flag indicates whether the item can be issued only partially assembled. ‘Y’ means it can, ‘N’ means it cannot.

CiitemIuCreateDate
date
CiitemTax1Code
string

With CiitemCompCode a reference to ARTAX table

CiitemSoldAtCostAccCode
string

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

CiitemSellPriceOrPctName
string
CiitemStdOrderQty
number

Standard order quantity

CiitemBuybackPriceAmt
number

Buy back price or percentage. If percentage remember to make it 100+markup.

CiitemRtrnFlag
string

‘Y’ if this item can be returned, ‘N’ otherwise

CiitemLastModifyUserCode
string

Userid of the person who last modified the record

CiitemMarketPriceAmt
number

Market price

CiitemSalesTax2Name
string
CiitemMsptCode
string
CiitemSalesTax1Code
string

With CiitemCompCode a reference to ARTAX table

CiitemAffilRevAccName
string
CiitemDeprExpAccName
string
CiitemTax2Name
string
CiitemWriAccName
string
CiitemCostUpdateLevelName
string
CiitemInvAccName
string
CiitemAdjAccName
string
CiitemBbPriceOrPctName
string
Responses
201

Created

Headers
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourceitem+json
{
  "CiitemAccumDeprAccCode": null,
  "CiitemAccumDeprAccName": null,
  "CiitemAdjAccCode": "50711",
  "CiitemAdjAccName": null,
  "CiitemAffilRevAccCode": null,
  "CiitemAffilRevAccName": null,
  "CiitemAllowNegQtyFlag": null,
  "CiitemAltWmAllowFlag": "N",
  "CiitemAutoBuildCmpFlag": "N",
  "CiitemBbPriceOrPctCode": "C",
  "CiitemBbPriceOrPctName": null,
  "CiitemBuybackPriceAmt": null,
  "CiitemClassName": null,
  "CiitemCmpFlag": null,
  "CiitemCompCode": "001",
  "CiitemCompName": null,
  "CiitemCostMethCode": "AVG",
  "CiitemCostMethName": null,
  "CiitemCostUpdateLevelCode": "I",
  "CiitemCostUpdateLevelName": null,
  "CiitemCreditJcCatCode": null,
  "CiitemCreditJcCatName": null,
  "CiitemCrtDate": null,
  "CiitemCrtUserCode": null,
  "CiitemCustRevAccCode": null,
  "CiitemCustRevAccName": null,
  "CiitemDefaultItemTypeCode": null,
  "CiitemDefaultLocCode": null,
  "CiitemDeprExpAccCode": null,
  "CiitemDeprExpAccName": null,
  "CiitemEmCostComponCode": null,
  "CiitemEmCostComponName": null,
  "CiitemImageFilename": null,
  "CiitemInvAccCode": "17010",
  "CiitemInvAccName": null,
  "CiitemInventoryItemCode": null,
  "CiitemInventoryItemName": null,
  "CiitemItemClassCode": "29",
  "CiitemItemCode": "1262",
  "CiitemItemDesc": null,
  "CiitemItemFixedLengthFlag": null,
  "CiitemItemLengthValue": null,
  "CiitemItemName": null,
  "CiitemIuCreateDate": null,
  "CiitemIuUpdateDate": null,
  "CiitemLastModifyDate": null,
  "CiitemLastModifyUserCode": null,
  "CiitemLotCtrlFlag": "N",
  "CiitemMarketPriceAmt": null,
  "CiitemMaxOnhandQty": null,
  "CiitemMaxOrderQty": null,
  "CiitemMinOnhandQty": null,
  "CiitemMinOrderQty": null,
  "CiitemMsAvailableFlag": "N",
  "CiitemMsptCode": null,
  "CiitemMszpcCode": null,
  "CiitemPartialDasmblFlag": null,
  "CiitemProdFlag": null,
  "CiitemRestockPriceAmt": null,
  "CiitemRevAccCode": "40015",
  "CiitemRevAccName": null,
  "CiitemRtrnFlag": null,
  "CiitemSalesProductFlag": null,
  "CiitemSalesTax1Code": null,
  "CiitemSalesTax1Name": null,
  "CiitemSalesTax2Code": null,
  "CiitemSalesTax2Name": null,
  "CiitemSalesTax3Code": null,
  "CiitemSalesTax3Name": null,
  "CiitemSellPriceAmt": null,
  "CiitemSellPriceOrPctCode": "C",
  "CiitemSellPriceOrPctName": null,
  "CiitemSerialFlag": "N",
  "CiitemSoldAtCostAccCode": null,
  "CiitemSoldAtCostAccName": null,
  "CiitemStdOnhandQty": null,
  "CiitemStdOrderQty": null,
  "CiitemSuspAccCode": "17040",
  "CiitemSuspAccName": null,
  "CiitemTax1Code": null,
  "CiitemTax1Name": null,
  "CiitemTax2Code": null,
  "CiitemTax2Name": null,
  "CiitemTax3Code": null,
  "CiitemTax3Name": null,
  "CiitemUsageCode": "N",
  "CiitemUsageName": null,
  "CiitemVUuid": "F29114ACA41A1C56E05316821FACAC2F",
  "CiitemVarAccCode": "50720",
  "CiitemVarAccName": null,
  "CiitemVelocityCode": null,
  "CiitemWmCode": "EA",
  "CiitemWmName": null,
  "CiitemWriAccCode": "50700",
  "CiitemWriAccName": null,
  "links": [
    {
      "rel": "self",
      "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/ci-rest-api/rest/1/ciitem/F29114ACA41A1C56E05316821FACAC2F",
      "name": "ciitem",
      "kind": "item"
    },
    {
      "rel": "canonical",
      "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/ci-rest-api/rest/1/ciitem/F29114ACA41A1C56E05316821FACAC2F",
      "name": "ciitem",
      "kind": "item"
    }
  ]
}
object