CustInvoiceTemplate.convertCurrencyCode Method
Calculates the invoice template amount based on modified currency.
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
public void convertCurrencyCode(
CurrencyCode _oldCurrencyCode,
CurrencyCode _newCurrencyCode,
[CustInvoiceChangeCurrencyOption _custInvoiceChangeCurrencyOption])
Microsoft Dynamics AX 2012 R2 (SYS)
public void convertCurrencyCode(
CurrencyCode _oldCurrencyCode,
CurrencyCode _newCurrencyCode,
[CustInvoiceChangeCurrencyOption _custInvoiceChangeCurrencyOption])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public void convertCurrencyCode(
CurrencyCode _oldCurrencyCode,
CurrencyCode _newCurrencyCode,
[CustInvoiceChangeCurrencyOption _custInvoiceChangeCurrencyOption])
Microsoft Dynamics AX 2012 (FPK)
public void convertCurrencyCode(CurrencyCode _oldCurrencyCode, CurrencyCode _newCurrencyCode)
Microsoft Dynamics AX 2012 (SYS)
public void convertCurrencyCode(CurrencyCode _oldCurrencyCode, CurrencyCode _newCurrencyCode)
Run On
ClientOrServer
Parameters
- _oldCurrencyCode
Type: CurrencyCode Extended Data Type
The old currency of CustInoviceTemplate table record.
- _newCurrencyCode
Type: CurrencyCode Extended Data Type
The new currency of CustInoviceTemplate table record.
- _custInvoiceChangeCurrencyOption
Type: CustInvoiceChangeCurrencyOption Enumeration
A CustInvoiceChangeCurrencyOption enumeration value; optional.