Skip to content
forms-raw_singleitemedit-icon
navigation
modification_btn
docs
messages
flatprojectmap.handlebars
Tasks Collection - Costing System
modificationbutton
docs_htmltables.handlebars

Tasks Collection - Costing System

docs_html.handlebars
documentation.handlebars

Tasks Collection

The Tasks collection underpins the costing system by storing detailed records for each discrete unit of work within a project. Tasks capture schedule details, cost estimates and metadata, forming the atomic building block for roll‑up reporting. They are manipulated via the Lynx REST API and CRUD interface.

Purpose

Each document in the tasks collection represents a single component of work—such as an engineering study, design review or management activity—within a broader work package. Tasks support planning, execution and reporting by capturing both schedule details and cost estimates.

Field Summary

The table below summarises key fields in the tasks collection. Required fields must be provided when creating a task; recommended fields add context and should be filled when available.

FieldExampleTypeRequiredDescription
ComponentDetailed Design Phase – Level of effort by PM TeamstringYesDisplay name for the task component.
Component DescriptionPM oversight, coordination and design governancestringRecommendedLong form description clarifying scope and intent.
Component Number008string or integerYesUnique identifier within the parent work package or WBS node.
PhaseDetailed Designstring (enum)YesControlled value indicating the project phase.
Primary DisciplineProject ManagementstringYesLead discipline accountable for the task.
Project AreaProject ManagementstringRecommendedFunctional or physical area within the project.
Project NameVenetia Mine – EPCM Temporary Pumping SystemstringYesClient facing title or short name for the project.
Project NumberITH4319stringYesInternal reference/WBS root for traceability.
SystemProject ManagementstringRecommendedSystem or framework grouping the task.
Task ScheduleObjectobjectOptionalContainer for dates, durations, effort and milestones.
Tasks (Typical)Level of Effortstring or arrayOptionalCommon classification or list of typical sub tasks.

Task Schedule Object

The Task Schedule field standardises time and effort planning. It contains the following properties:

PropertyTypeDescription
start_datestring (ISO 8601)Planned start date (e.g., 2025-09-15).
end_datestring (ISO 8601)Planned finish date; must be greater than or equal to start_date.
duration_daysnumberWorking duration in days; derived or manually set.
effort_hoursnumberEstimated level of effort in hours.
ownerstringAccountable person or role (e.g., “PM”, “Lead Planner”).
dependenciesarray<string>ID codes of prerequisite tasks.
milestonesarray<object>Each item has { id, name, date, notes }.
statusstring (enum)Planned, In Progress, On Hold, Complete or Cancelled.
percent_completenumber (0–100)Progress indicator for reporting and dashboards.

Conventions & Validation Rules

  • Identity: Component Number must be unique within its parent work package or WBS segment.
  • Enumerations: Phase and status use controlled vocabularies; fetch these lists via GET /api/projects/:id/catalogs.
  • Scheduling: When both start_date and end_date are provided, duration_days should equal the working days between them.
  • Integrity: The finish date must not precede the start date; percent_complete must be between 0 and 100.
  • Traceability: Always pair Project Name with Project Number for roll‑up reports.
  • Normalisation: If using Tasks (Typical) as an array, store a consistent list of sub‑tasks (e.g., “Phase planning and coordination”, “Design review workshops”).

Example Task Document

An example task document illustrating these fields and the schedule object:

{
                      "Component": "Detailed Design Phase – Level of effort by PM Team",
                      "Component Description": "PM oversight, coordination, reporting and design governance for the Detailed Design phase.",
                      "Component Number": "008",
                      "Phase": "Detailed Design",
                      "Primary Discipline": "Project Management",
                      "Project Area": "Project Management",
                      "Project Name": "Venetia Mine – EPCM Temporary Pumping System",
                      "Project Number": "ITH4319",
                      "System": "Project Management",
                      "Tasks (Typical)": "Level of Effort",
                      "Task Schedule": {
                        "start_date": "2025-09-15",
                        "end_date": "2025-12-05",
                        "duration_days": 60,
                        "effort_hours": 320,
                        "owner": "PM",
                        "dependencies": ["DD-ENG-006", "HSEC-READ-002"],
                        "milestones": [
                          { "id": "M1", "name": "Design Kickoff", "date": "2025-09-16", "notes": "Stakeholder alignment" },
                          { "id": "M2", "name": "30% Design Review", "date": "2025-10-10" },
                          { "id": "M3", "name": "IFC Readiness", "date": "2025-12-01" }
                        ],
                        "status": "Planned",
                        "percent_complete": 0
                      }
                    }

Typical Sub Tasks

If you store Tasks (Typical) as an array, use it to capture common activities performed during the component. For example:

[
                      "Phase planning and weekly coordination",
                      "Design review workshops (30%/60%/90%)",
                      "Risk log & decision register maintenance",
                      "Cost/schedule reporting (EV, SPI/CPI)",
                      "Interface & change control",
                      "Stakeholder communications"
                    ]

Reporting Keys

Tasks feed multiple dashboards and reports. Useful grouping keys include:

  • Phase × Discipline: Workload and burndown analysis by phase and discipline.
  • Effort vs Duration: Capacity planning based on hours per day.
  • Status & Percent Complete: Governance dashboards and milestone readiness indicators.
  • Project Number: WBS and cost code mapping for roll‑up reporting.

Integration Notes

  1. Store dates in ISO 8601 format and convert to UTC when dealing with times.
  2. Enforce uniqueness of Component Number within a project. You can use a composite key such as {ProjectNumber}:{Phase}:{ComponentNumber}.
  3. Add audit fields (createdAt, updatedAt, createdBy) at the database level and keep them out of user‑editable forms.

This documentation focuses on the structure of the tasks collection. For integration details such as endpoints and UI, see the Task Browser Page and Data Structure documentation.

modal1
modal2
modal3
docs_javascript
new_issue_button.handlebars
shortcut_edit