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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AuditMasterIdUnique ID of the audit master. | StringTMSAuditMasterId | Yes | None | |
AuditToleranceMaxMaximum tolerance level. | RealTMSAuditToleranceMax | No | None | |
AuditToleranceMinMinimum tolerance level. | RealTMSAuditToleranceMin | No | None | |
AuditTypeMaxWhether the maximum tolerance is a percentage or an amount. | EnumTMSAuditTypeMaxTMSAuditType (enum) | No | None | |
AuditTypeMinWhether the minimum tolerance is a percentage or an amount. | EnumTMSAuditTypeMinTMSAuditType (enum) | No | None | |
CarrierCodeShipping carrier the rule applies to. | String (20)TMSCarrierCode | Yes | TMSCarrier.CarrierCode | None |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
FreightBillTypeIdFreight bill type the rule applies to. | String (20)TMSFreightBillTypeId | Yes | TMSFreightBillType.FreightBillTypeId | None |
InventLocationIdWarehouse the rule applies to. | StringInventLocationId | No | InventLocation.InventLocationId | None |
InventSiteIdSite the rule applies to. | StringInventSiteId | No | InventSite.SiteId | None |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
OverageReasonCodeReason code used for overpayment, linked to the reconciliation reasons. | String (20)TMSOverageReasonCode | Yes | TMSFreightMatchReason.FreightReasonCode | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SequenceSequence number of the rule. | IntegerTMSSequence | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UnderageReasonCodeReason code used for underpayment, linked to the reconciliation reasons. | String (20)TMSUnderageReasonCode | Yes | TMSFreightMatchReason.FreightReasonCode | None |
Indexes (1)
AuditMasterIdxPrimary indexReplacement keyUnique, alternate key.
Relations (6)
Each relation joins TMSAuditMaster to another table on the fields shown.
InventLocation→InventLocationJoin on
InventLocationId = InventLocation.InventLocationIdMany TMSAuditMaster records → zero or one InventLocation record
InventSite→InventSiteJoin on
InventSiteId = InventSite.SiteIdMany TMSAuditMaster records → zero or one InventSite record
OverageReasonCode→TMSFreightMatchReasonJoin on
OverageReasonCode = TMSFreightMatchReason.FreightReasonCodeMany TMSAuditMaster records → exactly one TMSFreightMatchReason record
TMSCarrier→TMSCarrierJoin on
CarrierCode = TMSCarrier.CarrierCodeMany TMSAuditMaster records → exactly one TMSCarrier record
TMSFreightBillType→TMSFreightBillTypeJoin on
FreightBillTypeId = TMSFreightBillType.FreightBillTypeIdMany TMSAuditMaster records → exactly one TMSFreightBillType record
UnderageReasonCode→TMSFreightMatchReasonJoin on
TMSFreightMatchReason.PayAmount = null,UnderageReasonCode = TMSFreightMatchReason.FreightReasonCodeMany 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.