Skip to content

app.punch_items

TableRow level security on

Punch list items: one Task record of subtype Execute each, with where the item came from and where it is. Title, owner, due date and state are the record's; a punch item closes when its record is Complete.

Primary key: id

Columns of app.punch_items
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.records on insert; never accepted from the caller and never changed.References app.organizations.id
record_iduuidNoThe Task record (subtype Execute) that carries the correction. One punch item per record; never changes.References app.records.id
source_record_iduuidYesRecord the item was raised from, usually an Inspection record of the same project.References app.records.id
inspection_result_iduuidYesFailed inspection result the item corrects. At most one punch item per result.References app.inspection_results.id
zone_iduuidYesZone of the project's venue where the item is.References app.zones.id
site_plan_pin_iduuidYesPin on a site plan of the project marking the item.References app.site_plan_pins.id
location_texttextYesWhere the item is, in words, when no zone or pin says it.
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