London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
private void AddCurrencyToCatalogCurrencyDictionary(LanguageSetupInformation setup)
{
var currencyDto = CurrencyManager.GetCurrencyDto();
var newCurrencyRow = currencyDto.Currency.NewCurrencyRow();
newCurrencyRow.CurrencyCode = setup.Currency.CurrencyCode;
newCurrencyRow.Name = setup.CultureInfo.GetRegion().CurrencyEnglishName;
currencyDto.Currency.AddCurrencyRow(newCurrencyRow);
CurrencyManager.SaveCurrency(currencyDto);
}
Big thanks to Roger at Epi
Hi,
i want to add Currency to Catalog Currency Catalog programmatically. Because i want to enable it when adding new Market (also done from code)

I have found CurrencyManager but it does not feel right :-/
So what repo/service/Mgr should i use in order to add a currency to the Catalog Currency Directory?