community postFinancecommunity - not Microsoftreviewed - checked by Opus

🌍 Amount Conversion to Favorite Currencies in Business Central

An extension that displays amount conversions to user-selected favorite currencies directly within Business Central pages using existing exchange rates. It works on any amount field via drill-down or assist-edit triggers and in factboxes, showing converted amounts with the applicable exchange rate date and factor.

post Gerardo Rentería Blog

Gerardo Renteria · 2026-11-15 · 1,491 words · about 7 min

"This is not a closed solution. It works for any amount field."

Key points

  • Users select favorite currencies (e.g. USD, GBP, CHF) and see amounts converted in those currencies without leaving the current page
  • The extension uses the standard Currency Exchange Rate table and ApplnExchangeAmtFCYToFCY function, ensuring consistency with BC’s posting logic
  • Conversions apply the latest exchange rate dated on or before the document date, handle multi-currency triangulation, and round to target currency precision
  • The solution provides two UI patterns: OnDrillDown for non-editable fields (like sales orders) and OnAssistEdit for editable fields (like general journals), plus a compact factbox view
  • Missing exchange rates display as 0 in red without raising errors, and configuration uses a simple page listing currency codes with order and active status

Quotes

  • “This is not a closed solution. It works for any amount field.” (Indicates the extension’s flexibility and reusability across different page types and contexts where amount fields exist.)
  • “If there is no exchange rate, it shows 0 in red and does not raise an error.” (Demonstrates graceful error handling that keeps the user interface responsive without disrupting the workflow when exchange data is incomplete.)

AL objects mentioned

As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.

  • table 330 “Currency Exchange Rate”
  • table “GDRGFXFavCurrency”
  • table “GDRGFXConvBuffer”
  • codeunit “GDRG FX Conv. Mgt.”
  • page “GDRGFXFavCurrencies”
  • page “GDRGFXConvResult”
  • page “GDRGFXConvFactbox”
  • permissionset “GDRGFX”

Not found in BC28-30: table “GDRGFXFavCurrency”, table “GDRGFXConvBuffer”, codeunit “GDRG FX Conv. Mgt.”, page “GDRGFXFavCurrencies”, page “GDRGFXConvResult”, page “GDRGFXConvFactbox”, permissionset “GDRGFX”.

No source states these links: they share an object, a model read them, or a person found the same subject.

Context

  • Features: Favorite currency conversion, Multi-currency display, Drill-down on amounts, Assist-edit on editable fields, Factbox integration, Exchange rate lookup, Currency triangulation, Missing rate handling

Source: Gerardo Renteria, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.