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

Proposals Collection - Costing System

docs_html.handlebars
documentation.handlebars

Proposals Collection

The Proposals collection manages commercial proposals and budget submissions within the costing system. While tasks and projects capture planning and execution, proposals record the high‑level estimates that are presented to clients or internal stakeholders. Integrating proposals into ShiftBulk allows you to trace estimates back to underlying tasks and compare actuals versus budgets.

Purpose

A proposal document represents a discrete offering for a set of work packages or an entire project. Proposals can be used for internal budgeting, tender responses or contract changes. They reference the project they belong to, include a snapshot of the rate card and costing assumptions at the time of creation, and store metadata such as submission dates and approval status.

Fields

FieldTypeDescriptionRequired
codestringUnique identifier for the proposal (e.g., P 2025 001).Yes
projectIdObjectIdReference to the project this proposal belongs to.Yes
titlestringHuman‑readable title summarising the proposal.Yes
descriptionstringLong form narrative describing the scope and objectives.Optional
estimatenumberTotal proposed value; currency derived from the project.Yes
statusstring (enum)Current state: Draft, Submitted, Approved, Rejected, Cancelled.Yes
submissionDatedateDate the proposal was formally submitted.Optional
approvalDatedateDate the proposal was approved or rejected.Optional
assumptionsstringKey commercial or technical assumptions underlying the estimate.Optional
rateCardSnapshotobjectA copy of the rate card used when the proposal was created; ensures historical consistency.Optional
versionintegerSequential version number for tracking revisions.Optional
createdAtdateTimestamp when the proposal was created.Auto
updatedAtdateTimestamp when the proposal was last modified.Auto

Integration Notes

  • Create proposals via POST /api/proposals and update them using PATCH /api/proposals/:id. When creating a proposal, derive the estimate from the roll‑up of selected tasks.
  • When a proposal is approved, lock the associated tasks or snapshot their totals. This baseline can later be compared against actual costs.
  • Use the status field to drive business workflows. For example, hide draft proposals from client views and only allow approval actions on submitted proposals.
  • Store a rateCardSnapshot or reference within the proposal to ensure that cost calculations remain consistent with the assumptions made during submission.
  • Link proposals back to the underlying tasks via projectId and the list of included work packages. This enables reporting on forecasted versus actual costs.

Example Proposal Document

The following example shows a typical proposal document:

{
                      "code": "P 2025 001",
                      "projectId": "60d5f9c4b8e2f5001d2c3456",
                      "title": "Temporary Pumping System Design & Construction",
                      "description": "Bid for the design and installation of a temporary pumping and dewatering system.",
                      "estimate": 12500000,
                      "status": "Submitted",
                      "submissionDate": "2025-07-20T00:00:00.000Z",
                      "assumptions": "Pricing based on standard rate card, excluding contingency",
                      "rateCardSnapshot": {
                        "currency": "ZAR",
                        "roles": [
                          { "role": "Project Manager", "discipline": "PM", "unit": "hr", "rate": 1650 },
                          { "role": "Senior Mechanical Engineer", "discipline": "Mechanical", "unit": "hr", "rate": 1350 }
                        ]
                      },
                      "version": 1,
                      "createdAt": "2025-07-15T10:00:00.000Z",
                      "updatedAt": "2025-07-20T08:30:00.000Z"
                    }

This documentation focuses on the schema and integration considerations for proposals. For UI examples and API references, consult the Costing System Landing Page and Plugin Summary documents.

modal1
modal2
modal3
docs_javascript
new_issue_button.handlebars
shortcut_edit