DemandFlow Support Centre

COMPINV: Asset

ReferenceEntity Reference16/04/2026Updated 16/04/2026
The COMPINV entity stores assets. Installed asset instance with serial number, location, financials, virtualization, and related subcomponents/ports.

COMPINV: Asset

The COMPINV entity stores assets. Installed asset instance with serial number, location, financials, virtualization, and related subcomponents/ports.

Default definition. This article describes the default COMPINV 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 COMPINV.

Entity properties

PropertyValue
Entity codeCOMPINV
Display nameAsset
PluralAssets
Level100000

Use cases

COMPINV is the inventory side of the catalogue-vs-inventory dual model (catalogue: COMP, inventory: COMPINV). While COMP defines what a component IS, COMPINV tracks a specific INSTALLED instance with its own serial number, physical location, financial lifecycle, and operational state.

Fields

Basic Information

FieldTypeRequiredNotes
reftextRef. Read-only
compIdreference → COMPLink to the component catalogue entry
nametextYesComponent Name
descriptiontext (multi-line)Description
partNotextPart number
skutextSKU
serialtextSerial number
pricenumberCost. Read-only
vendorreference → VENOEM
classreference → COMPTYPEClassification
typeenumType. Valid ids: Hardware (Hardware), License (License), O&M (O&M), Professional Services (Professional Services), Software (Software), Solution (Solution), Service (Service), 3rd Party (3rd Party).
assetTypeenumAsset Type. Valid ids: 1 (Physical), 2 (Virtual Machine), 3 (Container), 4 (Cloud Instance).

Details

FieldTypeRequiredNotes
stockRecordIdreference → INVSTOCKLinks this asset to its site-level stock record
bomIdreference → BOMThe BOM this asset belongs to. Read-only
perServerQtynumberHow many of this component per kit. Read-only
isAssetbooleanFinance asset
indAssetbooleanIndividual stock
powernumberPower consumption (W)
rackHeightnumberHeight (U)
rackreference → RACKRack where this asset is mounted
uPositionnumberStart position from bottom of rack (U1 = bottom). Leave 0 for side-mounted equipment (e.g. 0U PDUs).
mountPositionenumWhere this 0U equipment is mounted in the rack (side-mount PDUs, cable managers, etc.). Valid ids: 1 (Front Left), 2 (Front Right), 3 (Rear Left), 4 (Rear Right).
physicalSocketsnumberNumber of physical CPU sockets (for license counting)
physicalCoresnumberTotal physical CPU cores across all sockets
hypClusterreference → HYPCLUSTERCluster this host is a member of
maintenanceModebooleanHost is in maintenance mode. VMs migrated off
performancenumberPerformance (GFLOPS)
eosldateEOSL
breakpointstext (multi-line)Breakpoints

Dimensions

FieldTypeRequiredNotes
dimHeightnumberFrom catalogue entry (COMP). Read-only
dimWidthnumberFrom catalogue entry (COMP). Read-only
dimDepthnumberFrom catalogue entry (COMP). Read-only
weightnumberFrom catalogue entry (COMP). Read-only

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
depreciationMethodreference → DEPMETHODDepreciation Method
usefulLifeMonthsnumberUseful Life (Months)
depreciationStartDatedateDepreciation Start Date
currentNetBookValuenumberCurrent Net Book Value
salvageValuenumberSalvage Value
accumulatedDepreciationnumberAccumulated Depreciation
lastDepreciationDatedateLast Depreciation Date
lastDepreciationAmountnumberLast Depreciation Amount
depreciableValuenumberDepreciable Value

Virtual Configuration

FieldTypeRequiredNotes
hypervisorenumHypervisor. Valid ids: 1 (VMware vSphere), 2 (Microsoft Hyper-V), 3 (KVM), 4 (Xen), 5 (Oracle VM), 6 (Proxmox), 7 (Docker), 8 (Kubernetes), 9 (AWS EC2), 10 (Azure VM), 11 (Google Compute), 12 (Other).
hostSystemreference → COMPINVPhysical host or parent VM
vmIdtextHypervisor or cloud instance ID
vmTemplatetextTemplate/Image
vmStateenumVM State. Valid ids: 1 (Running), 2 (Stopped), 3 (Suspended), 4 (Migrating), 5 (Failed), 6 (Unknown).
createdDatedateCreation Date
lastBootTimedateLast Boot Time. Read-only

Resource Allocation

FieldTypeRequiredNotes
vCpuCountnumbervCPUs
vCpuCoresPerSocketnumberCores per Socket
vMemoryGBnumberMemory (GB)
vMemoryReservationGBnumberMemory Reservation (GB)
vStorageGBnumberTotal Storage (GB)
vStorageUsedGBnumberUsed Storage (GB). Read-only
storageTypeenumStorage Type. Valid ids: 1 (Thin Provisioned), 2 (Thick Provisioned), 3 (SSD), 4 (HDD), 5 (NVMe).
vmClusterreference → HYPCLUSTERCluster this VM belongs to
vmResourcePoolreference → RESOURCEPOOLResource pool governing this VM's CPU/memory allocation
vmDatastorereference → DATASTOREPrimary datastore holding this VM's disk files
networkPortGroupreference → VPORTGROUPPrimary virtual network this VM is connected to
nwplatinstreference → NWPLATINSTTelecom platform instance this asset supports
dplatreference → DPLATIT platform instance this asset supports

Audit Assessment

FieldTypeRequiredNotes
auditStatusenumAudit Status. Valid ids: notAssessed (Not Assessed), inUse (In Use), underutilised (Underutilised), idle (Idle), candidateForRemoval (Candidate for Removal), decommissioned (Decommissioned).
auditDatedateAudit Date
auditedByreference → userAudited By
powerStateenumPower State. Valid ids: on (On), off (Off), standby (Standby), unknown (Unknown).
businessOwnerreference → userWho owns or justifies this equipment
businessFunctiontextWhat service or application this equipment supports
replacementCandidatereference → COMPINVNewer equipment that could absorb this workload
removalBlockerstext (multi-line)Why this equipment cannot be removed yet
auditNotestext (multi-line)Auditor observations

Operational Status

FieldTypeRequiredNotes
isPowerDevicebooleanThis is a power infrastructure device (PDU, UPS, etc.)
isActivebooleanEquipment is powered on and in active use
hasTrafficbooleanNetwork traffic is passing through this equipment
cpuUtilisationnumberCurrent CPU utilisation percentage

Port Utilisation

FieldTypeRequiredNotes
activePortCountnumberNumber of ports with link up
totalPortCountnumberTotal physical ports on this equipment

Lifecycle

FieldTypeRequiredNotes
lifecycleStatusenumLifecycle Status. Valid ids: active (Active), deprecated (Deprecated), eol (End of Life), eos (End of Support).

ITAD Disposal

FieldTypeRequiredNotes
itadStatusenumITAD Status. Valid ids: none (N/A), flagged (Flagged for Removal), inWeeeProcess (In WEEE Process), disposedCertified (Disposed & Certified).
itadDatedateDate asset entered ITAD pipeline
itadCertReftextWEEE disposal certificate reference

Contract / Support

FieldTypeRequiredNotes
supportContractEnddateWhen maintenance or support expires
supportVendorreference → VENSupport Vendor
supportContractReftextContract Reference

SNMP / Monitoring

FieldTypeRequiredNotes
snmpLastPolleddateWhen monitoring data was last imported
monitoringPeriodtextPeriod this data covers (e.g. March 2026)
avgTrafficInMbpsnumberAvg Traffic In (Mbps)
avgTrafficOutMbpsnumberAvg Traffic Out (Mbps)
peakTrafficInMbpsnumberPeak Traffic In (Mbps)
peakTrafficOutMbpsnumberPeak Traffic Out (Mbps)
avgCpuPercentnumberAvg CPU (%)
avgMemoryPercentnumberAvg Memory (%)
activeVmCountnumberActive VMs
totalVmCountnumberTotal VMs
uptimeDaysnumberFrom SNMP sysUpTime

Additional panels

  • Dashboard panel attached.

Relationships

  • Lookups: compId points at a COMP record; vendor points at a VEN record; class points at a COMPTYPE record; stockRecordId points at a INVSTOCK record; bomId points at a BOM record; rack points at a RACK record; hypCluster points at a HYPCLUSTER 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; depreciationMethod points at a DEPMETHOD record; hostSystem points at a COMPINV record; vmCluster points at a HYPCLUSTER record; vmResourcePool points at a RESOURCEPOOL record; vmDatastore points at a DATASTORE record; networkPortGroup points at a VPORTGROUP record; nwplatinst points at a NWPLATINST record; dplat points at a DPLAT record; replacementCandidate points at a COMPINV record; supportVendor points at a VEN record.
  • Related lists: COMPINV (host), VMSNAPSHOT (SUB|COMPINV), SUBCOMPINV (SUB|COMPINV), COMPPORTINV (SUB|COMPINV), SOFTWAREINSTALL (objectRef), COMPMON (SUB|COMPINV), AUDITFINDING (asset).

Creating a Asset via the API

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

{
  "entity":   "COMPINV",
  "level":    100000,
  "comboKey": "SUB:<your-sub-id>|ENT:",
  "name":        "Example value",
  "description": "Example value"
}

Listing Assets

GET /v1/entities/COMPINV/SUB

See also

compinvassetassetscomponent

Was this article helpful?

← Back to Knowledge Base