DemandFlow Support Centre

COSTLINE: Cost Line

ReferenceEntity Reference16/04/2026Updated 16/04/2026
The COSTLINE entity stores cost lines. An individual OPEX cost line item tracking monthly forecast and actual expenditure, linked to a vendor, optional contract, and procurement records.

COSTLINE: Cost Line

The COSTLINE entity stores cost lines. An individual OPEX cost line item tracking monthly forecast and actual expenditure, linked to a vendor, optional contract, and procurement records.

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

Entity properties

PropertyValue
Entity codeCOSTLINE
Display nameCost Line
PluralCost Lines
Level6300

Use cases

COSTLINE is the child entity used by the opextracker row type. Each record represents a single cost line tied to a parent entity (DPLAT, NWPLATINST, etc.) via comboKey.

Fields

Cost Line

FieldTypeRequiredNotes
nametextYesDescription
vendorreference → VENVendor
spendtypereference → SPENDSpend Type
pconreference → PCONContract
supportAgreementreference → SUPAGREEMENTSupport Agreement
prreqreference → PRREQPurchase Requisition
poreference → POPurchase Order

Relationships

  • Lookups: vendor points at a VEN record; spendtype points at a SPEND record; pcon points at a PCON record; supportAgreement points at a SUPAGREEMENT record; prreq points at a PRREQ record; po points at a PO record.

Creating a Cost Line via the API

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

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

Listing Cost Lines

GET /v1/entities/COSTLINE/SUB

See also

costlinecost linecost linescostlinescontractcost

Was this article helpful?

← Back to Knowledge Base