Skip to content

app.scan_intake

TableRow level security on

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.

Primary key: id

Columns of app.scan_intake
ColumnTypeNullableDescription
iduuidNoPrimary key; a client may supply its own UUID so an offline scan is recorded once.
org_iduuidNoOwning org, derived from app.projects on insert; never accepted from the caller and never changed.References app.organizations.id
project_iduuidNoProject the scan happened on.References app.projects.id
scanned_valuetextNoDecoded value exactly as read.
symbologyapp.scan_symbologyNoSymbology the scanner decoded.
scan_modeapp.scan_modeNoAsset, Credential, Shipment, Inventory or Lookup.
scanned_byuuidYesPerson who scanned, set from the session.References app.people.id
device_scanned_attimestamp with time zoneNoWhen the device scanned, by its clock.
resolved_attimestamp with time zoneYesWhen the scan was resolved; NULL while open.
resolved_byuuidYesPerson who resolved it.References app.people.id
resolutionapp.scan_resolutionYesMatched, Created or Dismissed.
resolved_subject_tabletextYesTable of the record the scan resolved to, such as asset_units; NULL when dismissed.
resolved_subject_iduuidYesId of the record the scan resolved to; NULL when dismissed.
resolution_notetextYesWhy the scan was resolved that way; required when dismissed.
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