Table

TMSFreightBillDetail

Freight bill details

Holds the detail lines of freight bills for transportation. Each line is either a freight or an accessorial charge, with rate, quantity, weight and currency. Lines link to the carrier, load, shipment, route, equipment, hub, vendor, warehouse and addresses. No key is defined.

Table name
TMSFreightBillDetail
Module
Transportation management
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (64)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BillingGroupIdID of the billing group. It points to a billing group record.String (20)
TMSBillingGroupId
NoTMSBillingGroup.BillingGroupIdTMSFreightBillDetailEntity
BillOfLadingIdID of the bill of lading for the shipment.String (25)
WHSBillOfLadingId
NoTMSFreightBillDetailEntity
BookingNumBooking number for the transport.String (20)
TMSBookingNum
NoTMSFreightBillDetailEntity
CarrierCodeCode of the shipping carrier. It points to a carrier record.String (20)
TMSCarrierCode
NoTMSCarrier.CarrierCodeTMSFreightBillDetailEntity
CarrierServiceCodeCode of the carrier service used.String (20)
TMSCarrierServiceCode
NoTMSFreightBillDetailEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CurrencyCodeCurrency code for the amounts on the line.String (3)
CurrencyCode
YesCurrency.CurrencyCodeTMSFreightBillDetailEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeliveryUTCDateTimeDelivery date and time. The label reads 'Last cycle count', which does not match the data type name.low confidenceUtcDateTime
WHSDeliveryUTCDateTime
NoTMSFreightBillDetailEntity
DestinationPostalAddressSystem record ID of the destination postal address.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
Dimension1Free-text dimension value, number 1 of 10.String (50)
TMSDimension
NoNone
Dimension10Free-text dimension value, number 10 of 10.String (50)
TMSDimension
NoNone
Dimension2Free-text dimension value, number 2 of 10.String (50)
TMSDimension
NoNone
Dimension3Free-text dimension value, number 3 of 10.String (50)
TMSDimension
NoNone
Dimension4Free-text dimension value, number 4 of 10.String (50)
TMSDimension
NoNone
Dimension5Free-text dimension value, number 5 of 10.String (50)
TMSDimension
NoNone
Dimension6Free-text dimension value, number 6 of 10.String (50)
TMSDimension
NoNone
Dimension7Free-text dimension value, number 7 of 10.String (50)
TMSDimension
NoNone
Dimension8Free-text dimension value, number 8 of 10.String (50)
TMSDimension
NoNone
Dimension9Free-text dimension value, number 9 of 10.String (50)
TMSDimension
NoNone
DirectionDirection of the goods movement: none, inbound or outbound.Enum
TMSDirection (enum)
NoTMSFreightBillDetailEntity
EquipmentCodeCode of the equipment used. It points to an equipment record.String (20)
TMSEquipmentCode
NoTMSEquipment.EquipmentCodeTMSFreightBillDetailEntity
ExternalCodeCode used outside the system for this item.String (60)
TMSExternalCode
NoTMSFreightBillDetailEntity
FBRateFreight bill rate value.Real
TMSRate
NoNone
FreightBillIdID of the freight bill.String (20)
TMSFreightBillId
YesTMSFreightBillDetailEntity
FreightBillMatchStatusReconciliation status of the line: none, partially matched or fully matched.Enum
TMSFreightBillMatchStatus (enum)
NoTMSFreightBillDetailEntity
FreightBillTypeIdType of freight bill. It points to a freight bill type record.String (20)
TMSFreightBillTypeId
NoTMSFreightBillType.FreightBillTypeIdTMSFreightBillDetailEntity
HubMasterCodeCode of the hub. It points to a hub master record.String (20)
TMSHubMasterCode
NoTMSHubMaster.HubMasterCodeTMSFreightBillDetailEntity
InventLocationIdWarehouse linked to the line.String
InventLocationId
NoInventLocation.InventLocationIdNone
InventSiteIdSite linked to the line.String
InventSiteId
NoInventSite.SiteIdNone
LineTypeType of line: accessorial charge or freight.Enum
TMSLineType (enum)
NoTMSFreightBillDetailEntity
LoadIdID of the load the line relates to.String (20)
WHSLoadId
NoWHSLoadTable.LoadIdTMSFreightBillDetailEntity
ModeCodeTransport mode. It points to a mode record.String (20)
TMSModeCode
NoTMSMode.ModeCodeTMSFreightBillDetailEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
OriginPostalAddressSystem record ID of the origin postal address.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProNumPro number used to identify the shipment.String (25)
WHSProNum
NoTMSFreightBillDetailEntity
QtyQuantity on the line.Real
Qty
NoTMSFreightBillDetailEntity
RateCurRate value, probably in the currency on the line. Currency not stated in the metadata.low confidenceReal
TMSRate
NoTMSFreightBillDetailEntity
RateIdID of the accessorial charge that applies. It points to an accessorial master record.String (20)
TMSAccessorialMasterCode
NoTMSAccessorialMaster.AccessorialMasterCodeTMSFreightBillDetailEntity
RateNoteShort note about the rate.String (100)
TMSApptNote
NoTMSFreightBillDetailEntity
RateUnitNumber of units that the rate applies to.Real
TMSRateUnit
NoTMSFreightBillDetailEntity
RateUnitRateRate for one unit.Real
TMSRateUnitRate
NoTMSFreightBillDetailEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoTMSFreightBillDetailEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RelatedAccountNumRelated account number.String (20)
TMSRelatedAccountNum
NoNone
RelatedOrderNumRelated order number.String (20)
TMSRelatedOrderNum
NoNone
RouteCodeCode of the route used. It points to a route record.String (20)
TMSRouteCode
YesTMSRoute.RouteCodeTMSFreightBillDetailEntity
SequenceSequence number of the line.Integer
TMSSequence
NoTMSFreightBillDetailEntity
ShipmentIdID of the shipment the line relates to.String (20)
WHSShipmentId
NoWHSShipmentTable.ShipmentIdTMSFreightBillDetailEntity
ShipUTCDateTimeShip date and time. The label says 'End date and time for holding freight'.low confidenceUtcDateTime
WHSShipUTCDateTime
NoTMSFreightBillDetailEntity
STCCCodeSTCC code, a seven-character standard transportation commodity code.String (7)
TMSSTCCCode
NoTMSFreightBillDetailEntity
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
TractorNumberNumber of the tractor (truck unit) used.String (30)
TMSTractorNumber
NoTMSFreightBillDetailEntity
TrailerNumberNumber of the trailer used.String (30)
WHSTrailerNumber
NoTMSFreightBillDetailEntity
ValueText value linked to the line.low confidenceString
TMSValue
NoTMSFreightBillDetailEntity
VendorCodeVendor account that provides the service. It points to a vendor record.String (20)
TMSVendorCode
NoVendTable.AccountNumTMSFreightBillDetailEntity
VendorInvoiceCodeVendor account used for invoicing. It points to a vendor record.String (20)
TMSVendorInvoiceCode
NoVendTable.AccountNumTMSFreightBillDetailEntity
VesselNameName of the vessel for sea transport.String (20)
TMSVesselName
NoTMSFreightBillDetailEntity
VoyageNumVoyage number for sea transport.String
TMSVoyageNum
NoTMSFreightBillDetailEntity
WeightWeight on the line.Real
Weight
NoTMSFreightBillDetailEntity

Indexes (4)

Relations (17)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many TMSFreightBillDetail records → exactly one Currency record

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    Many TMSFreightBillDetail records → zero or one InventLocation record

  • InventSite → InventSite

    Join on InventSiteId = InventSite.SiteId

    Many TMSFreightBillDetail records → zero or one InventSite record

  • LogisticsPostalAddressDestination → LogisticsPostalAddress

    Join on DestinationPostalAddress = LogisticsPostalAddress.RecId

    Many TMSFreightBillDetail records → zero or one LogisticsPostalAddress record

  • LogisticsPostalAddressOrigin → LogisticsPostalAddress

    Join on OriginPostalAddress = LogisticsPostalAddress.RecId

    Many TMSFreightBillDetail records → zero or one LogisticsPostalAddress record

  • TMSAccessorialMaster → TMSAccessorialMaster

    Join on RateId = TMSAccessorialMaster.AccessorialMasterCode

    Many TMSFreightBillDetail records → exactly one TMSAccessorialMaster record

  • TMSBillingGroup → TMSBillingGroup

    Join on BillingGroupId = TMSBillingGroup.BillingGroupId

    Many TMSFreightBillDetail records → zero or one TMSBillingGroup record

  • TMSCarrier → TMSCarrier

    Join on CarrierCode = TMSCarrier.CarrierCode

    Many TMSFreightBillDetail records → exactly one TMSCarrier record

  • TMSEquipment → TMSEquipment

    Join on EquipmentCode = TMSEquipment.EquipmentCode

    Many TMSFreightBillDetail records → exactly one TMSEquipment record

  • TMSFreightBillType → TMSFreightBillType

    Join on FreightBillTypeId = TMSFreightBillType.FreightBillTypeId

    Many TMSFreightBillDetail records → exactly one TMSFreightBillType record

  • TMSHubMaster → TMSHubMaster

    Join on HubMasterCode = TMSHubMaster.HubMasterCode

    Many TMSFreightBillDetail records → exactly one TMSHubMaster record

  • TMSMode → TMSMode

    Join on ModeCode = TMSMode.ModeCode

    Many TMSFreightBillDetail records → exactly one TMSMode record

  • TMSRoute → TMSRoute

    Join on RouteCode = TMSRoute.RouteCode

    Many TMSFreightBillDetail records → exactly one TMSRoute record

  • VendTable → VendTable

    Join on VendorCode = VendTable.AccountNum

    Many TMSFreightBillDetail records → zero or one VendTable record

  • VendTableInvoice → VendTable

    Join on VendorInvoiceCode = VendTable.AccountNum

    Many TMSFreightBillDetail records → zero or one VendTable record

  • WHSLoadTable → WHSLoadTable

    Join on LoadId = WHSLoadTable.LoadId

    Many TMSFreightBillDetail records → exactly one WHSLoadTable record

  • WHSShipmentTable → WHSShipmentTable

    Join on ShipmentId = WHSShipmentTable.ShipmentId

    Many TMSFreightBillDetail records → exactly one WHSShipmentTable record

Get this data out

Tables are not exposed directly. These public entities read from TMSFreightBillDetail; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk