RecurrenceInvoice::getTotalRecurrenceInvoiceAndTaxAmount Method
Gets the recurrence invoice amount for a CustRecurrenceInvoiceGroup record.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
server public static container getTotalRecurrenceInvoiceAndTaxAmount(RefRecId _custRecurrenceInvoiceGroupRecId, CurrencyCode _currencyCode)
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static container getTotalRecurrenceInvoiceAndTaxAmount(RefRecId _custRecurrenceInvoiceGroupRecId, CurrencyCode _currencyCode)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static container getTotalRecurrenceInvoiceAndTaxAmount(RefRecId _custRecurrenceInvoiceGroupRecId, CurrencyCode _currencyCode)
Microsoft Dynamics AX 2012 (FPK)
client server public static container getTotalRecurrenceInvoiceAndTaxAmount(RefRecId _custRecurrenceInvoiceGroupRecId, CurrencyCode _currencyCode)
Microsoft Dynamics AX 2012 (SYS)
client server public static container getTotalRecurrenceInvoiceAndTaxAmount(RefRecId _custRecurrenceInvoiceGroupRecId, CurrencyCode _currencyCode)
Run On
Server
Parameters
- _custRecurrenceInvoiceGroupRecId
Type: RefRecId Extended Data Type
The record ID of a recurrence invoice.
- _currencyCode
Type: CurrencyCode Extended Data Type
The currency code for conversion of amount to the currency code.
Return Value
Type: container
A container that contains the total invoice amount and total invoice tax amount for a single CustRecurrenceInvoiceGroup record.
Remarks
The amount returned is in the default currency set for the company.
The first value is the invoice amount and the second value is Invoice tax amount returned in the container.