Saltar al contenido

app.change_orders

TablaSeguridad a nivel de fila activa

Change orders against a budget. The requester cannot approve (Section 8.2); only a fully priced change order can be approved, and its total is derived, NULL while any line is unpriced (invariant 11).

Clave primaria: id

Columnas de app.change_orders
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.projects on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id
project_iduuidNoProject the change order belongs to.Hace referencia a app.projects.id
budget_iduuidNoBudget of the same project the change order amends.Hace referencia a app.budgets.id
change_order_numberbigintNoNumber from the project's display key sequence, issued on insert.
titletextNoChange order title.
order_type_enum_idtextSíOrder type: a row of the canon Order Type enumeration.Hace referencia a xpms.std_enumeration.record_id
reasontextSíWhy the change is needed.
requested_byuuidSíPerson who requested the change, set from the session.Hace referencia a app.people.id
priced_byuuidSíPerson who priced the change.Hace referencia a app.people.id
change_order_stateapp.change_order_stateNoChange order state. Changes only through the change order RPCs.
deleted_attimestamp with time zoneSíSoft 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_byuuidSíPerson who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidSíPerson who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
schedule_impact_daysintegerSíDays the change moves the schedule; negative when it pulls it in, zero for none.
client_impacttextSíEffect of the change on the client, as stated.