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 descriptionType / EDT / enumMandatoryReferencesIn public entities
BillOfLadingIdUnique ID of the bill of lading.String (25)
WHSBillOfLadingId
YesNone
CarrierCodeShipping carrier, pointing to the carrier record.String (20)
TMSCarrierCode
NoTMSCarrier.CarrierCodeNone
CarrierNameName of the carrier.String (60)
TMSName
NoNone
CarrierServiceCodeService of the carrier, pointing to the carrier service record.String (20)
TMSCarrierServiceCode
NoTMSCarrierService.CarrierServiceCodeNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CustAccountCustomer account, pointing to the customer record.String (20)
CustAccount
NoCustTable.AccountNumNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeliveryPostalAddressDelivery address, pointing to a postal address record.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
FreightChargeTermsFreight charge terms, such as Prepaid, Collect, Third party, No freight or Consignee.Enum
WMSFreightChargeTerms (enum)
NoNone
FreightCountedShows who counted the freight, for example the shipper or the driver.Enum
WMSFreightCounted (enum)
NoNone
InventLocationIdWarehouse, pointing to the warehouse record.String
InventLocationId
NoInventLocation.InventLocationIdNone
MasterBillOfLadingIdID of the master bill of lading that this bill refers to.String (25)
WHSBillOfLadingId
NoWHSBillOfLading.BillOfLadingIdNone
MasterBOLFlagYes or no value showing whether this is a master bill of lading.Enum
NoYes (enum)
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
NotesFree text note.String (-1)
Notes
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProNumPro number of the shipment.String (25)
WHSProNum
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SCACStandard carrier alpha code of the carrier.String (20)
TMSSCAC
NoNone
SealNumSeal numbers on the load.String (50)
WHSSealNum
NoNone
ShipmentIdShipment, pointing to the shipment record.String (20)
WHSShipmentId
YesWHSShipmentTable.ShipmentIdNone
ShippingPostalAddressShip from address, pointing to a postal address record.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ThirdPartyPostalAddressAddress of the third party, pointing to a postal address record.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
TrailerLoadedShows who loaded the trailer: the shipper or the driver.Enum
WMSTrailerLoaded (enum)
NoNone
TrailerNumberNumber of the trailer.String (30)
WHSTrailerNumber
NoNone

Indexes (3)

Relations (9)

Each relation joins WHSBillOfLading to another table on the fields shown.

  • CustTable → CustTable

    Join on CustAccount = CustTable.AccountNum

    Many WHSBillOfLading records → zero or one CustTable record

  • DeliveryLogisticsPostalAddress → LogisticsPostalAddress

    Join on DeliveryPostalAddress = LogisticsPostalAddress.RecId

    Many WHSBillOfLading records → zero or one LogisticsPostalAddress record

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    Many WHSBillOfLading records → zero or one InventLocation record

  • ShippingLogisticsPostalAddress → LogisticsPostalAddress

    Join on ShippingPostalAddress = LogisticsPostalAddress.RecId

    Many WHSBillOfLading records → zero or one LogisticsPostalAddress record

  • ThirdPartyLogisticsPostalAddress → LogisticsPostalAddress

    Join on ThirdPartyPostalAddress = LogisticsPostalAddress.RecId

    Many WHSBillOfLading records → zero or one LogisticsPostalAddress record

  • TMSCarrier → TMSCarrier

    Join on CarrierCode = TMSCarrier.CarrierCode

    Many WHSBillOfLading records → zero or one TMSCarrier record

  • TMSCarrierService → TMSCarrierService

    Join on CarrierServiceCode = TMSCarrierService.CarrierServiceCode, CarrierCode = TMSCarrierService.CarrierCode

    Many WHSBillOfLading records → zero or one TMSCarrierService record

  • WHSShipmentTable → WHSShipmentTable

    Join on ShipmentId = WHSShipmentTable.ShipmentId

    Many WHSBillOfLading records → exactly one WHSShipmentTable record

  • MasterBillOfLading → WHSBillOfLading

    Join on MasterBillOfLadingId = WHSBillOfLading.BillOfLadingId

    Many 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.

Email sales@drdynamics.co.uk