Skip to content

app.rate_card_lines

TableRow level security on

Rates on a rate card. A line names a canon role, classification, pay basis and arrangement (a permitted combination, decision D16) and a canon overtime rule (decision D14); job titles and multipliers are joined, never repeated (decision D12). The rate is Restricted.

Primary key: id

Columns of app.rate_card_lines
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.rate_cards on insert; never accepted from the caller and never changed.References app.organizations.id
rate_card_iduuidNoRate card the line belongs to.References app.rate_cards.id
role_codetextNoCanon role priced (Roles Library).References xpms.role.role_code
worker_classificationtextNoWorker classification priced.References xpms.arrangement_classification.worker_classification
pay_basistextNoPay basis; with the classification a permitted pair.References xpms.pay_basis_classification.pay_basis
arrangementtextNoArrangement; with the classification a permitted pair.References xpms.arrangement_classification.arrangement
canon_rate_card_idtextYesCanon rate card the line was adopted from, when it was.References xpms.rate_card.rate_card_id
overtime_rule_idtextNoCanon overtime rule whose multipliers apply.References xpms.overtime_rule.rule_id
rate_minorbigintYesRate in minor units of the card currency per pay basis unit; NULL is unpriced. Restricted (data.restricted.read.payroll).
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