Marco
2 years agoContributor II
Currency Names
Hi Everyone.
I am performing a conversion in a SQL query using currencies; I relied on this other post for now.
Where is stored the Currency Name ?
The problem I have is that I have some Sourc...
- 2 years ago
To retrieve a Currency object from an ID:
Dim objCurrency As Currency = BRApi.Finance.Cons.GetCurrency(si, currencyId) BRApi.ErrorLog.LogMessage(si, $"Name: {objCurrency.Name}") BRApi.ErrorLog.LogMessage(si, $"Symbol: {objCurrency.Symbol}") BRApi.ErrorLog.LogMessage(si, $"Desc: {objCurrency.DefaultDescription}")
To retrieve all Currency objects:
Dim allCurrencies as List(Of Currency) = Currency.GetItems()