Table

TMSAuditMaster

Audit master

Audit rules for freight billing, keyed by audit master ID. Each row sets minimum and maximum tolerances and reason codes for underpayment and overpayment. It can be limited by carrier, freight bill type, warehouse and site.

Table name
TMSAuditMaster
Module
Transportation management
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
AuditMasterIdx
Replacement key
AuditMasterIdx
Key fields
AuditMasterId
Model
Foundation

Fields (21)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AuditMasterIdUnique ID of the audit master.String
TMSAuditMasterId
YesNone
AuditToleranceMaxMaximum tolerance level.Real
TMSAuditToleranceMax
NoNone
AuditToleranceMinMinimum tolerance level.Real
TMSAuditToleranceMin
NoNone
AuditTypeMaxWhether the maximum tolerance is a percentage or an amount.Enum
TMSAuditTypeMax
TMSAuditType (enum)
NoNone
AuditTypeMinWhether the minimum tolerance is a percentage or an amount.Enum
TMSAuditTypeMin
TMSAuditType (enum)
NoNone
CarrierCodeShipping carrier the rule applies to.String (20)
TMSCarrierCode
YesTMSCarrier.CarrierCodeNone
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
FreightBillTypeIdFreight bill type the rule applies to.String (20)
TMSFreightBillTypeId
YesTMSFreightBillType.FreightBillTypeIdNone
InventLocationIdWarehouse the rule applies to.String
InventLocationId
NoInventLocation.InventLocationIdNone
InventSiteIdSite the rule applies to.String
InventSiteId
NoInventSite.SiteIdNone
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
OverageReasonCodeReason code used for overpayment, linked to the reconciliation reasons.String (20)
TMSOverageReasonCode
YesTMSFreightMatchReason.FreightReasonCodeNone
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
SequenceSequence number of the rule.Integer
TMSSequence
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UnderageReasonCodeReason code used for underpayment, linked to the reconciliation reasons.String (20)
TMSUnderageReasonCode
YesTMSFreightMatchReason.FreightReasonCodeNone

Indexes (1)

  • AuditMasterIdxPrimary indexReplacement key

    AuditMasterId

    Unique, alternate key.

Relations (6)

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

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    Many TMSAuditMaster records → zero or one InventLocation record

  • InventSite → InventSite

    Join on InventSiteId = InventSite.SiteId

    Many TMSAuditMaster records → zero or one InventSite record

  • OverageReasonCode → TMSFreightMatchReason

    Join on OverageReasonCode = TMSFreightMatchReason.FreightReasonCode

    Many TMSAuditMaster records → exactly one TMSFreightMatchReason record

  • TMSCarrier → TMSCarrier

    Join on CarrierCode = TMSCarrier.CarrierCode

    Many TMSAuditMaster records → exactly one TMSCarrier record

  • TMSFreightBillType → TMSFreightBillType

    Join on FreightBillTypeId = TMSFreightBillType.FreightBillTypeId

    Many TMSAuditMaster records → exactly one TMSFreightBillType record

  • UnderageReasonCode → TMSFreightMatchReason

    Join on TMSFreightMatchReason.PayAmount = null, UnderageReasonCode = TMSFreightMatchReason.FreightReasonCode

    Many TMSAuditMaster records → exactly one TMSFreightMatchReason record

Get this data out

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

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

Email sales@drdynamics.co.uk