Table

TMSFreightMatchReason

Reconciliation reasons

Lists reasons that can be used when reconciling freight bills, identified by a reason code. Each reason has a description, credit and debit accounts, and flags for overriding accounts and paying the freight vendor.

Table name
TMSFreightMatchReason
Module
Transportation management
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
ReasonCode
Replacement key
ReasonCode
Key fields
FreightReasonCode
Model
Foundation

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
FreightReasonCodeUnique code of the reconciliation reason.String (20)
TMSFreightReasonCode
YesNone
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
DescriptionShort text describing the reconciliation reason.String (60)
Description
NoNone
LedgerAccountMain account used as the credit account for this reason.String (20)
MainAccountNum
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
OffAcctLedgerDimensionDebit account for this reason, held as a link to a dimension code combination.Int64
TMSVendOffAcctLedgerDimension
NoDimensionAttributeValueCombination.RecIdNone
OverrideAcctsYes/No flag for overriding the accounts.Enum
TMSOverrideAccts
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PayAmountYes/No flag showing whether the freight vendor is paid the amount.Enum
TMSPayAmount
NoYes (enum)
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (3)

Relations (2)

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

  • DimensionAttributeValueCombination → DimensionAttributeValueCombination

    Join on OffAcctLedgerDimension = DimensionAttributeValueCombination.RecId

    Many TMSFreightMatchReason records → zero or one DimensionAttributeValueCombination record

  • MainAccount → MainAccount

    Join on LedgerAccount = MainAccount.MainAccountId

    Many TMSFreightMatchReason records → zero or one MainAccount record

Get this data out

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

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

Email sales@drdynamics.co.uk