Table
WHSBillOfLading
Bill of lading
Header records for bills of lading, identified by the bill of lading ID. Each one can hold carrier, customer, warehouse, shipment and address details, plus freight terms, seal and trailer information. A bill can point to a master bill of lading.
- Table name
WHSBillOfLading- Module
Inventory- Table group
TransactionHeader- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
None- Replacement key
BillOfLadingIdIdx- Key fields
BillOfLadingId- Model
Foundation
Fields (28)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BillOfLadingIdUnique ID of the bill of lading. | String (25)WHSBillOfLadingId | Yes | None | |
CarrierCodeShipping carrier, pointing to the carrier record. | String (20)TMSCarrierCode | No | TMSCarrier.CarrierCode | None |
CarrierNameName of the carrier. | String (60)TMSName | No | None | |
CarrierServiceCodeService of the carrier, pointing to the carrier service record. | String (20)TMSCarrierServiceCode | No | TMSCarrierService.CarrierServiceCode | None |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CustAccountCustomer account, pointing to the customer record. | String (20)CustAccount | No | CustTable.AccountNum | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeliveryPostalAddressDelivery address, pointing to a postal address record. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | None |
FreightChargeTermsFreight charge terms, such as Prepaid, Collect, Third party, No freight or Consignee. | EnumWMSFreightChargeTerms (enum) | No | None | |
FreightCountedShows who counted the freight, for example the shipper or the driver. | EnumWMSFreightCounted (enum) | No | None | |
InventLocationIdWarehouse, pointing to the warehouse record. | StringInventLocationId | No | InventLocation.InventLocationId | None |
MasterBillOfLadingIdID of the master bill of lading that this bill refers to. | String (25)WHSBillOfLadingId | No | WHSBillOfLading.BillOfLadingId | None |
MasterBOLFlagYes or no value showing whether this is a master bill of lading. | EnumNoYes (enum) | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
NotesFree text note. | String (-1)Notes | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProNumPro number of the shipment. | String (25)WHSProNum | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SCACStandard carrier alpha code of the carrier. | String (20)TMSSCAC | No | None | |
SealNumSeal numbers on the load. | String (50)WHSSealNum | No | None | |
ShipmentIdShipment, pointing to the shipment record. | String (20)WHSShipmentId | Yes | WHSShipmentTable.ShipmentId | None |
ShippingPostalAddressShip from address, pointing to a postal address record. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | None |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ThirdPartyPostalAddressAddress of the third party, pointing to a postal address record. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | None |
TrailerLoadedShows who loaded the trailer: the shipper or the driver. | EnumWMSTrailerLoaded (enum) | No | None | |
TrailerNumberNumber of the trailer. | String (30)WHSTrailerNumber | No | None |
Indexes (3)
BillOfLadingIdIdxReplacement keyUnique, alternate key.
ShipmentIdIdxNot unique.
MasterBillOfLadingIdIdxMasterBillOfLadingId,BillOfLadingIdNot unique.
Relations (9)
Each relation joins WHSBillOfLading to another table on the fields shown.
CustTable→CustTableJoin on
CustAccount = CustTable.AccountNumMany WHSBillOfLading records → zero or one CustTable record
DeliveryLogisticsPostalAddress→LogisticsPostalAddressJoin on
DeliveryPostalAddress = LogisticsPostalAddress.RecIdMany WHSBillOfLading records → zero or one LogisticsPostalAddress record
InventLocation→InventLocationJoin on
InventLocationId = InventLocation.InventLocationIdMany WHSBillOfLading records → zero or one InventLocation record
ShippingLogisticsPostalAddress→LogisticsPostalAddressJoin on
ShippingPostalAddress = LogisticsPostalAddress.RecIdMany WHSBillOfLading records → zero or one LogisticsPostalAddress record
ThirdPartyLogisticsPostalAddress→LogisticsPostalAddressJoin on
ThirdPartyPostalAddress = LogisticsPostalAddress.RecIdMany WHSBillOfLading records → zero or one LogisticsPostalAddress record
TMSCarrier→TMSCarrierJoin on
CarrierCode = TMSCarrier.CarrierCodeMany WHSBillOfLading records → zero or one TMSCarrier record
TMSCarrierService→TMSCarrierServiceJoin on
CarrierServiceCode = TMSCarrierService.CarrierServiceCode,CarrierCode = TMSCarrierService.CarrierCodeMany WHSBillOfLading records → zero or one TMSCarrierService record
WHSShipmentTable→WHSShipmentTableJoin on
ShipmentId = WHSShipmentTable.ShipmentIdMany WHSBillOfLading records → exactly one WHSShipmentTable record
MasterBillOfLading→WHSBillOfLadingJoin on
MasterBillOfLadingId = WHSBillOfLading.BillOfLadingIdMany WHSBillOfLading records → zero or one WHSBillOfLading record
Get this data out
No public entity reads from WHSBillOfLading. Its data is only reachable through the application, a custom entity or a database export.
Need help with WHSBillOfLading in a report, an integration or a migration? Talk to Dr Dynamics.