CustInterestCreate.calcPeriodForInvoiceLine Method [AX 2012]

Calculates the period for an Invoice line.

protected boolean calcPeriodForInvoiceLine(
    TmpCustInterestTransLine _tmpCustInterestTransLine, 
    CustTable _custTable, 
    CustTrans _custTrans, 
    CustInterestJour _custInterestJour, 
    TransDate _calcFrom, 
    TransDate _calcTo, 
    TransDate _dueDate, 
    boolean _resetInterestVersion)

Run On

Called

Parameters

_tmpCustInterestTransLine
Type: TmpCustInterestTransLine Table
A TmpCustInterestTransLine record.
_custTable
Type: CustTable Table
A CustTable record.
_custTrans
Type: CustTrans Table
A CustTrans record.
_custInterestJour
Type: CustInterestJour Table
A CustInterestJour 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.
_dueDate
Type: TransDate Extended Data Type
The due date of the calculation period.
_resetInterestVersion
Type: boolean
A Boolean value that indicates whether to reset the interest version.

Return Value

Type: boolean
false if calculation failed; otherwise, true .

Community Additions

ADD
Show: