DemandFlow Support Centre

MTPLINE: MTP Cost Line

ReferenceEntity Reference16/04/2026Updated 16/04/2026
A single justifiable cost entry on a project within an MTP plan. Source can be a free entry, a resource template, a BOM (exploded into multiple lines sharing sourceParentId), a NWPLAT hardware requirement, a component...

MTPLINE: MTP Cost Line

A single justifiable cost entry on a project within an MTP plan. Source can be a free entry, a resource template, a BOM (exploded into multiple lines sharing sourceParentId), a NWPLAT hardware requirement, a component, or a contract. On plan approval, lines for the approved fiscal year are aggregated into ROADLINEs.

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

Entity properties

PropertyValue
Entity codeMTPLINE
Display nameMTP Cost Line
PluralMTP Cost Lines
Level462

Use cases

sourceParentId groups lines that came from a single BOM/template explosion so they can be deleted or re-expanded together. justification optionally references an INI or NWPLATHWREQ to make the 'why' traceable. month is optional.

Fields

Line

FieldTypeRequiredNotes
yearnumberYesYear
monthnumber1-12. Leave blank to spread evenly across the year.
sourceenumYesSource Valid ids: free (Free entry), rest (Resource Template), bom (BOM), nwplathwreq (NWPLAT Requirement), comp (Component), pcon (Contract).
sourceRefIdtextID of the REST / BOM / NWPLATHWREQ / COMP / PCON this line came from Read only.
sourceParentIdtextShared UUID for lines exploded from the same BOM or template Read only.
descriptiontextDescription

Cost

FieldTypeRequiredNotes
spendTypereference → SPENDSpend Type
vendorreference → VENVendor
qtynumberQty
unitPricenumberUnit Price
amountnumberCalculated: qty × unitPrice Read only.

Justification

FieldTypeRequiredNotes
justificationtext (multi-line)Justification
justifyIniIdreference → INILinked Initiative
justifyNwplatHwReqIdreference → NWPLATHWREQLinked HW Requirement

Relationships

  • Lookups: spendType points at a SPEND record. vendor points at a VEN record. justifyIniId points at a INI record. justifyNwplatHwReqId points at a NWPLATHWREQ record.

Creating a MTP Cost Line via the API

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

{
  "entity":   "MTPLINE",
  "level":    462,
  "comboKey": "SUB:<your-sub-id>|ENT:",
  "year": 1,
  "source": "free",
  "month": 1,
  "sourceRefId": "Example"
}

Listing MTP Cost Lines records

# All mtp cost lines in your tenant
GET /v1/entities/MTPLINE/SUB

See also

mtplinemtpcostlinelinesentity reference

Was this article helpful?

← Back to Knowledge Base