Dynamics CRM allows to create custom currencies in addition to the standard ones provided by the system.
The entity involved is transactioncurrency and the follow attributes are required to create a new currency:
Example:
The entity involved is transactioncurrency and the follow attributes are required to create a new currency:
- currencyname (string)
- currencyprecision (int)
- currencysymbol (string)
- exchangerate (decimal)
- isocurrencycode (string)
Example:
Entity newCurrency = new Entity("transactioncurrency");
newCurrency["currencyname"] = "My Currency";
newCurrency["currencyprecision"] = 2;
newCurrency["currencysymbol"] = "@";
newCurrency["exchangerate"] = 2m;
newCurrency["isocurrencycode"] = "MCU"; // 3 letters
Guid newCurrencyId = service.Create(newCurrency);