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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ClaimReasonIdCode that identifies the claim reason. | String (15)TAMDeductionClaimReasonId | Yes | TAMPaymDeductionReasonEntity | |
ClaimBasisShows whether the claim is based on price or on quantity. | EnumTAMDeductionClaimBasis (enum) | No | TAMPaymDeductionReasonEntity | |
ClaimPostingLedgerDimensionPoints to the dimension combination used as the account for claim posting. | Int64TAMDeductionClaimPostingLedgerDimension | No | DimensionAttributeValueCombination.RecId | TAMPaymDeductionReasonEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeductionTypePoints to the deduction type for this reason. | String (20)TAMDeductionType | Yes | TAMDeductionTypeTable.TAMDeductionType | TAMPaymDeductionReasonEntity |
DescriptionShort text describing the deduction reason. | String (60)Description | No | TAMPaymDeductionReasonEntity | |
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 | |
ReturnReasonCodeIdPoints to the return reason code linked to this deduction reason. | StringReturnReasonCodeId | No | ReturnReasonCode.ReasonCodeId | TAMPaymDeductionReasonEntity |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
ClaimReasonIdxPrimary indexUnique, alternate key.
Relations (3)
Each relation joins TAMPaymDeductionReason to another table on the fields shown.
ReturnReasonCode→ReturnReasonCodeJoin on
ReturnReasonCodeId = ReturnReasonCode.ReasonCodeIdMany TAMPaymDeductionReason records → exactly one ReturnReasonCode record
ClaimPostingLedgerDimension→DimensionAttributeValueCombinationJoin on
ClaimPostingLedgerDimension = DimensionAttributeValueCombination.RecIdMany TAMPaymDeductionReason records → zero or one DimensionAttributeValueCombination record
DeductionType→TAMDeductionTypeTableJoin on
DeductionType = TAMDeductionTypeTable.TAMDeductionTypeMany 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.
TAMPaymDeductionReasonEntity· 6 fields from this table
Need help with TAMPaymDeductionReason in a report, an integration or a migration? Talk to Dr Dynamics.