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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ApptIdUnique ID of the appointment.String (20)
TMSApptId
YesTMSTransportationAppointmentEntity
AccountNumAccount number linked to the appointment.String (20)
WHSAccountNum
NoNone
ApptCustomerPickupYes or No value showing whether the customer may collect the goods.Enum
TMSApptCustomerPickup
NoYes (enum)
NoTMSTransportationAppointmentEntity
ApptDirectionDirection of the goods movement: both, inbound or outbound.Enum
TMSApptDirection (enum)
NoTMSTransportationAppointmentEntity
ApptFromUTCDateTimePlanned start date and time of the appointment.UtcDateTime
TMSApptFromUTCDateTime
YesTMSTransportationAppointmentEntity
ApptNoteFree-text note for the appointment.String (100)
TMSApptNote
NoTMSTransportationAppointmentEntity
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
NoPurchTable.PurchIdSalesTable.SalesIdWHSLoadTable.LoadIdNone
ApptRefTypeType of document in the reference number: none, sales order, purchase order or load.Enum
TMSApptRefType (enum)
NoNone
ApptStatusCurrent status of the appointment, such as tentative, firmed, checked in or completed.Enum
TMSApptStatus (enum)
NoTMSTransportationAppointmentEntity
ApptToUTCDateTimePlanned end date and time of the appointment.UtcDateTime
TMSApptToUTCDateTime
YesTMSTransportationAppointmentEntity
BrokerCodeCode of the broker for the appointment. It points to a carrier record.String (20)
TMSBrokerCode
NoTMSCarrier.CarrierCodeTMSTransportationAppointmentEntity
CalendarTypeIdID of the appointment rule used. It points to a calendar type record.String (20)
TMSCalendarTypeId
YesTMSCalendarType.CalendarTypeIdTMSTransportationAppointmentEntity
CarrierCodeCode of the shipping carrier for the appointment. It points to a carrier record.String (20)
TMSCarrierCode
NoTMSCarrier.CarrierCodeTMSTransportationAppointmentEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventLocationIdWarehouse where the appointment takes place.String
InventLocationId
NoInventLocation.InventLocationIdTMSTransportationAppointmentEntity
InventSiteIdSite where the appointment takes place.String
InventSiteId
NoInventSite.SiteIdTMSTransportationAppointmentEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
NameName of the appointment.String (60)
TMSName
NoTMSTransportationAppointmentEntity
OrderNumOrder number linked to the appointment.String (20)
WHSOrderNum
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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
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
TractorNumberNumber of the tractor (truck unit) used.String (30)
TMSTractorNumber
NoTMSTransportationAppointmentEntity
TrailerNumberNumber of the trailer used.String (30)
WHSTrailerNumber
NoTMSTransportationAppointmentEntity
WHSShippingContainerIdID of the shipping container linked to the appointment.String (30)
WHSShippingContainerId
NoTMSTransportationAppointmentEntity
WMSLocationIdWarehouse location for the appointment. It is matched on warehouse as well.String
WMSLocationId
NoWMSLocation.wMSLocationIdTMSTransportationAppointmentEntity

Indexes (2)

Relations (10)

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

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    Many TMSAppointment records → zero or one InventLocation record

  • InventSite → InventSite

    Join on InventSiteId = InventSite.SiteId

    Many TMSAppointment records → zero or one InventSite record

  • PurchTable → PurchTable

    Join on ApptRefType = TMSApptRefType::Purch, ApptRefNum = PurchTable.PurchId

    Many TMSAppointment records → zero or one PurchTable record

  • SalesTable → SalesTable

    Join on ApptRefType = TMSApptRefType::Sales, ApptRefNum = SalesTable.SalesId

    Many TMSAppointment records → zero or one SalesTable record

  • TMSBroker → TMSCarrier

    Join on BrokerCode = TMSCarrier.CarrierCode

    Many TMSAppointment records → zero or one TMSCarrier record

  • TMSCalendarType → TMSCalendarType

    Join on CalendarTypeId = TMSCalendarType.CalendarTypeId

    Many TMSAppointment records → exactly one TMSCalendarType record

  • TMSCarrier → TMSCarrier

    Join on CarrierCode = TMSCarrier.CarrierCode

    Many TMSAppointment records → exactly one TMSCarrier record

  • WHSLoadTable → WHSLoadTable

    Join on ApptRefNum = WHSLoadTable.LoadId, ApptRefType = TMSApptRefType::Load

    Many TMSAppointment records → zero or one WHSLoadTable record

  • WHSShipment → WHSShipmentTable

    Join on ApptRefNum = WHSShipmentTable.LoadId, ApptRefType = TMSApptRefType::Load

    Many TMSAppointment records → zero or one WHSShipmentTable record

  • WMSLocation → WMSLocation

    Join on InventLocationId = WMSLocation.inventLocationId, WMSLocationId = WMSLocation.wMSLocationId

    Many 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.

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

Email sales@drdynamics.co.uk