Skip to content

app.requisitions

TableRow level security on

Staffing requisitions (Section 7.4 People, playbook Staffing Requisition): a request to staff a canon role on a project. Approval runs spend authority for document type Requisition on the estimated spend and is never by the requester. An Approved requisition is what an opportunity publishes (Section 4.2 Opportunities).

Primary key: id

Columns of app.requisitions
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.projects on insert; never accepted from the caller and never changed.References app.organizations.id
project_iduuidNoProject to staff.References app.projects.id
scope_node_iduuidYesScope node of the project the people work, when narrower than the project.References app.scope_nodes.id
budget_line_iduuidYesBudget line the labor spends against; its cost center scopes spend authority and its currency equals the requisition's.References app.budget_lines.id
role_typeapp.external_role_typeYesExternal role type an opportunity published from the requisition seeks; NULL when it is filled internally.
role_codetextNoCanon role to staff (Roles Library, decision D12); the same code engagements and opportunities carry. Its class decides the GL account.References xpms.rate_card.role_code
worker_classificationtextYesCanon worker classification sought, when decided (decision D16).References xpms.rate_card.worker_classification
pay_basistextYesCanon pay basis the rate is per; with the classification, role and arrangement a canon rate card combination.References xpms.pay_basis.label
arrangementtextYesCanon arrangement; NULL exactly when the pay basis is NULL.References xpms.arrangement.label
headcountintegerNoNumber of people to staff.
units_per_headnumericYesPay basis units each person works, for example hours or days; NULL while unknown, which leaves the estimate unpriced.
rate_minorbigintYesBudgeted rate per pay basis unit in minor units; NULL is unpriced and is never approved.
currency_codecharacter(3)NoISO 4217 currency of the rate.References private.currencies.currency_code
starts_ondateYesFirst day of the work.
ends_ondateYesLast day of the work.
justificationtextNoWhy the staff are needed.
requested_byuuidYesPerson who requested, set from the session; they cannot approve it (sod_approval_requester).References app.people.id
requisition_stateapp.requisition_stateNoRequisition state. Changes only through the requisition 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