Table

TMSShipmentAccessorialTable

Shipment accessorial charges

Holds accessorial (extra) charges for a shipment. No key is defined in the metadata. Each row names the accessorial master, carrier and carrier service, and the level at which the charge applies. It links to the shipment, container and accessorial assignment.

Table name
TMSShipmentAccessorialTable
Module
Transportation management
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (22)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccessorialAssignmentLevelLevel the accessorial is assigned at: shipment, package, load or hub.Enum
TMSAccessorialAssignmentLevel (enum)
NoNone
AccessorialDeliveryTypeKind of delivery option, such as COD, Saturday delivery or signature confirmation.Enum
TMSAccessorialDeliveryType (enum)
NoNone
AccessorialMasterCodeAccessorial master code that identifies the type of extra charge.String (20)
TMSAccessorialMasterCode
NoTMSAccessorialMaster.AccessorialMasterCodeNone
CarrierAccessorialIdID of the carrier accessorial charge.String (20)
TMSCarrierAccessorialId
NoTMSCarrierAccessorial.CarrierAccessorialIdNone
CarrierCodeShipping carrier for the charge.String (20)
TMSCarrierCode
NoTMSCarrier.CarrierCodeNone
CarrierServiceCodeCarrier service for the charge.String (20)
TMSCarrierServiceCode
NoNone
ContainerIdContainer the charge relates to.String (25)
WHSContainerId
NoWHSContainerTable.ContainerIdNone
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
CurrencyCodeCurrency code for the charge.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
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
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RateCurRate value for the charge; the currency is not stated in the metadata.Real
TMSRate
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
RefRecIdSystem record ID of the related accessorial assignment.Int64
RefRecId
NoNone
RefTableIdID of the table the reference points to.Integer
RefTableId
NoNone
RouteAccessorialLevelRoute level of the accessorial: route, segment, load, shipment or container.Enum
TMSRouteAccessorialLevel (enum)
NoNone
ShipmentIdShipment the charge relates to.String (20)
WHSShipmentId
YesWHSShipmentTable.ShipmentIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (8)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many TMSShipmentAccessorialTable records → zero or one Currency record

  • TMSAccessorialAssignment → TMSAccessorialAssignment

    Join on RefTableId = TMSAccessorialAssignment.TableId, RefRecId = TMSAccessorialAssignment.RecId

    Many TMSShipmentAccessorialTable records → zero or one TMSAccessorialAssignment record

  • TMSAccessorialMaster → TMSAccessorialMaster

    Join on AccessorialMasterCode = TMSAccessorialMaster.AccessorialMasterCode

    Many TMSShipmentAccessorialTable records → exactly one TMSAccessorialMaster record

  • TMSCarrier → TMSCarrier

    Join on CarrierCode = TMSCarrier.CarrierCode

    Many TMSShipmentAccessorialTable records → exactly one TMSCarrier record

  • TMSCarrierAccessorial → TMSCarrierAccessorial

    Join on CarrierAccessorialId = TMSCarrierAccessorial.CarrierAccessorialId

    Many TMSShipmentAccessorialTable records → zero or one TMSCarrierAccessorial record

  • TMSCarrierService → TMSCarrierService

    Join on CarrierServiceCode = TMSCarrierService.CarrierServiceCode

    Many TMSShipmentAccessorialTable records → zero or one TMSCarrierService record

  • WHSContainerTable → WHSContainerTable

    Join on ContainerId = WHSContainerTable.ContainerId

    Many TMSShipmentAccessorialTable records → zero or one WHSContainerTable record

  • WHSShipmentTable → WHSShipmentTable

    Join on ShipmentId = WHSShipmentTable.ShipmentId

    Many TMSShipmentAccessorialTable records → exactly one WHSShipmentTable record

Get this data out

No public entity reads from TMSShipmentAccessorialTable. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk