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

Project Collection - Costing System

docs_html.handlebars
documentation.handlebars

Project Collection

The Project collection defines the top‑level scope of work in the ShiftBulk costing system. Each project document encapsulates commercial context—client, currency, governance—and references default catalogues for phases, work types, disciplines and rate cards. Projects serve as the root of the costing hierarchy; areas, systems, work packages and tasks are linked to a project via their projectId.

Purpose

Projects provide a container for all costing activity. They specify the currency in which costs are reported, the governing client or organisation, and the default catalogue IDs used when creating child entities. Selecting a project in the UI determines which tasks, rate cards and reports are loaded.

Fields

FieldTypeDescriptionRequired
codestringShort alphanumeric identifier used in WBS codes and reports.Yes
namestringFull project title displayed in the UI.Yes
clientstringClient or owner organisation commissioning the work.Recommended
currencystring (ISO 4217)Base currency for all cost estimates (e.g., ZAR, USD).Yes
rateCardIdObjectIdReference to the default rate card document.Yes
defaultPhasestringDefault phase applied to new areas, systems and work packages.Optional
defaultWorkTypestringDefault work type applied downstream.Optional
defaultDisciplinestringDefault discipline applied downstream.Optional
descriptionstringLong form description of the project scope and objectives.Optional
statusstring (enum)Lifecycle state: Proposed, Active, Suspended, Complete.Optional
createdAtdateTimestamp when the project was created.Auto
updatedAtdateTimestamp when the project was last modified.Auto

Integration Notes

  • Use a project selector in your UI to drive which tasks, rate cards and catalogues are loaded. All subsequent API calls should include the selected projectId.
  • When a project is created, clone or attach the relevant default catalogues to prevent future changes to global lists from affecting historical projects.
  • Create or update projects via POST /api/projects and PATCH /api/projects/:id. The catalogues endpoint GET /api/projects/:id/catalogs returns the combined phase, work type, discipline and cost type lists scoped to the project.
  • When deleting a project, consider using a soft delete or archive flag instead of a hard delete, since all child areas, systems, work packages and tasks will be orphaned otherwise.

Example Project Document

{
                      "code": "VEN-PUMP",
                      "name": "Venetia Mine – EPCM Temporary Pumping System",
                      "client": "De Beers Consolidated Mines",
                      "currency": "ZAR",
                      "rateCardId": "60d5f9c4b8e2f5001d2c3456",
                      "defaultPhase": "Detailed Design",
                      "defaultWorkType": "Engineering",
                      "defaultDiscipline": "Project Management",
                      "description": "Temporary pumping and dewatering system for Venetia open pit mine.",
                      "status": "Active",
                      "createdAt": "2025-07-01T08:00:00.000Z",
                      "updatedAt": "2025-07-15T10:30:00.000Z"
                    }

For details on how projects integrate with tasks, proposals and the overall costing hierarchy, consult the Costing Data Structure and Tasks Collection documentation.

modal1
modal2
modal3
docs_javascript
new_issue_button.handlebars
shortcut_edit