SCENARIOLINE: Scenario Line
The SCENARIOLINE entity: A single project within a SCENARIO with optional overrides for budget, timeline and priority.
Default definition. This article describes the default
SCENARIOLINE 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 SCENARIOLINE.Entity properties
| Property | Value |
|---|---|
| Entity code | SCENARIOLINE |
| Display name | Scenario Line |
| Plural | Scenario Lines |
| Level | 496 |
Use cases
SCENARIOLINE lives under SCENARIO (comboKey SUB|PORT|SCENARIO|SCENARIOLINE). The `project` lookup always points at a real PJ; `included` + the three `adjusted*` fields are the delta from baseline.
Fields
Project
| Field | Type | Required | Notes |
|---|---|---|---|
project | reference → PJ | Yes | Project |
included | enum | Included in scenario Valid ids: yes (Yes), no (No). | |
notes | text (multi-line) | Notes |
Overrides
| Field | Type | Required | Notes |
|---|---|---|---|
adjustedBudget | number | Override for this scenario; blank means use the real project's budget | |
adjustedStartDate | date | Adjusted Start Date | |
adjustedEndDate | date | Adjusted End Date | |
adjustedPriority | enum | Adjusted Priority Valid ids: critical (Critical), high (High), medium (Medium), low (Low). |
Relationships
- Lookups:
projectpoints at aPJrecord. - Parent: typically a child of
SCENARIOvia comboKey.
Creating a Scenario Line via the API
POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json
{
"entity": "SCENARIOLINE",
"level": 496,
"comboKey": "SUB:|SCENARIO:|ENT:",
"project": "",
"included": "yes",
"notes": "Example Notes",
"adjustedBudget": 1
}
Listing Scenario Lines records
GET /v1/entities/SCENARIOLINE/SUB
GET /v1/entities/SCENARIOLINE/SUB:<your-sub-id>|SCENARIO:<parent-id>