ISOCurrencyCodeHelper::getISOCurrencyCodeNum Method [AX 2012]
Returns the numeric ISO currency code value for the specified ISOCurrencyCodes enumeration value.
Syntax
client server public static ISOCurrencyCodeNum getISOCurrencyCodeNum(ISOCurrencyCodes _currencyCode)
Run On
Called
Parameters
- _currencyCode
Type: ISOCurrencyCodes Enumeration
The ISOCurrencyCodes enumeration value that represents a specific ISO currency code.
Return Value
Type: ISOCurrencyCodeNum Extended Data Type
The numeric ISO currency code value for the specified ISOCurrencyCodes enumeration value.
Remarks
When the ISOCurrencyCodes enumeration value is unknown, zero is returned.
Use this method in conditional logic that depends on a particular ISO currency code.
The unknown enumeration value was added to support setting the ISO currency code to an old currency code.