Share via


LedgerJournalEngine_CustPayment::calculateOpenInvoiceAmount Method [AX 2012]

Calculates the open amount for a CustTransOpen open record.

Syntax

client server public static AmountCur calculateOpenInvoiceAmount(
    CompanyId _openCompanyId, 
    RecId _openRecId, 
    CurrencyCode _currencyCode, 
    CompanyId _transCompanyId, 
    TransDate _transDate, 
   [ExchRate _transExchRate, 
    PaymMode _paymMode])

Run On

Called

Parameters

Return Value

Type: AmountCur Extended Data Type
The open amount of the selected invoice.

Remarks

Calculates the open amount for a CustTransOpen open record adjusted for cash discount and currency exchange.

See Also

Reference

LedgerJournalEngine_CustPayment Class