Table
TMSAppointment
Appointment
Holds transportation appointments, each identified by an appointment ID. An appointment has a planned start and end time, a status, a direction, and the carrier, broker, warehouse, site and location involved. It can refer to a sales order, purchase order or load.
- Table name
TMSAppointment- Module
Transportation management- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
ApptIdx- Replacement key
ApptIdx- Key fields
ApptId- Model
Foundation
Fields (31)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ApptIdUnique ID of the appointment. | String (20)TMSApptId | Yes | TMSTransportationAppointmentEntity | |
AccountNumAccount number linked to the appointment. | String (20)WHSAccountNum | No | None | |
ApptCustomerPickupYes or No value showing whether the customer may collect the goods. | EnumTMSApptCustomerPickupNoYes (enum) | No | TMSTransportationAppointmentEntity | |
ApptDirectionDirection of the goods movement: both, inbound or outbound. | EnumTMSApptDirection (enum) | No | TMSTransportationAppointmentEntity | |
ApptFromUTCDateTimePlanned start date and time of the appointment. | UtcDateTimeTMSApptFromUTCDateTime | Yes | TMSTransportationAppointmentEntity | |
ApptNoteFree-text note for the appointment. | String (100)TMSApptNote | No | TMSTransportationAppointmentEntity | |
ApptRefNumNumber of the order or load that the appointment refers to. Depending on the reference type, it is a purchase order, sales order or load. | String (20)TMSApptRefNum | No | PurchTable.PurchIdSalesTable.SalesIdWHSLoadTable.LoadId | None |
ApptRefTypeType of document in the reference number: none, sales order, purchase order or load. | EnumTMSApptRefType (enum) | No | None | |
ApptStatusCurrent status of the appointment, such as tentative, firmed, checked in or completed. | EnumTMSApptStatus (enum) | No | TMSTransportationAppointmentEntity | |
ApptToUTCDateTimePlanned end date and time of the appointment. | UtcDateTimeTMSApptToUTCDateTime | Yes | TMSTransportationAppointmentEntity | |
BrokerCodeCode of the broker for the appointment. It points to a carrier record. | String (20)TMSBrokerCode | No | TMSCarrier.CarrierCode | TMSTransportationAppointmentEntity |
CalendarTypeIdID of the appointment rule used. It points to a calendar type record. | String (20)TMSCalendarTypeId | Yes | TMSCalendarType.CalendarTypeId | TMSTransportationAppointmentEntity |
CarrierCodeCode of the shipping carrier for the appointment. It points to a carrier record. | String (20)TMSCarrierCode | No | TMSCarrier.CarrierCode | TMSTransportationAppointmentEntity |
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 | |
InventLocationIdWarehouse where the appointment takes place. | StringInventLocationId | No | InventLocation.InventLocationId | TMSTransportationAppointmentEntity |
InventSiteIdSite where the appointment takes place. | StringInventSiteId | No | InventSite.SiteId | TMSTransportationAppointmentEntity |
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 | |
NameName of the appointment. | String (60)TMSName | No | TMSTransportationAppointmentEntity | |
OrderNumOrder number linked to the appointment. | String (20)WHSOrderNum | 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 | |
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 | |
TractorNumberNumber of the tractor (truck unit) used. | String (30)TMSTractorNumber | No | TMSTransportationAppointmentEntity | |
TrailerNumberNumber of the trailer used. | String (30)WHSTrailerNumber | No | TMSTransportationAppointmentEntity | |
WHSShippingContainerIdID of the shipping container linked to the appointment. | String (30)WHSShippingContainerId | No | TMSTransportationAppointmentEntity | |
WMSLocationIdWarehouse location for the appointment. It is matched on warehouse as well. | StringWMSLocationId | No | WMSLocation.wMSLocationId | TMSTransportationAppointmentEntity |
Indexes (2)
ApptIdxPrimary indexReplacement keyUnique, alternate key.
ApptRefNumRefTypeNot unique.
Relations (10)
Each relation joins TMSAppointment to another table on the fields shown.
InventLocation→InventLocationJoin on
InventLocationId = InventLocation.InventLocationIdMany TMSAppointment records → zero or one InventLocation record
InventSite→InventSiteJoin on
InventSiteId = InventSite.SiteIdMany TMSAppointment records → zero or one InventSite record
PurchTable→PurchTableJoin on
ApptRefType = TMSApptRefType::Purch,ApptRefNum = PurchTable.PurchIdMany TMSAppointment records → zero or one PurchTable record
SalesTable→SalesTableJoin on
ApptRefType = TMSApptRefType::Sales,ApptRefNum = SalesTable.SalesIdMany TMSAppointment records → zero or one SalesTable record
TMSBroker→TMSCarrierJoin on
BrokerCode = TMSCarrier.CarrierCodeMany TMSAppointment records → zero or one TMSCarrier record
TMSCalendarType→TMSCalendarTypeJoin on
CalendarTypeId = TMSCalendarType.CalendarTypeIdMany TMSAppointment records → exactly one TMSCalendarType record
TMSCarrier→TMSCarrierJoin on
CarrierCode = TMSCarrier.CarrierCodeMany TMSAppointment records → exactly one TMSCarrier record
WHSLoadTable→WHSLoadTableJoin on
ApptRefNum = WHSLoadTable.LoadId,ApptRefType = TMSApptRefType::LoadMany TMSAppointment records → zero or one WHSLoadTable record
WHSShipment→WHSShipmentTableJoin on
ApptRefNum = WHSShipmentTable.LoadId,ApptRefType = TMSApptRefType::LoadMany TMSAppointment records → zero or one WHSShipmentTable record
WMSLocation→WMSLocationJoin on
InventLocationId = WMSLocation.inventLocationId,WMSLocationId = WMSLocation.wMSLocationIdMany TMSAppointment records → zero or one WMSLocation record
Get this data out
Tables are not exposed directly. These public entities read from TMSAppointment; use one of them in Power BI, Power Platform or a data management project.
TMSTransportationAppointmentEntity· 17 fields from this tableTMSTransportationAppointmentDriverLogEntity· 0 fields from this table
Need help with TMSAppointment in a report, an integration or a migration? Talk to Dr Dynamics.