Skip to content
forms-raw_singleitemedit-icon
navigation
modification_btn
docs
messages
flatprojectmap.handlebars
Costing Data Structure
modificationbutton
docs_htmltables.handlebars

Costing Data Structure

docs_html.handlebars
documentation.handlebars
document "Engineering Project Costing – Data Structure & System" { description: "Integrated costing data structure for ShiftBulk + Lynx plugin. Explains hierarchy, catalogues, task economics, schemas, API, UI wiring, governance, and quick start." stack: ["Node.js", "Express", "MongoDB", "Bootstrap", "Handsontable"] section "1 – Hierarchical Levels" { summary: "Defines hierarchy of tasks → work packages → systems → areas → projects. Each is a MongoDB collection with consistent roll-ups." details: [ "Task is foundation with schedule grid and cost computations", "Server recomputes totals for aggregation consistency" ] } section "2 – Cross-Cutting Catalogues" { summary: "Controlled vocabularies shared across all projects/tasks" api: "GET /api/projects/:id/catalogs" usage: "Attach defaults on project creation, returned for dropdowns" } section "3 – Task Economics" { summary: "Tasks contain schedule, labour & non-labour costs, computed totals" operations: [ "POST /api/tasks", "PATCH /api/tasks/:id", "POST /api/tasks/:id/recalc" ] note: "UI may show interim totals, but API is authoritative" } section "4 – Minimal Schemas" { schema "Task" { projectId areaId systemId workPackageId code title description phase workType discipline schedule { periodUnit: "W" headerLabel: "Hours per Week" duration teamRateUnit: "R/hr" data: "2D matrix" } costItems: [ { type, description, qty, unit, unitRate, total } ] totals { labourHours labourCost nonLabourCost overhead contingency margin grandTotal } status attachments: [] audit { createdBy, createdAt, updatedBy, updatedAt } } schema "Work Package / Area / System" { code name projectId areaId? systemId? phase workType discipline tags: [] metadata: {} } } section "5 – API Surface" { summary: "REST endpoints mirror collections" example: "Integrate via /api/tasks, /api/projects, etc." } section "6 – UI Wiring" { summary: "Frontend integrates costing system with dropdowns, grids, and forms" note: "Static examples; requires client-side logic" } section "7 – Governance & Traceability" { summary: "Supports cost control, auditing, baselines, attachments, and variance tracking" features: [ "Baseline snapshots", "Audit fields", "Linked attachments" ] } section "8 – Quick Start" { summary: "Focuses on structure and API interfaces; UI is illustrative only" } }
modal1
modal2
modal3
docs_javascript
new_issue_button.handlebars
shortcut_edit