Table

TAMPaymDeductionReason

Deduction reasons

Holds deduction reasons, keyed by claim reason. Each reason has a description, a claim basis (price or quantity), and optional links to a return reason code, a deduction type and a ledger account for claim posting.

Table name
TAMPaymDeductionReason
Module
Cross-module and platform
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
ClaimReasonIdx
Replacement key
None
Key fields
ClaimReasonId
Model
RebatesAndDeductions

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ClaimReasonIdCode that identifies the claim reason.String (15)
TAMDeductionClaimReasonId
YesTAMPaymDeductionReasonEntity
ClaimBasisShows whether the claim is based on price or on quantity.Enum
TAMDeductionClaimBasis (enum)
NoTAMPaymDeductionReasonEntity
ClaimPostingLedgerDimensionPoints to the dimension combination used as the account for claim posting.Int64
TAMDeductionClaimPostingLedgerDimension
NoDimensionAttributeValueCombination.RecIdTAMPaymDeductionReasonEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeductionTypePoints to the deduction type for this reason.String (20)
TAMDeductionType
YesTAMDeductionTypeTable.TAMDeductionTypeTAMPaymDeductionReasonEntity
DescriptionShort text describing the deduction reason.String (60)
Description
NoTAMPaymDeductionReasonEntity
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
ReturnReasonCodeIdPoints to the return reason code linked to this deduction reason.String
ReturnReasonCodeId
NoReturnReasonCode.ReasonCodeIdTAMPaymDeductionReasonEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

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

  • ReturnReasonCode → ReturnReasonCode

    Join on ReturnReasonCodeId = ReturnReasonCode.ReasonCodeId

    Many TAMPaymDeductionReason records → exactly one ReturnReasonCode record

  • ClaimPostingLedgerDimension → DimensionAttributeValueCombination

    Join on ClaimPostingLedgerDimension = DimensionAttributeValueCombination.RecId

    Many TAMPaymDeductionReason records → zero or one DimensionAttributeValueCombination record

  • DeductionType → TAMDeductionTypeTable

    Join on DeductionType = TAMDeductionTypeTable.TAMDeductionType

    Many TAMPaymDeductionReason records → exactly one TAMDeductionTypeTable record

Get this data out

Tables are not exposed directly. These public entities read from TAMPaymDeductionReason; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk