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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CarrierCodeAccount of the carrier, which can be a customer or a vendor. | String (20)CarrierCode_W | No | CustTable.AccountNumVendTable.AccountNum | TransportationDocumentEntityAssetPackingSlipEntity |
CarrierTypeKind of carrier account: invoice account, customer or vendor. | EnumCarrierType_W (enum) | No | TransportationDocumentEntityAssetPackingSlipEntity | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DocumentDateTimeDate and time of the document. | UtcDateTimeDocumentDateTime_LT | No | TransportationDocumentEntityAssetPackingSlipEntity | |
DoPrintTransportationDocumentYes/No flag for printing the transportation details. | EnumTransportationDocumentPrintNoYes (enum) | No | TransportationDocumentEntityAssetPackingSlipEntity | |
DropOffMode_MXSAT external code for the drop-off, used for Mexico. | StringEInvoiceExtCodeId_MX | No | None | |
DropOffSpot_MXTransportation spot where the goods are dropped off, used for Mexico. | String (6)EInvoiceSiteID_MX | No | EInvoiceSpotIdTable_MX.SpotId | None |
EconomicActivityTypeKind of economic activity, such as goods delivery or transfer. | EnumEconomicActivityType (enum) | No | TransportationDocumentEntity | |
EnvironmentalDamageInsurancePolicyNum_MXPolicy number of the environmental damage insurance, used for Mexico. | String (20)AssetInsurancePolicyNum | No | None | |
EnvironmentalDamageInsuranceVendor_MXVendor account of the environmental damage insurer, used for Mexico. | String (20)VendAccount | No | None | |
IssuedByWorker who issued the goods. | Int64TransportationIssuedBy | No | HcmWorker.RecId | None |
LineIdUnique GUID that identifies the record. | GuidSysGuid | No | TransportationDocumentEntitySalesOrderHeaderV4EntitySalesOrderHeaderV3Entityand 8 more | |
LoadedAddressNameName at the loading address. | String (100)LoadedAddressName | No | AssetPackingSlipEntity | |
LoadedDateTimeDate and time of loading. | UtcDateTimeLoadedDateTime | No | TransportationDocumentEntityAssetPackingSlipEntity | |
LoadedPostalAddressPostal address where the goods are loaded. | Int64LoadedPostalAddress | No | LogisticsPostalAddress.RecId | None |
PackageDangerDegreeRisk level of the load. | String (60)TransportationPackageDangerDegree | No | TransportationDocumentEntityAssetPackingSlipEntity | |
PackageDescriptionDescription of the package. | String (60)TransportationPackage | No | TransportationDocumentEntityAssetPackingSlipEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PickUpMode_MXSAT external code for the pick-up, used for Mexico. | StringEInvoiceExtCodeId_MX | No | None | |
PickUpSpot_MXTransportation spot where the goods are picked up, used for Mexico. | String (6)EInvoiceSiteID_MX | No | EInvoiceSpotIdTable_MX.SpotId | None |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SATPermissionID_MXUnique ID of the transport permission, used for Mexico. | String (50)TransPermissionID_MX | No | TransPermission_MX.PermissionID | None |
SATPermissionType_MXType of transport permission, used for Mexico. | StringEInvoiceExtCodeId_MX | No | TransPermission_MX.PermissionType | None |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TravelDistance_MXDistance travelled with the goods, used for Mexico. | RealWHSDistance | No | None | |
TravelTime_MXTravel time in hours, used for Mexico. | RealWHSActualTime | No | None | |
UnloadedAddressNameName at the unloading address. | String (100)UnloadedAddressName | No | AssetPackingSlipEntity | |
UnloadedDateTimeDate and time of unloading. | UtcDateTimeUnloadedDateTime | No | TransportationDocumentEntityAssetPackingSlipEntity | |
UnloadedPostalAddressPostal address where the goods are unloaded. | Int64UnloadedPostalAddress | No | LogisticsPostalAddress.RecId | None |
WeightUnit_MXCode of the weight unit, used for Mexico. | StringEInvoiceExtCodeId_MX | No | None |
Indexes (2)
LoadedPostalAddressIdxNot unique.
UnloadedPostalAddressIdxNot unique.
Relations (10)
Each relation joins TransportationDocument to another table on the fields shown.
CarrierCodeCust→CustTableJoin on
CarrierType = CarrierType_W::Customer,CarrierCode = CustTable.AccountNumMany TransportationDocument records → zero or one CustTable record
CarrierCodeVend→VendTableJoin on
CarrierType = CarrierType_W::Vendor,CarrierCode = VendTable.AccountNumMany TransportationDocument records → zero or one VendTable record
IssuedBy→HcmWorkerJoin on
IssuedBy = HcmWorker.RecIdMany TransportationDocument records → zero or one HcmWorker record
LoadedPostalAddress→LogisticsPostalAddressJoin on
LoadedPostalAddress = LogisticsPostalAddress.RecIdMany TransportationDocument records → zero or one LogisticsPostalAddress record
UnloadedPostalAddress→LogisticsPostalAddressJoin on
UnloadedPostalAddress = LogisticsPostalAddress.RecIdMany TransportationDocument records → zero or one LogisticsPostalAddress record
SATPermissionType_MX→EInvoiceExtCodeTable_MXJoin on
SATPermissionType_MX = EInvoiceExtCodeTable_MX.CodeId,EInvoiceExtCodeTable_MX.CodeType = EInvoiceExtCodeType_MX::PermissionTypeZero or one TransportationDocument record → zero or one EInvoiceExtCodeTable_MX record
SATPermissionID_MX→TransPermission_MXJoin on
SATPermissionType_MX = TransPermission_MX.PermissionType,SATPermissionID_MX = TransPermission_MX.PermissionIDZero or one TransportationDocument record → zero or one TransPermission_MX record
PickUpSpot_MX→EInvoiceSpotIdTable_MXJoin on
PickUpSpot_MX = EInvoiceSpotIdTable_MX.SpotIdZero or one TransportationDocument record → zero or one EInvoiceSpotIdTable_MX record
DropOffSpot_MX→EInvoiceSpotIdTable_MXJoin on
DropOffSpot_MX = EInvoiceSpotIdTable_MX.SpotIdZero or one TransportationDocument record → zero or one EInvoiceSpotIdTable_MX record
SATWeightUnit_MX→EInvoiceExtCodeTable_MXJoin on
WeightUnit_MX = EInvoiceExtCodeTable_MX.CodeId,EInvoiceExtCodeTable_MX.CodeType = EInvoiceExtCodeType_MX::WeightUnitMany 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.
TransportationDocumentEntity· 10 fields from this tableSalesOrderHeaderV4Entity· 1 field from this tableSalesOrderHeaderV3Entity· 1 field from this tablePurchPurchaseOrderHeaderV2Entity· 1 field from this tableSalesOrderHeaderV2Entity· 1 field from this tableAssetPackingSlipEntity· 10 fields from this tablePurchPurchaseOrderHeaderEntity· 1 field from this tableSalesOrderHeaderEntity· 1 field from this tablePurchPurchaseOrderConfirmationHeaderEntity· 1 field from this tableSalesOrderHeaderV2ExistAddrReadOnlyEntity· 1 field from this tableSalesOrderHeaderV3ExistAddrReadOnlyEntity· 1 field from this tableFreeTextInvoiceHeaderEntity· 1 field from this table
Need help with TransportationDocument in a report, an integration or a migration? Talk to Dr Dynamics.