Table

TMSMiscellaneousCharge

Miscellaneous charges

Holds miscellaneous charge rules for transportation. Each record ties a charges code to selection criteria such as carrier, service, mode, method, customer, warehouse, site and delivery terms, with an effective date range. It has no defined key.

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

Fields (26)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccessorialMasterCodeAccessorial master that the charge refers to.String (20)
TMSAccessorialMasterCode
NoTMSAccessorialMaster.AccessorialMasterCodeNone
CarrierCodeShipping carrier that the charge applies to.String (20)
TMSCarrierCode
NoTMSCarrier.CarrierCodeNone
CarrierServiceCodeCarrier service that the charge applies to.String (20)
TMSCarrierServiceCode
NoNone
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
CustomerInvoiceCodeCustomer invoice account that the charge applies to.String (20)
TMSCustomerInvoiceCode
NoCustTable.AccountNumNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EffectiveUTCDateTimeFromDate and time from which the charge is effective.UtcDateTime
TMSEffectiveUTCDateTimeFrom
NoNone
EffectiveUTCDateTimeToDate and time at which the charge stops being effective.UtcDateTime
TMSEffectiveUTCDateTimeTo
NoNone
FreightTermCodeTerms of delivery that the charge applies to.String
TMSFreightTermCode
NoDlvTerm.CodeNone
IgnoreYes/No value that marks the record to be ignored.low confidenceEnum
TMSIgnore
NoYes (enum)
NoNone
InventLocationIdWarehouse that the charge applies to.String
InventLocationId
NoInventLocation.InventLocationIdNone
InventSiteIdSite that the charge applies to.String
InventSiteId
NoInventSite.SiteIdNone
MethodCodeTransportation method that the charge applies to.String (20)
TMSMethodCode
NoTMSMethod.MethodCodeNone
MiscChargeTypeType of the charge: Customer, Shipper or None.Enum
TMSMiscChargeType
TMSDiscountType (enum)
NoNone
MiscellaneousChargeCodeCharges code from the charges setup. It is read together with the charges module.String
MarkupCode
NoMarkupTable.MarkupCodeNone
MiscMarkupCategoryCategory of the charge, such as fixed, percent or per piece.Enum
MarkupCategoryType
MarkupCategory (enum)
NoNone
ModeCodeTransportation mode that the charge applies to.String (20)
TMSModeCode
NoTMSMode.ModeCodeNone
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
ModuleTypeArea the charges code comes from: Inventory, Customer, Vendor or Delivery.Enum
MarkupModule
MarkupModuleType (enum)
NoMarkupTable.ModuleTypeNone
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

Relations (10)

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

  • CustTable → CustTable

    Join on CustomerInvoiceCode = CustTable.AccountNum

    Many TMSMiscellaneousCharge records → zero or one CustTable record

  • DlvTerm → DlvTerm

    Join on FreightTermCode = DlvTerm.Code

    Many TMSMiscellaneousCharge records → exactly one DlvTerm record

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    Many TMSMiscellaneousCharge records → zero or one InventLocation record

  • InventSite → InventSite

    Join on InventSiteId = InventSite.SiteId

    Many TMSMiscellaneousCharge records → zero or one InventSite record

  • MarkupTable → MarkupTable

    Join on MiscellaneousChargeCode = MarkupTable.MarkupCode, ModuleType = MarkupTable.ModuleType

    Many TMSMiscellaneousCharge records → zero or one MarkupTable record

  • TMSAccessorialMaster → TMSAccessorialMaster

    Join on AccessorialMasterCode = TMSAccessorialMaster.AccessorialMasterCode

    Many TMSMiscellaneousCharge records → exactly one TMSAccessorialMaster record

  • TMSCarrier → TMSCarrier

    Join on CarrierCode = TMSCarrier.CarrierCode

    Many TMSMiscellaneousCharge records → exactly one TMSCarrier record

  • TMSCarrierService → TMSCarrierService

    Join on CarrierServiceCode = TMSCarrierService.CarrierServiceCode

    Many TMSMiscellaneousCharge records → zero or one TMSCarrierService record

  • TMSMethod → TMSMethod

    Join on MethodCode = TMSMethod.MethodCode

    Many TMSMiscellaneousCharge records → zero or one TMSMethod record

  • TMSMode → TMSMode

    Join on ModeCode = TMSMode.ModeCode

    Many TMSMiscellaneousCharge records → zero or one TMSMode record

Get this data out

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

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

Email sales@drdynamics.co.uk