Saltar al contenido

app.change_order_lines

TablaSeguridad a nivel de fila activa

Lines of a change order. A NULL unit price is unpriced; a zero price is stored only when declared no-cost, so an unpriced change order is never stored at zero (invariant 11). Lines change only while the change order is Proposed.

Clave primaria: id

Columnas de app.change_order_lines
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.change_orders on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id
change_order_iduuidNoChange order the line belongs to.Hace referencia a app.change_orders.id
budget_line_iduuidSíBudget line the change adjusts, when it adjusts an existing one.Hace referencia a app.budget_lines.id
descriptiontextNoWhat changes.
uridtextNoDimension 2 discipline or category of the change.
quantitynumericNoQuantity.
unit_price_minorbigintSíUnit price in minor units of the budget currency; NULL is unpriced.
is_no_costbooleanNoTrue when the line is priced at zero on purpose. A zero price without it is refused.
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