DemandFlow Support Centre

COMP: Component

ReferenceEntity Reference16/04/2026Updated 16/04/2026
The COMP entity stores components. Catalogue entry defining a component's OEM specs, part number, pricing, and subcomponent/port templates.

COMP: Component

The COMP entity stores components. Catalogue entry defining a component's OEM specs, part number, pricing, and subcomponent/port templates.

Default definition. This article describes the default COMP definition shipped with DemandFlow. Administrators can add, remove, rename, or re-type fields, change which ones are required, and alter the layout from the Definitions screen in Settings. Your tenant's current schema may differ from what is shown here. To read the current definition at any time, GET the DEFINITION object whose id matches COMP.

Entity properties

PropertyValue
Entity codeCOMP
Display nameComponent
PluralComponents
Level100000

Use cases

COMP is the catalogue side of the catalogue-vs-inventory dual model. It defines WHAT a component IS rather than tracking a specific installed instance (that is COMPINV).

Fields

Basic Information

FieldTypeRequiredNotes
reftextRef. Read-only
nametextYesComponent Name
descriptiontext (multi-line)Description
compStatusenumStatus. Valid ids: Active (Active), Archived (Archived).
partNotextPart number
skutextSKU
pricenumberYesCost
vendorreference → VENYesOEM
classreference → COMPTYPEClassification
spendtypereference → SPENDYesSpend type

Details

FieldTypeRequiredNotes
isAssetbooleanFinance asset
indAssetbooleanIndividual stock
powernumberPower consumption (W)
rackHeightnumberHeight (U)
performancenumberPerformance (GFLOPS)
eosldateEOSL
breakpointstext (multi-line)Breakpoints

Carbon & Sustainability

FieldTypeRequiredNotes
embodiedCarbonKgnumberTotal cradle-to-gate carbon per unit
weeeCategorytextWEEE category. Example: e.g. Cat 3 - IT & telecom
recyclabilityPctnumberPercentage of component weight that is recyclable

Dimensions

FieldTypeRequiredNotes
dimHeightnumberHeight (mm)
dimWidthnumberWidth (mm)
dimDepthnumberDepth (mm)
weightnumberWeight (kg)

Purchase Information

FieldTypeRequiredNotes
purchaseDatedatePurchase Date
inServiceDatedateIn-Service Date
pricenumberPurchase Cost
currencyreference → CURRENCYCurrency
vendorreference → VENVendor
purchaseOrderreference → POPurchase Order
invoiceNumbertextInvoice Number
costCenterreference → COSTCTRCost Center
budgetCodereference → BUDGCODEBudget Code
glAccountreference → GLACCTGL Account

Depreciation Information

FieldTypeRequiredNotes
depreciationMethodenumDepreciation Method. Valid ids: 1 (Straight-line).
usefulLifeMonthsnumberUseful Life (Months)
depreciationStartDatedateDepreciation Start Date
currentNetBookValuenumberCurrent Net Book Value
salvageValuenumberSalvage Value
accumulatedDepreciationnumberAccumulated Depreciation
lastDepreciationDatedateLast Depreciation Date
lastDepreciationAmountnumberLast Depreciation Amount
depreciableValuenumberDepreciable Value

Relationships

  • Lookups: vendor points at a VEN record; class points at a COMPTYPE record; spendtype points at a SPEND record; currency points at a CURRENCY record; vendor points at a VEN record; purchaseOrder points at a PO record; costCenter points at a COSTCTR record; budgetCode points at a BUDGCODE record; glAccount points at a GLACCT record.
  • Related lists: COMPINV (comp), SUBCOMP, COMPPORT.

Creating a Component via the API

POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json

{
  "entity":   "COMP",
  "level":    100000,
  "comboKey": "SUB:<your-sub-id>|ENT:",
  "name":        "Example value",
  "price":       1,
  "vendor":      "",
  "spendtype":   ""
}

Listing Components

GET /v1/entities/COMP/SUB

See also

compcomponentcomponentscatalogue

Was this article helpful?

← Back to Knowledge Base