Saltar al contenido

app.work_orders

TablaSeguridad a nivel de fila activa

Work orders: scoped work put out for bids, awarded to one bid and carried out (Section 4.2 Work). Canceled work orders are retained.

Clave primaria: id

Columnas de app.work_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. Never changes.Hace referencia a app.projects.id
scope_node_iduuidSíScope node of the same project the work sits under.Hace referencia a app.scope_nodes.id
record_iduuidSíRecord of the same project the work order delivers, for example a Build or Task record.Hace referencia a app.records.id
work_order_numberbigintNoSequence number within the project, issued on insert. The display key is {project_key}-WO-{number}, read through app.work_order_display_key.
titletextNoWhat the work is.
scope_of_worktextSíThe scope bidders price, in sentence case.
uridtextSíURID category of the work (dimension 2).Hace referencia a xpms.dim_category.cat_urid
zone_iduuidSíZone where the work happens.Hace referencia a app.zones.id
location_texttextSíWhere the work happens, in words, when no zone says it.
scheduled_starts_attimestamp with time zoneSíPlanned start.
scheduled_ends_attimestamp with time zoneSíPlanned finish; not before the start.
estimated_hoursnumericSíEstimated labor hours; NULL when unestimated.
bid_due_attimestamp with time zoneSíWhen bids are due.
awarded_bid_iduuidSíBid the work order was awarded to. Set only by app.award_work_order.Hace referencia a app.work_order_bids.id
work_order_stateapp.work_order_stateNoLifecycle state. Changes only through app.transition_work_order and app.award_work_order.
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
budget_minorbigintSíBudget for the work in minor units of currency_code; NULL is unbudgeted, never zero.
currency_codecharacter(3)NoISO 4217 currency of the budget; the project's currency when the caller gives none.Hace referencia a private.currencies.currency_code