Data entity

TMSFreightBillDetailEntity

Holds the detail lines of freight bills. Each line is identified by the freight bill ID and an entry number. It carries rate, load, shipment, carrier, weight and reconciliation data, and it joins to postal address data. It is read-only.

Entity name
TMSFreightBillDetailEntity
Public entity name
FreightBillDetail
OData collection
FreightBillDetails
Category
Document
Module
Transportation
Read-only
Yes
Data management enabled
Yes
Configuration key
WHSandTMS
Keys
FreightBillId, FreightBillDetailEntryNumber
Staging table
TMSFreightBillDetailStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/FreightBillDetails
Dataverse virtual table
mserp_tmsfreightbilldetailentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • TMSFreightBillDetail · root
  • DropOffLogisticsPostalAddress (table LogisticsPostalAddressBaseEntity) · OuterJoin to TMSFreightBillDetail
  • PickupLogisticsPostalAddress (table LogisticsPostalAddressBaseEntity) · OuterJoin to TMSFreightBillDetail

Fields (90)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AccessorialChargeMasterCodeID of the accessorial charge that applies. It points to an accessorial master record.String (20)
TMSAccessorialMasterCode
NoYesTMSAccessorialMaster.AccessorialMasterCodeTMSFreightBillDetail.RateId
BillOfLadingIdID of the bill of lading for the shipment.String (25)
WHSBillOfLadingId
NoYesTMSFreightBillDetail.BillOfLadingId
CurrencyCodeCurrency code for the amounts on the line.String (3)
CurrencyCode
YesYesCurrency.CurrencyCodeTMSFreightBillDetail.CurrencyCode
FreightBillIdID of the freight bill.String (20)
TMSFreightBillId
YesYesTMSFreightBillDetail.FreightBillId
FreightBillDetailEntryNumberA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesTMSFreightBillDetail.RecId
FreightBillTypeIdType of freight bill. It points to a freight bill type record.String (20)
TMSFreightBillTypeId
NoYesTMSFreightBillType.FreightBillTypeIdTMSFreightBillDetail.FreightBillTypeId
FreightBillOrderAmountText value linked to the line.low confidenceString
TMSValue
NoYesTMSFreightBillDetail.Value
FreightBillOrderQuantityQuantity on the line.Real
Qty
NoYesTMSFreightBillDetail.Qty
HoldingFreightEndDatetimeShip date and time. The label says 'End date and time for holding freight'.low confidenceUtcDateTime
WHSShipUTCDateTime
NoYesTMSFreightBillDetail.ShipUTCDateTime
InvoiceLineTypeType of line: accessorial charge or freight.Enum
TMSLineType
  • Accessorial 0
  • Freight 1
NoYesTMSFreightBillDetail.LineType
InvoiceVendorAccountNumberVendor account used for invoicing. It points to a vendor record.String (20)
TMSVendorInvoiceCode
NoYesVendTable.AccountNumTMSFreightBillDetail.VendorInvoiceCode
LastCycleCountDateTimeDelivery date and time. The label reads 'Last cycle count', which does not match the data type name.low confidenceUtcDateTime
WHSDeliveryUTCDateTime
NoYesTMSFreightBillDetail.DeliveryUTCDateTime
LoadIdID of the load the line relates to.String (20)
WHSLoadId
NoYesWHSLoadTable.LoadIdTMSFreightBillDetail.LoadId
PhysicalWeightWeight on the line.Real
Weight
NoYesTMSFreightBillDetail.Weight
ProductMovementDirectionRuleDirection of the goods movement: none, inbound or outbound.Enum
TMSDirection
  • None 0
  • Inbound 1
  • Outbound 2
NoYesTMSFreightBillDetail.Direction
ProNumberCodePro number used to identify the shipment.String (25)
WHSProNum
NoYesTMSFreightBillDetail.ProNum
RateNotesShort note about the rate.String (100)
TMSApptNote
NoYesTMSFreightBillDetail.RateNote
RateUnitNumber of units that the rate applies to.Real
TMSRateUnit
NoYesTMSFreightBillDetail.RateUnit
RateUnitMethodRate for one unit.Real
TMSRateUnitRate
NoYesTMSFreightBillDetail.RateUnitRate
ReconciliationStatusReconciliation status of the line: none, partially matched or fully matched.Enum
TMSFreightBillMatchStatus
  • None 0
  • PartiallyMatched 1
  • FullyMatched 2
NoYesTMSFreightBillDetail.FreightBillMatchStatus
SequenceNumberSequence number of the line.Integer
TMSSequence
NoYesTMSFreightBillDetail.Sequence
ShipmentIdID of the shipment the line relates to.String (20)
WHSShipmentId
NoYesWHSShipmentTable.ShipmentIdTMSFreightBillDetail.ShipmentId
ShippingCarrierIdCode of the shipping carrier. It points to a carrier record.String (20)
TMSCarrierCode
NoYesTMSCarrier.CarrierCodeTMSFreightBillDetail.CarrierCode
ShippingCarrierServiceIdCode of the carrier service used.String (20)
TMSCarrierServiceCode
NoYesTMSFreightBillDetail.CarrierServiceCode
ShippingCarrierVendorAccountNumberVendor account that provides the service. It points to a vendor record.String (20)
TMSVendorCode
NoYesVendTable.AccountNumTMSFreightBillDetail.VendorCode
StandardTransportationCommodityCodeSTCC code, a seven-character standard transportation commodity code.String (7)
TMSSTCCCode
NoYesTMSFreightBillDetail.STCCCode
TotalRateRate value, probably in the currency on the line. Currency not stated in the metadata.low confidenceReal
TMSRate
NoYesTMSFreightBillDetail.RateCur
TractorNumberNumber of the tractor (truck unit) used.String (30)
TMSTractorNumber
NoYesTMSFreightBillDetail.TractorNumber
TrailerNumberNumber of the trailer used.String (30)
WHSTrailerNumber
NoYesTMSFreightBillDetail.TrailerNumber
TransportationBillingGroupIdID of the billing group. It points to a billing group record.String (20)
TMSBillingGroupId
NoYesTMSBillingGroup.BillingGroupIdTMSFreightBillDetail.BillingGroupId
TransportationBookingNumberBooking number for the transport.String (20)
TMSBookingNum
NoYesTMSFreightBillDetail.BookingNum
TransportationEquipmentCodeCode of the equipment used. It points to an equipment record.String (20)
TMSEquipmentCode
NoYesTMSEquipment.EquipmentCodeTMSFreightBillDetail.EquipmentCode
TransportationExternalCodeCode used outside the system for this item.String (60)
TMSExternalCode
NoYesTMSFreightBillDetail.ExternalCode
TransportationHubIdCode of the hub. It points to a hub master record.String (20)
TMSHubMasterCode
NoYesTMSHubMaster.HubMasterCodeTMSFreightBillDetail.HubMasterCode
TransportationModeCodeTransport mode. It points to a mode record.String (20)
TMSModeCode
NoYesTMSMode.ModeCodeTMSFreightBillDetail.ModeCode
TransportationRoutePlanIdCode of the route used. It points to a route record.String (20)
TMSRouteCode
YesYesTMSRoute.RouteCodeTMSFreightBillDetail.RouteCode
VesselNameName of the vessel for sea transport.String (20)
TMSVesselName
NoYesTMSFreightBillDetail.VesselName
VoyageNumVoyage number for sea transport.String
TMSVoyageNum
NoYesTMSFreightBillDetail.VoyageNum
DropOffPostalAddressRecIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoNo (private)LogisticsPostalAddress.RecId
DropOffAddressLocationIdUnique ID of the location. It is the key of the table.String (40)
LogisticsLocationId
NoYesLogisticsLocation.LocationId
FormattedDropOffAddressThe full address as one formatted text.String (250)
LogisticsAddressing
NoYesLogisticsPostalAddress.Address
DropOffAddressZipCodeZIP or postal code, as text.String
LogisticsAddressZipCodeId
NoYesLogisticsPostalAddress.ZipCode
DropOffAddressBuildingComplimentExtra building detail, such as an entrance or floor.String (60)
LogisticsAddressBuildingCompliment
NoYesLogisticsPostalAddress.BuildingCompliment
DropOffAddressCityName of the city, as text.String (60)
LogisticsAddressCityName
NoYesLogisticsPostalAddress.City
DropOffAddressCityInKanaCity name written in Kana; used for Japan.String (60)
AssetCityKana_JP
NoYesLogisticsPostalAddress.CityKana_JP
DropOffAddressCountryRegionIdThe country or region of the address.String
LogisticsAddressCountryRegionId
NoYesLogisticsAddressCountryRegion.CountryRegionIdLogisticsPostalAddress.CountryRegionId
DropOffAddressCountryRegionISOCodeISO code of the country or region of the address.String (2)
LogisticsAddressCountryRegionISOCode
NoYesNone
DropOffAddressCountyIdCounty code of the address. It depends on the country and state.String (30)
LogisticsAddressCountyId
NoYesLogisticsAddressCounty.CountyIdLogisticsPostalAddress.County
DropOffAddressDescriptionName or description of the location.String (60)
LogisticsDescription
NoYesLogisticsLocation.Description
DropOffAddressDistrictNameName of the district, as text.String (60)
LogisticsAddressDistrictName
NoYesLogisticsPostalAddress.DistrictName
DropOffAddressDunsNumberThe DUNS number, up to nine characters long. It is the key of the table.String (9)
LogisticsDunsNumber
NoYesDirDunsNumber.DunsNumber
DropOffAddressLatitudeGeographic latitude of the address.Real
LogisticsAddressLatitude
NoYesLogisticsPostalAddress.Latitude
IsDropOffAddressPrivateShows whether the address is private (Yes or No).Enum
LogisticsIsPrivate
NoYes

Platform enum: values not in the metadata extract.

NoYesLogisticsPostalAddress.IsPrivate
DropOffAddressLongitudeGeographic longitude of the address.Real
LogisticsAddressLongitude
NoYesLogisticsPostalAddress.Longitude
DropOffAddressPostBoxPost office box number.String (20)
LogisticsAddressPostBox
NoYesLogisticsPostalAddress.PostBox
DropOffAddressStateIdState or province code of the address.String
LogisticsAddressStateId
NoYesLogisticsAddressCounty.StateIdLogisticsAddressState.StateIdLogisticsPostalAddress.State
DropOffAddressStreetStreet name of the address.String (250)
LogisticsAddressStreet
NoYesLogisticsPostalAddress.Street
DropOffAddressStreetInKanaStreet name written in Kana; used for Japan.String (250)
AssetStreetKana_JP
NoYesLogisticsPostalAddress.StreetKana_JP
DropOffAddressStreetNumberStreet or house number.String (20)
LogisticsAddressStreetNumber
NoYesLogisticsPostalAddress.StreetNumber
DropOffAddressValidFromDate and time from which the address is effective.UtcDateTime
EffectiveDateTime
NoNo (private)LogisticsPostalAddress.ValidFrom
DropOffAddressValidToDate and time when the address expires.UtcDateTime
ExpirationDateTime
NoNo (private)LogisticsPostalAddress.ValidTo
DropOffAddressTimeZoneTime zone of the address.Enum
Timezone

Platform enum: values not in the metadata extract.

NoYesLogisticsPostalAddress.TimeZone
PickupPostalAddressRecIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoNo (private)LogisticsPostalAddress.RecId
PickupAddressLocationIdUnique ID of the location. It is the key of the table.String (40)
LogisticsLocationId
NoYesLogisticsLocation.LocationId
FormattedPickupAddressThe full address as one formatted text.String (250)
LogisticsAddressing
NoYesLogisticsPostalAddress.Address
PickupAddressZipCodeZIP or postal code, as text.String
LogisticsAddressZipCodeId
NoYesLogisticsPostalAddress.ZipCode
PickupAddressBuildingComplimentExtra building detail, such as an entrance or floor.String (60)
LogisticsAddressBuildingCompliment
NoYesLogisticsPostalAddress.BuildingCompliment
PickupAddressCityName of the city, as text.String (60)
LogisticsAddressCityName
NoYesLogisticsPostalAddress.City
PickupAddressCityInKanaCity name written in Kana; used for Japan.String (60)
AssetCityKana_JP
NoYesLogisticsPostalAddress.CityKana_JP
PickupAddressCountryRegionIdThe country or region of the address.String
LogisticsAddressCountryRegionId
NoYesLogisticsAddressCountryRegion.CountryRegionIdLogisticsPostalAddress.CountryRegionId
PickupAddressCountryRegionISOCodeISO code of the country or region of the address.String (2)
LogisticsAddressCountryRegionISOCode
NoYesNone
PickupAddressCountyIdCounty code of the address. It depends on the country and state.String (30)
LogisticsAddressCountyId
NoYesLogisticsAddressCounty.CountyIdLogisticsPostalAddress.County
PickupAddressDescriptionName or description of the location.String (60)
LogisticsDescription
NoYesLogisticsLocation.Description
PickupAddressDistrictNameName of the district, as text.String (60)
LogisticsAddressDistrictName
NoYesLogisticsPostalAddress.DistrictName
PickupAddressDunsNumberThe DUNS number, up to nine characters long. It is the key of the table.String (9)
LogisticsDunsNumber
NoYesDirDunsNumber.DunsNumber
PickupAddressLatitudeGeographic latitude of the address.Real
LogisticsAddressLatitude
NoYesLogisticsPostalAddress.Latitude
IsPickupAddressPrivateShows whether the address is private (Yes or No).Enum
LogisticsIsPrivate
NoYes

Platform enum: values not in the metadata extract.

NoYesLogisticsPostalAddress.IsPrivate
PickupAddressLongitudeGeographic longitude of the address.Real
LogisticsAddressLongitude
NoYesLogisticsPostalAddress.Longitude
PickupAddressPostBoxPost office box number.String (20)
LogisticsAddressPostBox
NoYesLogisticsPostalAddress.PostBox
PickupAddressStateIdState or province code of the address.String
LogisticsAddressStateId
NoYesLogisticsAddressCounty.StateIdLogisticsAddressState.StateIdLogisticsPostalAddress.State
PickupAddressStreetStreet name of the address.String (250)
LogisticsAddressStreet
NoYesLogisticsPostalAddress.Street
PickupAddressStreetInKanaStreet name written in Kana; used for Japan.String (250)
AssetStreetKana_JP
NoYesLogisticsPostalAddress.StreetKana_JP
PickupAddressStreetNumberStreet or house number.String (20)
LogisticsAddressStreetNumber
NoYesLogisticsPostalAddress.StreetNumber
PickupAddressValidFromDate and time from which the address is effective.UtcDateTime
EffectiveDateTime
NoNo (private)LogisticsPostalAddress.ValidFrom
PickupAddressValidToDate and time when the address expires.UtcDateTime
ExpirationDateTime
NoNo (private)LogisticsPostalAddress.ValidTo
PickupAddressTimeZoneTime zone of the address.Enum
Timezone

Platform enum: values not in the metadata extract.

NoYesLogisticsPostalAddress.TimeZone
LoadCustomerAccountNumberCustomer account linked to the load on this freight bill line.String (20)
CustAccount
NoYescomputed
LoadVendorAccountNumberVendor account linked to the load on this freight bill line.String (20)
VendAccount
NoYescomputed
LoadSalesOrderNumberSales order number linked to the load on this freight bill line.String (20)
SalesId
NoYescomputed
LoadPurchaseOrderNumberPurchase order number linked to the load on this freight bill line.String (20)
PurchId
NoYescomputed

Foreign keys (21)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

  • AccessorialChargeMasterCode → TMSAccessorialMaster.AccessorialMasterCode (key of TMSAccessorialMaster)

    Many TMSFreightBillDetail records → exactly one TMSAccessorialMaster record

    Not exposed by a public entity.

  • CurrencyCode → Currency.CurrencyCode (key of Currency)

    Many TMSFreightBillDetail records → exactly one Currency record

    Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity

  • FreightBillTypeId → TMSFreightBillType.FreightBillTypeId (key of TMSFreightBillType)

    Many TMSFreightBillDetail records → exactly one TMSFreightBillType record

    Not exposed by a public entity.

  • InvoiceVendorAccountNumber → VendTable.AccountNum (key of VendTable)

    Many TMSFreightBillDetail records → zero or one VendTable record

    VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity

  • LoadId → WHSLoadTable.LoadId (key of WHSLoadTable)

    Many TMSFreightBillDetail records → exactly one WHSLoadTable record

    WHSLoadTable details: see WHSInboundLoadHeaderEntity, WHSOutboundLoadHeaderEntity, WHSLoadTableBiEntity

  • ShipmentId → WHSShipmentTable.ShipmentId (key of WHSShipmentTable)

    Many TMSFreightBillDetail records → exactly one WHSShipmentTable record

    WHSShipmentTable details: see WHSOutboundShipmentHeaderEntity, WHSInboundShipmentHeaderEntity, WHSShipmentTableBiEntity

  • ShippingCarrierId → TMSCarrier.CarrierCode (key of TMSCarrier)

    Many TMSFreightBillDetail records → exactly one TMSCarrier record

    TMSCarrier details: see TMSShippingCarrierEntity, TMSTransportationAppointmentDriverLogEntity, TMSTransportationAppointmentEntity

  • ShippingCarrierVendorAccountNumber → VendTable.AccountNum (key of VendTable)

    Many TMSFreightBillDetail records → zero or one VendTable record

    VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity

  • TransportationBillingGroupId → TMSBillingGroup.BillingGroupId (key of TMSBillingGroup)

    Many TMSFreightBillDetail records → zero or one TMSBillingGroup record

    Not exposed by a public entity.

  • TransportationEquipmentCode → TMSEquipment.EquipmentCode (key of TMSEquipment)

    Many TMSFreightBillDetail records → exactly one TMSEquipment record

    Not exposed by a public entity.

  • TransportationHubId → TMSHubMaster.HubMasterCode (key of TMSHubMaster)

    Many TMSFreightBillDetail records → exactly one TMSHubMaster record

    Not exposed by a public entity.

  • TransportationModeCode → TMSMode.ModeCode (key of TMSMode)

    Many TMSFreightBillDetail records → exactly one TMSMode record

    TMSMode details: see TMSTransportationModeEntity

  • TransportationRoutePlanId → TMSRoute.RouteCode (key of TMSRoute)

    Many TMSFreightBillDetail records → exactly one TMSRoute record

    Not exposed by a public entity.

  • DropOffAddressCountryRegionId → LogisticsAddressCountryRegion.CountryRegionId (key of LogisticsAddressCountryRegion)

    Many LogisticsPostalAddress records → exactly one LogisticsAddressCountryRegion record

    LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity

  • DropOffAddressCountyId → LogisticsAddressCounty.CountyId (key of LogisticsAddressCounty)

    Join on all of: DropOffAddressCountyId = LogisticsAddressCounty.CountyId, DropOffAddressCountryRegionId = LogisticsAddressCounty.CountryRegionId, DropOffAddressStateId = LogisticsAddressCounty.StateId

    Many LogisticsPostalAddress records → zero or one LogisticsAddressCounty record

    LogisticsAddressCounty details: see LogisticsAddressCountyEntity, VRMLogisticsAddressCountyEntity

  • DropOffAddressStateId → LogisticsAddressCounty.StateId (key of LogisticsAddressCounty)

    Join on all of: DropOffAddressStateId = LogisticsAddressCounty.StateId, DropOffAddressCountryRegionId = LogisticsAddressCounty.CountryRegionId, DropOffAddressCountyId = LogisticsAddressCounty.CountyId

    Many LogisticsPostalAddress records → zero or one LogisticsAddressCounty record

    LogisticsAddressCounty details: see LogisticsAddressCountyEntity, VRMLogisticsAddressCountyEntity

  • DropOffAddressStateId → LogisticsAddressState.StateId (key of LogisticsAddressState)

    Join on all of: DropOffAddressStateId = LogisticsAddressState.StateId, DropOffAddressCountryRegionId = LogisticsAddressState.CountryRegionId

    Many LogisticsPostalAddress records → zero or one LogisticsAddressState record

    LogisticsAddressState details: see LogisticsAddressStateEntity, PayrollEmployerTaxRegionEntity, StateHolidayEntity

  • PickupAddressCountryRegionId → LogisticsAddressCountryRegion.CountryRegionId (key of LogisticsAddressCountryRegion)

    Many LogisticsPostalAddress records → exactly one LogisticsAddressCountryRegion record

    LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity

  • PickupAddressCountyId → LogisticsAddressCounty.CountyId (key of LogisticsAddressCounty)

    Join on all of: PickupAddressCountyId = LogisticsAddressCounty.CountyId, DropOffAddressCountryRegionId = LogisticsAddressCounty.CountryRegionId, DropOffAddressStateId = LogisticsAddressCounty.StateId

    Many LogisticsPostalAddress records → zero or one LogisticsAddressCounty record

    LogisticsAddressCounty details: see LogisticsAddressCountyEntity, VRMLogisticsAddressCountyEntity

  • PickupAddressStateId → LogisticsAddressCounty.StateId (key of LogisticsAddressCounty)

    Join on all of: PickupAddressStateId = LogisticsAddressCounty.StateId, DropOffAddressCountryRegionId = LogisticsAddressCounty.CountryRegionId, DropOffAddressCountyId = LogisticsAddressCounty.CountyId

    Many LogisticsPostalAddress records → zero or one LogisticsAddressCounty record

    LogisticsAddressCounty details: see LogisticsAddressCountyEntity, VRMLogisticsAddressCountyEntity

  • PickupAddressStateId → LogisticsAddressState.StateId (key of LogisticsAddressState)

    Join on all of: PickupAddressStateId = LogisticsAddressState.StateId, DropOffAddressCountryRegionId = LogisticsAddressState.CountryRegionId

    Many LogisticsPostalAddress records → zero or one LogisticsAddressState record

    LogisticsAddressState details: see LogisticsAddressStateEntity, PayrollEmployerTaxRegionEntity, StateHolidayEntity

Need help with TMSFreightBillDetailEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk