app.scan_intake
TablaSeguridad a nivel de fila activa
Scans a device could not resolve on the spot (Section 13): kept with the device time until resolved once through app.resolve_scan_intake as Matched, Created or Dismissed.
Clave primaria: id
| Columna | Tipo | Admite nulos | Descripción |
|---|---|---|---|
| id | uuid | No | Primary key; a client may supply its own UUID so an offline scan is recorded once. |
| 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 scan happened on.Hace referencia a app.projects.id |
| scanned_value | text | No | Decoded value exactly as read. |
| symbology | app.scan_symbology | No | Symbology the scanner decoded. |
| scan_mode | app.scan_mode | No | Asset, Credential, Shipment, Inventory or Lookup. |
| scanned_by | uuid | Sí | Person who scanned, set from the session.Hace referencia a app.people.id |
| device_scanned_at | timestamp with time zone | No | When the device scanned, by its clock. |
| resolved_at | timestamp with time zone | Sí | When the scan was resolved; NULL while open. |
| resolved_by | uuid | Sí | Person who resolved it.Hace referencia a app.people.id |
| resolution | app.scan_resolution | Sí | Matched, Created or Dismissed. |
| resolved_subject_table | text | Sí | Table of the record the scan resolved to, such as asset_units; NULL when dismissed. |
| resolved_subject_id | uuid | Sí | Id of the record the scan resolved to; NULL when dismissed. |
| resolution_note | text | Sí | Why the scan was resolved that way; required when dismissed. |
| 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 |