RPayTaxImposeFunc.calcDeduction Method [AX 2012]
Calculates the deduction.
Syntax
protected RPayAmount calcDeduction(
RPayTaxDeductionTable _deductionTable,
RPayAmount _incomeCurPeriodAmount,
[RpayTaxIncomeCode _incomeCode,
RHRMFamilyRecId _familyRecId])
Run On
Called
Parameters
- _deductionTable
Type: RPayTaxDeductionTable Table
The deduction, discount, and relief codes table record.
- _incomeCurPeriodAmount
Type: RPayAmount Extended Data Type
The current amount for the period.
- _incomeCode
Type: RpayTaxIncomeCode Extended Data Type
The income code.
- _familyRecId
Type: RHRMFamilyRecId Extended Data Type
The relative table record reference.
Return Value
Type: RPayAmount Extended Data Type
The deduction amount.