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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AmountCurAmount of the event.Real
AmountCur
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
CustTransOpenRecIdOpen customer transaction linked to the event.Int64
CustTransOpenRefRecId
NoNone
CustTransRecIdCustomer transaction linked to the event.Int64
CustTransRefRecId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
HcmWorkerIdWorker who owns the deduction event.Int64
HcmApprover
NoHcmWorker.RecIdNone
LedgerJournalIdJournal batch number linked to the event.String (20)
LedgerJournalId
YesLedgerJournalTable.JournalNumNone
LedgerJournalTransRecIdJournal line linked to the event.Int64
LedgerJournalTransRefRecId
YesLedgerJournalTrans.RecIdNone
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
ReversedYes or no flag showing whether the event was reversed.Enum
Reversed
NoYes (enum)
NoNone
SourceRecIdRecord ID of the source record for the event. The table it points to is not stated.low confidenceInt64
RefRecId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TAMDeductionIDDeduction the event belongs to.String (20)
TAMDeductionID
YesTAMDeduction.TAMDeductionIDNone
TAMDeductionUpdateTypeKind of event, such as create, match, deny, write-off, split or a reversal.Enum
TAMDeductionUpdateType (enum)
YesNone

Indexes (1)

Relations (4)

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

  • HcmWorker → HcmWorker

    Join on HcmWorkerId = HcmWorker.RecId

    Many TAMDeductionUpdateHistory records → zero or one HcmWorker record

  • LedgerJournalTable → LedgerJournalTable

    Join on LedgerJournalId = LedgerJournalTable.JournalNum

    One or more TAMDeductionUpdateHistory records → exactly one LedgerJournalTable record

  • LedgerJournalTrans → LedgerJournalTrans

    Join on LedgerJournalTransRecId = LedgerJournalTrans.RecId

    Many TAMDeductionUpdateHistory records → exactly one LedgerJournalTrans record

  • TAMDeduction → TAMDeduction

    Join on TAMDeductionID = TAMDeduction.TAMDeductionID

    One 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.

Email sales@drdynamics.co.uk