CustInterestCreate.getPropotionalAmount Method [AX 2012]

Calculates the proportional amount for the invoice line.

protected AmountCur getPropotionalAmount(
    AmountCur _lineAmount, 
    AmountCur _invoiceTotalAmount, 
    AmountCur _settledAmount)

Run On

Called

Parameters

_lineAmount
Type: AmountCur Extended Data Type
The invoice line amount.
_invoiceTotalAmount
Type: AmountCur Extended Data Type
The invoice total amount.
_settledAmount
Type: AmountCur Extended Data Type
The amount to which the invoice is settled.

Return Value

Type: AmountCur Extended Data Type
The proportionate ratio that is based on the invoice total amount.

Community Additions

ADD
Show: