Table
TAMDeductionUpdateHistory
Deduction events
History of events on deductions, such as create, match, deny, write-off, reverse and split. Each row names the deduction, the event type, the amount and the related journal line and customer transaction. It has no defined key.
- Table name
TAMDeductionUpdateHistory- Module
Sales and marketing- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
TAMPromotionsManagement- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (17)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AmountCurAmount of the event. | RealAmountCur | No | 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 | |
CustTransOpenRecIdOpen customer transaction linked to the event. | Int64CustTransOpenRefRecId | No | None | |
CustTransRecIdCustomer transaction linked to the event. | Int64CustTransRefRecId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
HcmWorkerIdWorker who owns the deduction event. | Int64HcmApprover | No | HcmWorker.RecId | None |
LedgerJournalIdJournal batch number linked to the event. | String (20)LedgerJournalId | Yes | LedgerJournalTable.JournalNum | None |
LedgerJournalTransRecIdJournal line linked to the event. | Int64LedgerJournalTransRefRecId | Yes | LedgerJournalTrans.RecId | 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 | |
ReversedYes or no flag showing whether the event was reversed. | EnumReversedNoYes (enum) | No | None | |
SourceRecIdRecord ID of the source record for the event. The table it points to is not stated.low confidence | Int64RefRecId | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TAMDeductionIDDeduction the event belongs to. | String (20)TAMDeductionID | Yes | TAMDeduction.TAMDeductionID | None |
TAMDeductionUpdateTypeKind of event, such as create, match, deny, write-off, split or a reversal. | EnumTAMDeductionUpdateType (enum) | Yes | None |
Indexes (1)
DeductionIDIdxTAMDeductionID,TAMDeductionUpdateTypeNot unique.
Relations (4)
Each relation joins TAMDeductionUpdateHistory to another table on the fields shown.
HcmWorker→HcmWorkerJoin on
HcmWorkerId = HcmWorker.RecIdMany TAMDeductionUpdateHistory records → zero or one HcmWorker record
LedgerJournalTable→LedgerJournalTableJoin on
LedgerJournalId = LedgerJournalTable.JournalNumOne or more TAMDeductionUpdateHistory records → exactly one LedgerJournalTable record
LedgerJournalTrans→LedgerJournalTransJoin on
LedgerJournalTransRecId = LedgerJournalTrans.RecIdMany TAMDeductionUpdateHistory records → exactly one LedgerJournalTrans record
TAMDeduction→TAMDeductionJoin on
TAMDeductionID = TAMDeduction.TAMDeductionIDOne or more TAMDeductionUpdateHistory records → exactly one TAMDeduction record
Get this data out
No public entity reads from TAMDeductionUpdateHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with TAMDeductionUpdateHistory in a report, an integration or a migration? Talk to Dr Dynamics.