Table

WMSBillOfLading

Bill of lading

Header record for a bill of lading, a shipping document, identified by the bill of lading ID. It links to a shipment, order, warehouse, customer, language and addresses. It also holds freight terms, trailer and seal details. Many fields ending in _RU are used for Russia and cover carrier, driver, vehicle and transport document data.

Table name
WMSBillOfLading
Module
Inventory
Table group
TransactionHeader
Table type
Regular
Data per company
Yes
Configuration key
SalesShipments
Primary index
IdIdx
Replacement key
IdIdx
Key fields
billOfLadingId
Model
Foundation

Fields (50)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
billOfLadingIdID that identifies the bill of lading.String (17)
WMSBillOfLadingId
YesNone
CargoDescription_RUDescription of the cargo. Used for Russia.String (60)
CargoDescription_RU
NoNone
CargoPacking_RUDescription of how the cargo is packed. Used for Russia.String (60)
CargoPacking_RU
NoNone
CarrierCode_RUAccount of the carrier, which can be a customer or vendor. Used for Russia.String (20)
CarrierCode_W
NoCustTable.AccountNumVendTable.AccountNumNone
carrierNameName of the carrier.String (140)
WMSCarrierName
NoSalesCarrier.CarrierNameNone
CarrierType_RUType of carrier: invoice account, customer or vendor. Used for Russia.Enum
CarrierType_W (enum)
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
custAccountCustomer account number linked to the bill of lading.String (20)
CustAccount
NoCustTable.AccountNumNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeliveryDate_RUDelivery date. Used for Russia.Date
DlvDate
NoNone
DeliveryPostalAddressDelivery address. It points to an address record.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
DriverContact_RUContact details of the driver. Used for Russia.String (60)
DriverContact_RU
NoNone
DriverName_RUName of the driver. Used for Russia.String (60)
DriverName_W
NoNone
DrivingLicenseNum_RUDriving licence number. Used for Russia.String (20)
DrivingLicenseNum_RU
NoNone
freightChargeTermsFreight charge terms: prepaid, collect, third party, no freight or consignee.Enum
WMSFreightChargeTerms (enum)
NoNone
freightCountedWho counted the freight, such as the shipper or the driver.Enum
WMSFreightCounted (enum)
NoNone
freightedByWho freights the goods: carrier, shipper or recipient.Enum
WMSFreightedBy (enum)
NoNone
inventLocationIdWarehouse linked to the bill of lading. It points to a warehouse record.String
InventLocationId
NoInventLocation.InventLocationIdNone
inventTransRefIdOrder number of the sales, transfer or production order that the bill of lading refers to.String (20)
InventTransRefId
NoInventTransferTable.TransferIdProdTable.ProdIdSalesTable.SalesIdNone
LadingPostalAddress_RUPostal address for loading. Used for Russia.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
languageIdLanguage code for the document. It points to a language record.String (7)
LanguageId
NoLanguageTable.LanguageIdNone
LicenseCardNum_RUNumber of the licence card. Used for Russia.String (20)
LicenseCardNum_RU
NoNone
LicenseCardRegNum_RURegistration number of the licence card. Used for Russia.String
LicenseCardRegNum_RU
NoNone
LicenseCardSeries_RUSeries of the licence card. Used for Russia.String (20)
LicenseCardSeries_RU
NoNone
LicenseCardType_RUType of licence card: standard or limited. Used for Russia.Enum
LicenseCardType_RU (enum)
NoNone
masterBOLWhether this is a master bill of lading.Enum
NoYes (enum)
NoNone
masterBOLIdID of the master bill of lading that this one belongs to.String (17)
WMSBillOfLadingId
NoWMSBillOfLading.billOfLadingIdNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
OffSessionId_RUOfficial session ID. Used for Russia.String (20)
OffSessionId_RU
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
sealIdSeal numbers on the shipment.String (30)
WMSSealId
NoNone
shipmentIdShipment that the bill of lading refers to.String (20)
WMSShipmentId
NoWMSShipment.shipmentIdNone
ShippingPostalAddressShip-from address. It points to an 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. It points to an address record.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
trailerIdNumber of the trailer.String (20)
WMSTrailerId
NoNone
trailerLoadedWho loaded the trailer: shipper or driver.Enum
WMSTrailerLoaded (enum)
NoNone
TransportationPayer_RUAccount of the party that pays for transport. Used for Russia.String (20)
TransportationPayer_RU
NoCustTable.AccountNumNone
TransportationPayerType_RUType of transport payer: shipper, consignee or third party. Used for Russia.Enum
TransportationPayerType_RU (enum)
NoNone
TransportationType_RUType of transportation. Used for Russia.String
TransportationType_RU
NoTransportationTypeTable_RU.TypeNone
TransportInvoiceId_RUNumber of the transport document. Used for Russia.String (50)
TransportInvoiceId_RU
NoNone
TransportInvoiceType_RUType of transport document: transportation invoice or job ticket. Used for Russia.Enum
TransportInvoiceType_RU (enum)
NoNone
UnladingPostalAddress_RUPostal address for unloading. Used for Russia.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
VehicleModel_RUModel of the vehicle. Used for Russia.String (30)
VehicleModel_W
NoVehicleModelTable_W.VehicleModelNone
VehiclePlateNum_RURegistration plate number of the vehicle. Used for Russia.String (20)
VehiclePlateNum_W
NoNone
WaybillNum_RUWaybill number. Used for Russia.String (20)
WaybillNum_RU
NoNone
WMSReferenceTypeType of order the bill of lading refers to, such as sales order, transfer order or production order.Enum
WMSReferenceType (enum)
NoNone

Indexes (5)

Relations (20)

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

  • Carrier_CustTable → CustTable

    Join on CarrierType_RU = CarrierType_W::Customer, CarrierCode_RU = CustTable.AccountNum

    Many WMSBillOfLading records → zero or one CustTable record

  • Carrier_VendTable → VendTable

    Join on CarrierType_RU = CarrierType_W::Vendor, CarrierCode_RU = VendTable.AccountNum

    Many WMSBillOfLading records → zero or one VendTable record

  • CustTable → CustTable

    Join on custAccount = CustTable.AccountNum

    Many WMSBillOfLading records → zero or one CustTable record

  • DeliveryLogisticsPostalAddress → LogisticsPostalAddress

    Join on DeliveryPostalAddress = LogisticsPostalAddress.RecId

    Many WMSBillOfLading records → zero or one LogisticsPostalAddress record

  • InventLocation → InventLocation

    Join on inventLocationId = InventLocation.InventLocationId

    Many WMSBillOfLading records → zero or one InventLocation record

  • InventTransferTable → InventTransferTable

    Join on WMSReferenceType = WMSReferenceType::TransferOrderShipment, inventTransRefId = InventTransferTable.TransferId

    Many WMSBillOfLading records → zero or one InventTransferTable record

  • LadingPostalAddress_RU_FK → LogisticsPostalAddress

    Join on LadingPostalAddress_RU = LogisticsPostalAddress.RecId

    Many WMSBillOfLading records → zero or one LogisticsPostalAddress record

  • LanguageTable → LanguageTable

    Join on languageId = LanguageTable.LanguageId, LanguageTable.LabelFile = 1

    Many WMSBillOfLading records → zero or one LanguageTable record

  • MasterBillOfLading → WMSBillOfLading

    Join on masterBOLId = WMSBillOfLading.billOfLadingId

    Many WMSBillOfLading records → zero or one WMSBillOfLading record

  • OfficialsTrans_RU → OfficialsTrans_RU

    Join on OffSessionId_RU = OfficialsTrans_RU.OffSessionId

    Many WMSBillOfLading records → zero or one OfficialsTrans_RU record

  • Payer_CustTable_RU → CustTable

    Join on TransportationPayerType_RU = TransportationPayerType_RU::ThirdParty, TransportationPayer_RU = CustTable.AccountNum

    Many WMSBillOfLading records → zero or one CustTable record

  • ProdTable → ProdTable

    Join on WMSReferenceType = WMSReferenceType::ProductionLine, inventTransRefId = ProdTable.ProdId

    Many WMSBillOfLading records → zero or one ProdTable record

  • SalesCarrier → SalesCarrier

    Join on carrierName = SalesCarrier.CarrierName

    Many WMSBillOfLading records → zero or one SalesCarrier record

  • SalesTable → SalesTable

    Join on WMSReferenceType = WMSReferenceType::Sales, inventTransRefId = SalesTable.SalesId

    Many WMSBillOfLading records → zero or one SalesTable record

  • ShippingLogisticsPostalAddress → LogisticsPostalAddress

    Join on ShippingPostalAddress = LogisticsPostalAddress.RecId

    Many WMSBillOfLading records → zero or one LogisticsPostalAddress record

  • ThirdPartyLocisticsPostalAddress → LogisticsPostalAddress

    Join on ThirdPartyPostalAddress = LogisticsPostalAddress.RecId

    Many WMSBillOfLading records → zero or one LogisticsPostalAddress record

  • TransportationTypeTable_RU → TransportationTypeTable_RU

    Join on TransportationType_RU = TransportationTypeTable_RU.Type

    Many WMSBillOfLading records → exactly one TransportationTypeTable_RU record

  • UnladingPostalAddress_RU_FK → LogisticsPostalAddress

    Join on UnladingPostalAddress_RU = LogisticsPostalAddress.RecId

    Many WMSBillOfLading records → zero or one LogisticsPostalAddress record

  • VehicleModelTable_W → VehicleModelTable_W

    Join on VehicleModel_RU = VehicleModelTable_W.VehicleModel

    Many WMSBillOfLading records → exactly one VehicleModelTable_W record

  • WMSShipment → WMSShipment

    Join on shipmentId = WMSShipment.shipmentId

    Many WMSBillOfLading records → zero or one WMSShipment record

Get this data out

No public entity reads from WMSBillOfLading. Its data is only reachable through the application, a custom entity or a database export.

Need help with WMSBillOfLading in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk