Table

TransportationDocument

Transportation details

Holds transportation details for a document, such as the carrier, loading and unloading addresses and times, and the person who issued the goods. It also has fields for Mexico, such as transport permits, pick-up and drop-off spots, travel distance and insurance. It links to customers, vendors, workers and postal addresses.

Table name
TransportationDocument
Module
Accounts receivable
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (33)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CarrierCodeAccount of the carrier, which can be a customer or a vendor.String (20)
CarrierCode_W
NoCustTable.AccountNumVendTable.AccountNumTransportationDocumentEntityAssetPackingSlipEntity
CarrierTypeKind of carrier account: invoice account, customer or vendor.Enum
CarrierType_W (enum)
NoTransportationDocumentEntityAssetPackingSlipEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DocumentDateTimeDate and time of the document.UtcDateTime
DocumentDateTime_LT
NoTransportationDocumentEntityAssetPackingSlipEntity
DoPrintTransportationDocumentYes/No flag for printing the transportation details.Enum
TransportationDocumentPrint
NoYes (enum)
NoTransportationDocumentEntityAssetPackingSlipEntity
DropOffMode_MXSAT external code for the drop-off, used for Mexico.String
EInvoiceExtCodeId_MX
NoNone
DropOffSpot_MXTransportation spot where the goods are dropped off, used for Mexico.String (6)
EInvoiceSiteID_MX
NoEInvoiceSpotIdTable_MX.SpotIdNone
EconomicActivityTypeKind of economic activity, such as goods delivery or transfer.Enum
EconomicActivityType (enum)
NoTransportationDocumentEntity
EnvironmentalDamageInsurancePolicyNum_MXPolicy number of the environmental damage insurance, used for Mexico.String (20)
AssetInsurancePolicyNum
NoNone
EnvironmentalDamageInsuranceVendor_MXVendor account of the environmental damage insurer, used for Mexico.String (20)
VendAccount
NoNone
IssuedByWorker who issued the goods.Int64
TransportationIssuedBy
NoHcmWorker.RecIdNone
LineIdUnique GUID that identifies the record.Guid
SysGuid
NoTransportationDocumentEntitySalesOrderHeaderV4EntitySalesOrderHeaderV3Entityand 8 more
LoadedAddressNameName at the loading address.String (100)
LoadedAddressName
NoAssetPackingSlipEntity
LoadedDateTimeDate and time of loading.UtcDateTime
LoadedDateTime
NoTransportationDocumentEntityAssetPackingSlipEntity
LoadedPostalAddressPostal address where the goods are loaded.Int64
LoadedPostalAddress
NoLogisticsPostalAddress.RecIdNone
PackageDangerDegreeRisk level of the load.String (60)
TransportationPackageDangerDegree
NoTransportationDocumentEntityAssetPackingSlipEntity
PackageDescriptionDescription of the package.String (60)
TransportationPackage
NoTransportationDocumentEntityAssetPackingSlipEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PickUpMode_MXSAT external code for the pick-up, used for Mexico.String
EInvoiceExtCodeId_MX
NoNone
PickUpSpot_MXTransportation spot where the goods are picked up, used for Mexico.String (6)
EInvoiceSiteID_MX
NoEInvoiceSpotIdTable_MX.SpotIdNone
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
SATPermissionID_MXUnique ID of the transport permission, used for Mexico.String (50)
TransPermissionID_MX
NoTransPermission_MX.PermissionIDNone
SATPermissionType_MXType of transport permission, used for Mexico.String
EInvoiceExtCodeId_MX
NoTransPermission_MX.PermissionTypeNone
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
TravelDistance_MXDistance travelled with the goods, used for Mexico.Real
WHSDistance
NoNone
TravelTime_MXTravel time in hours, used for Mexico.Real
WHSActualTime
NoNone
UnloadedAddressNameName at the unloading address.String (100)
UnloadedAddressName
NoAssetPackingSlipEntity
UnloadedDateTimeDate and time of unloading.UtcDateTime
UnloadedDateTime
NoTransportationDocumentEntityAssetPackingSlipEntity
UnloadedPostalAddressPostal address where the goods are unloaded.Int64
UnloadedPostalAddress
NoLogisticsPostalAddress.RecIdNone
WeightUnit_MXCode of the weight unit, used for Mexico.String
EInvoiceExtCodeId_MX
NoNone

Indexes (2)

Relations (10)

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

  • CarrierCodeCust → CustTable

    Join on CarrierType = CarrierType_W::Customer, CarrierCode = CustTable.AccountNum

    Many TransportationDocument records → zero or one CustTable record

  • CarrierCodeVend → VendTable

    Join on CarrierType = CarrierType_W::Vendor, CarrierCode = VendTable.AccountNum

    Many TransportationDocument records → zero or one VendTable record

  • IssuedBy → HcmWorker

    Join on IssuedBy = HcmWorker.RecId

    Many TransportationDocument records → zero or one HcmWorker record

  • LoadedPostalAddress → LogisticsPostalAddress

    Join on LoadedPostalAddress = LogisticsPostalAddress.RecId

    Many TransportationDocument records → zero or one LogisticsPostalAddress record

  • UnloadedPostalAddress → LogisticsPostalAddress

    Join on UnloadedPostalAddress = LogisticsPostalAddress.RecId

    Many TransportationDocument records → zero or one LogisticsPostalAddress record

  • SATPermissionType_MX → EInvoiceExtCodeTable_MX

    Join on SATPermissionType_MX = EInvoiceExtCodeTable_MX.CodeId, EInvoiceExtCodeTable_MX.CodeType = EInvoiceExtCodeType_MX::PermissionType

    Zero or one TransportationDocument record → zero or one EInvoiceExtCodeTable_MX record

  • SATPermissionID_MX → TransPermission_MX

    Join on SATPermissionType_MX = TransPermission_MX.PermissionType, SATPermissionID_MX = TransPermission_MX.PermissionID

    Zero or one TransportationDocument record → zero or one TransPermission_MX record

  • PickUpSpot_MX → EInvoiceSpotIdTable_MX

    Join on PickUpSpot_MX = EInvoiceSpotIdTable_MX.SpotId

    Zero or one TransportationDocument record → zero or one EInvoiceSpotIdTable_MX record

  • DropOffSpot_MX → EInvoiceSpotIdTable_MX

    Join on DropOffSpot_MX = EInvoiceSpotIdTable_MX.SpotId

    Zero or one TransportationDocument record → zero or one EInvoiceSpotIdTable_MX record

  • SATWeightUnit_MX → EInvoiceExtCodeTable_MX

    Join on WeightUnit_MX = EInvoiceExtCodeTable_MX.CodeId, EInvoiceExtCodeTable_MX.CodeType = EInvoiceExtCodeType_MX::WeightUnit

    Many TransportationDocument records → zero or one EInvoiceExtCodeTable_MX record

Get this data out

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

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

Email sales@drdynamics.co.uk