Skip to content

app.client_approval_requests

TableRow level security on

Items the org asks its Client party to approve (Section 4.4.4 Client): a change order or a record of the engagement's project. The client decides once; the decision is never changed. One open request per item and engagement.

Primary key: id

Columns of app.client_approval_requests
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_iduuidNoClient engagement asked to approve.References app.engagements.id
subject_kindapp.client_approval_subjectNoChange Order or Record.
change_order_iduuidYesChange order of the same project, for a Change Order request.References app.change_orders.id
record_iduuidYesRecord of the same project, for a Record request.References app.records.id
messagetextYesWhat the org asks, shown to the client.
requested_byuuidYesOrg member who asked, set from the session.References app.people.id
decisionapp.approval_decisionYesApproved or Rejected; NULL while open.
responsetextYesThe client's comment with the decision, shown to the org.
decided_byuuidYesClient person who decided, set from the session.References app.people.id
decided_attimestamp with time zoneYesWhen decided, set by the database.
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