CustInterestCreate.calcInterestAmount Method [AX 2012]
Calculates the amount of interest charged for the given transaction amount.
Note |
|---|
|
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using. |
Microsoft Dynamics AX 2012 R3
protected container calcInterestAmount(
CustTable _custTable,
CustTrans _custTrans,
TransDate _calcFrom,
TransDate _calcTo,
Integer _interestDays,
AmountCur _calculationAmount,
TransDate _dueDate)
Microsoft Dynamics AX 2012 R2 (SYS)
protected container calcInterestAmount(
CustTable _custTable,
CustTrans _custTrans,
TransDate _calcFrom,
TransDate _calcTo,
Integer _interestDays,
AmountCur _calculationAmount,
TransDate _dueDate)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
protected container calcInterestAmount(
CustTable _custTable,
CustTrans _custTrans,
TransDate _calcFrom,
TransDate _calcTo,
Integer _interestDays,
AmountCur _calculationAmount)
Microsoft Dynamics AX 2012 (FPK)
protected container calcInterestAmount(
CustTable _custTable,
CustTrans _custTrans,
TransDate _calcFrom,
TransDate _calcTo,
Integer _interestDays,
AmountCur _calculationAmount)
Microsoft Dynamics AX 2012 (SYS)
protected container calcInterestAmount(
CustTable _custTable,
CustTrans _custTrans,
TransDate _calcFrom,
TransDate _calcTo,
Integer _interestDays,
AmountCur _calculationAmount)
Run On
CalledParameters
- _custTable
- Type: CustTable Table
A CustTable record.
- _custTrans
- Type: CustTrans Table
A CustTrans record.
- _calcFrom
- Type: TransDate Extended Data Type
The start date of the calculation period.
- _calcTo
- Type: TransDate Extended Data Type
The end date of the calculation period.
- _interestDays
- Type: Integer Extended Data Type
The cumulative days of interest.
- _calculationAmount
- Type: AmountCur Extended Data Type
The transaction amount against which to charge the interest.
- _dueDate
- Type: TransDate Extended Data Type
Return Value
Type: containerA container that contains the calculated interest amount, the error value, the interest days, the percent, and the transaction message.
Community Additions
ADD
Show:
Note