Table
TMSPurchTable
Purch Table Additional Fields
Holds extra transportation fields for a purchase order, one record per order. It stores carrier, carrier group, service, mode, route plan and transportation template.
- Table name
TMSPurchTable- Module
Transportation management- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
PurchIdx- Replacement key
PurchIdx- Key fields
PurchId- Model
Foundation
Fields (17)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PurchIdPurchase order that these transportation details belong to. | String (20)PurchIdBase | Yes | PurchTable.PurchId | None |
CarrierCodeShipping carrier for the purchase order. | String (20)TMSCarrierCode | No | TMSCarrier.CarrierCode | PurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntity |
CarrierGroupCodeCarrier group for the purchase order. | String (20)TMSCarrierGroupCode | No | TMSCarrierGroup.CarrierGroupCode | PurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntity |
CarrierServiceCodeService of the chosen carrier. | String (20)TMSCarrierServiceCode | No | TMSCarrierService.CarrierServiceCode | PurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntity |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ModeCodeTransportation mode for the order. | String (20)TMSModeCode | No | TMSMode.ModeCode | PurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntity |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | 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 | |
RouteConfigCodeRoute plan used for the order. | String (20)TMSRouteConfigCode | No | TMSRouteConfig.RouteConfigCode | PurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntity |
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 | |
TransportationTemplateIdTransportation template used for the order. | String (20)TMSTransportationTemplateId | No | TMSTransportationTemplate.TransportationTemplateId | PurchPurchaseOrderHeaderV2EntityPurchPurchaseOrderHeaderEntity |
Indexes (1)
PurchIdxPrimary indexReplacement keyUnique, alternate key.
Relations (7)
Each relation joins TMSPurchTable to another table on the fields shown.
PurchTable→PurchTableJoin on
PurchId = PurchTable.PurchIdZero or one TMSPurchTable record → exactly one PurchTable record
TMSCarrier→TMSCarrierJoin on
CarrierCode = TMSCarrier.CarrierCodeMany TMSPurchTable records → zero or one TMSCarrier record
TMSCarrierGroup→TMSCarrierGroupJoin on
CarrierGroupCode = TMSCarrierGroup.CarrierGroupCodeMany TMSPurchTable records → zero or one TMSCarrierGroup record
TMSCarrierService→TMSCarrierServiceJoin on
CarrierCode = TMSCarrierService.CarrierCode,CarrierServiceCode = TMSCarrierService.CarrierServiceCodeMany TMSPurchTable records → zero or one TMSCarrierService record
TMSMode→TMSModeJoin on
ModeCode = TMSMode.ModeCodeMany TMSPurchTable records → zero or one TMSMode record
TMSRouteConfig→TMSRouteConfigJoin on
RouteConfigCode = TMSRouteConfig.RouteConfigCodeMany TMSPurchTable records → zero or one TMSRouteConfig record
TMSTransportationTemplateId→TMSTransportationTemplateJoin on
TransportationTemplateId = TMSTransportationTemplate.TransportationTemplateIdMany TMSPurchTable records → zero or one TMSTransportationTemplate record
Get this data out
Tables are not exposed directly. These public entities read from TMSPurchTable; use one of them in Power BI, Power Platform or a data management project.
PurchPurchaseOrderHeaderV2Entity· 6 fields from this tablePurchPurchaseOrderHeaderEntity· 6 fields from this table
Need help with TMSPurchTable in a report, an integration or a migration? Talk to Dr Dynamics.