app.submittals
TablaSeguridad a nivel de fila activa
What a vendor submits for review on a project (Section 4.4.4 Vendor): shop drawings, product data, samples, method statements and certificates. Reviewed by someone other than the submitter; files ride on attachments.
Clave primaria: id
| Columna | Tipo | Admite nulos | Descripción |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| org_id | uuid | No | Owning org, derived from app.projects on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id |
| project_id | uuid | No | Project the submittal belongs to.Hace referencia a app.projects.id |
| submittal_number | bigint | No | Number from the project's display key sequence, issued on insert. |
| vendor_id | uuid | No | Vendor submitting.Hace referencia a app.vendors.id |
| purchase_order_id | uuid | Sí | Purchase order of the same project the submittal supports, when there is one.Hace referencia a app.purchase_orders.id |
| submittal_kind | app.submittal_kind | No | What the submittal carries. |
| title | text | No | What is submitted. |
| spec_reference | text | Sí | Specification section or drawing reference the submittal answers. |
| due_on | date | Sí | When the submittal is due for review. |
| revision | integer | No | Revision number: 0 for the first submission, raised on each resubmission after a return. |
| submittal_state | app.review_state | No | Review state. Changes only through app.transition_submittal. |
| decided_by | uuid | Sí | Person who last approved or returned the submittal.Hace referencia a app.people.id |
| decided_at | timestamp with time zone | Sí | When it was last approved or returned. |
| deleted_at | timestamp with time zone | Sí | Soft delete time. A row with deleted_at set is ignored by every access helper. |
| created_at | timestamp with time zone | No | When the row was inserted. Set by the database. |
| created_by | uuid | Sí | Person who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |
| updated_at | timestamp with time zone | No | When the row last changed. Set by the database. |
| updated_by | uuid | Sí | Person who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |