Create a Inventory Class
  • 06 Jan 2025
  • 4 Minutes to read
  • Dark
    Light

Create a Inventory Class

  • Dark
    Light

Article summary

Post
/ci-rest-api/rest/1/ciclass

Create Inventory Classes

UI Location: ASSET MANAGEMENT - Inventory - Setup - Local Tables - Item Class

Security
HTTP
Type basic

Basic authentication

Header parameters
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourceItem+json
Body parameters
object
Example{ "CiclasVarAccCode": "50720", "CiclasBbPriceOrPctCode": "C", "CiclasLotCtrlFlag": "N", "CiclasRevAccCode": "40015", "CiclasAdjAccCode": "50710", "CiclasCompCode": "001", "CiclasHier": "001 .30 .", "CiclasMsAvailableFlag": "N", "CiclasWriAccCode": "50700", "CiclasSerialFlag": "N", "CiclasCostUpdateLevelCode": "I", "CiclasAutoBuildCmpFlag": "N", "CiclasSellPriceOrPctCode": "C", "CiclasSuspAccCode": "20010", "CiclasClassCode": "30", "CiclasInvAccCode": "17010", "CiclasUsageCode": "N", "CiclasCostMethCode": "AVG", "CiclasVUuid": "" }
CiclasWriAccCode
string Required

Write Off Account Code

💻 UI Fieldname: *Write-Off Account

Max length16
CiclasLotCtrlFlag
string Required

?

Max length1
CiclasSellPriceOrPctCode
string Required

Issue by Price or Percentage (P=Price, C=Percent)

💻 UI Fieldname: *Issue At

Max length1
CiclasCompCode
string Required

Company Code

Max length8
CiclasHier
string Required

CMIC Class Hierachry

Max length127
CiclasRevAccCode
string Required

Revenue Account Code

💻 UI Fieldname: *Internal Issue Rev Acc

Max length16
CiclasSerialFlag
string Required

Indicates that a serial number is required Y/N

💻 UI Fieldname: Serialized

Max length1
CiclasVarAccCode
string Required

Variance Account Code

💻 UI Fieldname: *Variance Account

Max length16
CiclasMsAvailableFlag
string Required

Is the Item Class available for MS system Y/N

Max length1
CiclasBbPriceOrPctCode
string Required

Buy Back Method (P=Price, C=Percent)

💻 UI Fieldname: *Buy-Back At

Max length1
CiclasSuspAccCode
string Required

Suspense Account

💻 UI Fieldname: *Suspense Account

Max length16
CiclasCostMethCode
string Required

Cost Method Code (STD=Standard, AVG=Average, F=Modified FIFO, SF=Stanard FIFO)

💻 UI Fieldname: *Cost Method

Max length3
CiclasVUuid
string Required

uuid column for uk on json webservices

Max length64
CiclasInvAccCode
string Required

Asset Account Code

💻 UI Fieldname: *Inventory Asset Account

Max length16
CiclasClassCode
string Required

Class Code

💻 UI Fieldname: *Class

Max length4
CiclasAutoBuildCmpFlag
string Required

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

💻 UI Fieldname: Auto-Build Composite

Max length1
CiclasCostUpdateLevelCode
string Required

Cost Update Level (I=Inventory, L=Location)

💻 UI Fieldname: *Average Cost Update Level

Max length1
CiclasAdjAccCode
string Required

Adjustment Account Code

💻 UI Fieldname: *Adjustment Account

Max length16
CiclasUsageCode
string Required

"When this item is issued out it is treated as E - an equipemt that is charged out or

Max length1
CiclasDeprExpAccName
string
Max length4000
CiclasSellPrice
number

Default Inventory Sell Price

💻 UI Fieldname: Sell Price

Max length16
CiclasCmpFlag
string

Is the Item a Composite Item Y/N

💻 UI Fieldname: Composite

Max length1
CiclasAffilRevAccCode
string

💻 UI Fieldname: Affiliate Sales Rev Acc

Max length16
CiclasDefaultLocCode
string

Default Location Code

💻 UI Fieldname: Default Location

Max length7
CiclasSoldAtCostAccName
string
Max length4000
CiclasSalesTax2Code
string

Sales Tax Code 2

💻 UI Fieldname: Sales Tax Code2

Max length11
CiclasSalesProductFlag
string

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

💻 UI Fieldname: Sales Code

Max length1
CiclasCustRevAccCode
string

💻 UI Fieldname: Customer Sales Rev Acc

Max length16
CiclasIuUpdateUser
string
Max length30
CiclasWriAccName
string
Max length4000
CiclasCtrlClassCode
string

Controlling Class Code

💻 UI Fieldname: Control Class

Max length4
CiclasAdjAccName
string
Max length4000
CiclasSalesTax3Name
string
Max length4000
CiclasProdFlag
string

Default value for Production flag on the item level

💻 UI Fieldname: Production

Max length1
CiclasSalesTax1Code
string

Sales Tax Code 1

💻 UI Fieldname: Sales Tax Code1

Max length11
CiclasCompName
string
Max length30
CiclasEmCostComponName
string
Max length4000
CiclasTax3Code
string

Purchase tax 3 code

💻 UI Fieldname: Purchasing Tax Code3

Max length11
CiclasCustRevAccName
string
Max length4000
CiclasCreditJcCatName
string
Max length4000
CiclasDefaultLocName
string
Max length60
CiclasAccumDeprAccName
string
Max length4000
CiclasTax1Code
string

Purchase tax 1 code

💻 UI Fieldname: Purchasing Tax Code1

Max length11
CiclasAllowNegQtyFlag
string

Allow negative balances

💻 UI Fieldname: Allow Negative Balance

Max length1
CiclasRowid
string
CiclasDeprExpAccCode
string

?

Max length16
CiclasTax2Code
string

Purchase tax 2 code

💻 UI Fieldname: Purchasing Tax Code2

Max length11
CiclasRtrnFlag
string

Is this item a returnable item Y/N

💻 UI Fieldname: Returnable

Max length1
CiclasClassName
string

Class Name

💻 UI Fieldname: Class Name

Max length30
CiclasTax2Name
string
Max length4000
CiclasTruckClassOraseq
number

Truck/Equipment Class Code Oraseq

CiclasSuspAccName
string
Max length4000
CiclasTax1Name
string
Max length4000
CiclasEmCostComponCode
string

Default EM component code for costing Equipment

💻 UI Fieldname: Equipment Category

Max length8
CiclasTruckClassCode
string
Max length10
CiclasIuCreateDate
string
CiclasRevAccName
string
Max length4000
CiclasInvAccName
string
Max length4000
CiclasIuCreateUser
string
Max length30
CiclasVarAccName
string
Max length4000
CiclasAffilRevAccName
string
Max length4000
CiclasSalesTax2Name
string
Max length4000
CiclasIuUpdateDate
string
CiclasVelocityCode
string

?

Max length1
CiclasAccumDeprAccCode
string

Not Used

Max length16
CiclasSoldAtCostAccCode
string

Cost of Goods Sold Account

💻 UI Fieldname: Cost of Goods Sold Account

Max length16
CiclasCreditJcCatCode
string

💻 UI Fieldname: Prod Credit JC Category

Max length16
CiclasCtrlClassName
string
Max length30
CiclasPartialDasmblFlag
string

If the item is a Composite Item may it be partially dissembled Y/N

💻 UI Fieldname: Partial

Max length1
CiclasTax3Name
string
Max length4000
CiclasSalesTax1Name
string
Max length4000
CiclasSalesTax3Code
string

Sales Tax Code 3

💻 UI Fieldname: Sales Tax Code3

Max length11
CiclasMszpcCode
string
Max length10
Responses
201

Created

Headers
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourceitem+json
{
  "CiclasAccumDeprAccCode": null,
  "CiclasAccumDeprAccName": null,
  "CiclasAdjAccCode": "50710",
  "CiclasAdjAccName": null,
  "CiclasAffilRevAccCode": null,
  "CiclasAffilRevAccName": null,
  "CiclasAllowNegQtyFlag": null,
  "CiclasAutoBuildCmpFlag": "N",
  "CiclasBbPriceOrPctCode": "C",
  "CiclasClassCode": "30",
  "CiclasClassName": null,
  "CiclasCmpFlag": null,
  "CiclasCompCode": "001",
  "CiclasCompName": null,
  "CiclasCostMethCode": "AVG",
  "CiclasCostUpdateLevelCode": "I",
  "CiclasCreditJcCatCode": null,
  "CiclasCreditJcCatName": null,
  "CiclasCtrlClassCode": null,
  "CiclasCtrlClassName": null,
  "CiclasCustRevAccCode": null,
  "CiclasCustRevAccName": null,
  "CiclasDefaultLocCode": null,
  "CiclasDefaultLocName": null,
  "CiclasDeprExpAccCode": null,
  "CiclasDeprExpAccName": null,
  "CiclasEmCostComponCode": null,
  "CiclasEmCostComponName": null,
  "CiclasHier": "001 .30 .",
  "CiclasInvAccCode": "17010",
  "CiclasInvAccName": null,
  "CiclasIuCreateDate": null,
  "CiclasIuCreateUser": null,
  "CiclasIuUpdateDate": null,
  "CiclasIuUpdateUser": null,
  "CiclasLotCtrlFlag": "N",
  "CiclasMsAvailableFlag": "N",
  "CiclasMszpcCode": null,
  "CiclasPartialDasmblFlag": null,
  "CiclasProdFlag": null,
  "CiclasRevAccCode": "40015",
  "CiclasRevAccName": null,
  "CiclasRowid": null,
  "CiclasRtrnFlag": null,
  "CiclasSalesProductFlag": null,
  "CiclasSalesTax1Code": null,
  "CiclasSalesTax1Name": null,
  "CiclasSalesTax2Code": null,
  "CiclasSalesTax2Name": null,
  "CiclasSalesTax3Code": null,
  "CiclasSalesTax3Name": null,
  "CiclasSellPrice": null,
  "CiclasSellPriceOrPctCode": "C",
  "CiclasSerialFlag": "N",
  "CiclasSoldAtCostAccCode": null,
  "CiclasSoldAtCostAccName": null,
  "CiclasSuspAccCode": "20010",
  "CiclasSuspAccName": null,
  "CiclasTax1Code": null,
  "CiclasTax1Name": null,
  "CiclasTax2Code": null,
  "CiclasTax2Name": null,
  "CiclasTax3Code": null,
  "CiclasTax3Name": null,
  "CiclasTruckClassCode": null,
  "CiclasUsageCode": "N",
  "CiclasVUuid": "F28B1857FF8964B1E05316821FAC225F",
  "CiclasVarAccCode": "50720",
  "CiclasVarAccName": null,
  "CiclasVelocityCode": null,
  "CiclasWriAccCode": "50700",
  "CiclasWriAccName": null,
  "links": [
    {
      "rel": "self",
      "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/ci-rest-api/rest/1/ciclass/F28B1857FF8964B1E05316821FAC225F",
      "name": "ciclass",
      "kind": "item"
    },
    {
      "rel": "canonical",
      "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/ci-rest-api/rest/1/ciclass/F28B1857FF8964B1E05316821FAC225F",
      "name": "ciclass",
      "kind": "item"
    }
  ]
}
object