Skip to content

app.org_state_labels

TableRow level security on

An org's display labels for the nine canon record states (Section 4.10). Display only: stored states, transition rules and filters keep the canon value.

Primary key: id

Columns of app.org_state_labels
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.References app.organizations.id
record_statetextNoCanon record state relabeled. Never changes; remove the label and add another instead.References xpms.dim_record_state.record_state
labeltextNoWhat the org's people see instead of the canon name. Unique in the org and never another state's canon name.
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