Skip to content

app.engagement_deliverables

TableRow level security on

What an engaged party owes on an engagement (Section 4.4.4 Contractor: deliverables or milestones): a record of the same project, handed in with a document and accepted or returned by the org.

Primary key: id

Columns of app.engagement_deliverables
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.engagements on insert; never accepted from the caller and never changed.References app.organizations.id
engagement_iduuidNoEngagement that owes the deliverable.References app.engagements.id
record_iduuidNoRecord of the engagement's project that names what is owed and when.References app.records.id
document_iduuidYesDocument of the org handed in with the latest submission.References app.documents.id
submission_messagetextYesThe party's message with the latest submission.
submitted_byuuidYesPerson who last submitted, set from the session.References app.people.id
submitted_attimestamp with time zoneYesWhen last submitted.
return_reasontextYesWhy the org returned it, shown to the party; cleared on the next submission.
decided_byuuidYesOrg member who last accepted or returned it, set from the session; never the party.References app.people.id
decided_attimestamp with time zoneYesWhen last accepted or returned.
deliverable_stateapp.deliverable_stateNoDeliverable state. Changes only through the deliverable RPCs.
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id
fee_minorbigintYesAgreed price of the milestone in minor units of the engagement's currency; NULL is unpriced. Fixed once accepted; billed by self-billing.