Skip to content

app.shipments

TableRow level security on

Shipments to and from a project's sites.

Primary key: id

Columns of app.shipments
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.projects on insert; never accepted from the caller and never changed.References app.organizations.id
project_iduuidNoProject.References app.projects.id
directionapp.shipment_directionNoInbound or Outbound.
carrier_counterparty_iduuidYesCarrier.References app.counterparties.id
freight_type_enum_idtextYesFreight type: a row of the canon Freight Type enumeration.References xpms.std_enumeration.record_id
tracking_identifiertextYesCarrier tracking number.
ships_attimestamp with time zoneYesWhen it ships.
arrives_attimestamp with time zoneYesWhen it is due to arrive.
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
shipment_numberbigintNoNumber within the project from the record sequence. The display key is {project_key}-{shipment_number}, read through app.shipment_display_key.
uridtextYesURID category the shipment serves (dimension 2), for example 5000.52.01.References xpms.dim_category.cat_urid
descriptiontextYesWhat the shipment carries, in a sentence.
origintextYesWhere the freight ships from, as a locality (Orlando, FL).
sender_counterparty_iduuidYesVendor sending the freight; the carrier is carrier_counterparty_id.References app.counterparties.id
pallet_countintegerYesNumber of pallets.
piece_countintegerYesNumber of pieces.
length_ftnumeric(8,2)YesLength of the load in feet.
width_ftnumeric(8,2)YesWidth of the load in feet.
height_ftnumeric(8,2)YesHeight of the load in feet.
weight_lbnumeric(10,2)YesWeight of the load in pounds.
trailer_licensetextYesLicense plate of the trailer, issued by a motor vehicle authority.
seal_identifiertextYesNumber of the seal applied to the trailer.
bill_of_lading_identifiertextYesBill of lading number issued by the carrier.