Codeunit 1281 "Update Currency Exchange Rates"
Base Application · Microsoft.Finance.Currency
Across versions
- BC23-26present
- BC271 events added, 1 events removed
- BC281 events added
- BC29unchanged
- BC303 procedures added, 1 procedures removed
Neighbourhood 13 connected objects and pages
Base Application · Microsoft.Finance.Currency · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Permissions | TableData “Data Exch.” = rimd |
Events published
OnBeforeGetCurrencyExchangeData(var CurrExchRateUpdateSetup: Record "Curr. Exch. Rate Update Setup"; var ResponseInStream: InStream; var SourceName: Text; var Handled: Boolean; var TempBlobResponse: Codeunit "Temp Blob")+ BC27 − BC27 (integration): Event is raised before getting currency exchange data from web service.OnBeforeSyncCurrencyExchangeRatesLoop(var CurrExchRateUpdateSetup: Record "Curr. Exch. Rate Update Setup")(integration)OnSyncCurrencyExchangeRatesOnBeforeFindCurrExchRateUpdateSetup(var CurrExchRateUpdateSetup: Record "Curr. Exch. Rate Update Setup")+ BC28 (integration): Integration event raised after the enabled filter is applied to the currency exchange rate update setup and before the setup records are read. Enables subscribers to apply additional filters to the setup before the synchronization loop runs.
Procedures
UpdateCurrencyExchangeRates(CurrExchRateUpdateSetup: Record "Curr. Exch. Rate Update Setup"; CurrencyExchRatesDataInStream: InStream; SourceName: Text)GenerateTempDataFromService(var TempCurrencyExchangeRate: Record "Currency Exchange Rate" temporary; CurrExchRateUpdateSetup: Record "Curr. Exch. Rate Update Setup")OpenCurrencyExchangeRatesPageFromNotification(Notification: Notification)DisableMissingExchangeRatesNotification(Notification: Notification)ShowMissingExchangeRatesNotification(CurrencyCode: Code[10])ExchangeRatesForCurrencyExist(Date: Date; CurrencyCode: Code[10]): BooleanOpenExchangeRatesPage(CurrencyCode: Code[10])GetMissingExchangeRatesNotificationID(): Guid
Plus 6 local procedures.
Triggers
OnRun
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 1297 “Http Web Request Mgt.” (5 calls:
ExecuteWebServiceRequest → DisableUI,ExecuteWebServiceRequest → GetResponse,ExecuteWebServiceRequest → Initialize, …) - Codeunit 1237 “Get Json Structure” (2 calls:
CreateDataExchange → JsonToXML,CreateDataExchange → JsonToXMLCreateDefaultRoot) - Codeunit 4100 “Temp Blob” (2 calls:
CreateDataExchange → CreateInStream,GetCurrencyExchangeData → CreateInStream) - Page 483 “Currency Exchange Rates” (2 calls:
OpenCurrencyExchangeRatesPageFromNotification → (object),OpenExchangeRatesPage → (object)) - Codeunit 1280 “Map Currency Exchange Rate” (1 call:
GenerateTempDataFromService → MapCurrencyExchangeRates) - Codeunit 1299 “Web Request Helper” (1 call:
ShowHttpError → GetWebResponseError) - Codeunit 6224 “XML DOM Management” (1 call:
ShowHttpError → LoadXMLNodeFromInStream)
Called by
- Page 39 “General Journal” (2 calls:
UpdateCurrencyFactor → ExchangeRatesForCurrencyExist,UpdateCurrencyFactor → OpenExchangeRatesPage) - Table 36 “Sales Header” (2 calls:
UpdateCurrencyFactor → ExchangeRatesForCurrencyExist,UpdateCurrencyFactor → ShowMissingExchangeRatesNotification) - Table 5900 “Service Header” (2 calls:
UpdateCurrencyFactor → ExchangeRatesForCurrencyExist,UpdateCurrencyFactor → OpenExchangeRatesPage) - Table 6900 “Expense” (2 calls:
UpdateCurrencyFactor → ExchangeRatesForCurrencyExist,UpdateCurrencyFactor → ShowMissingExchangeRatesNotification) - Table 6906 “Expense Report Header” (2 calls:
UpdateCurrencyFactor → ExchangeRatesForCurrencyExist,UpdateCurrencyFactor → ShowMissingExchangeRatesNotification) - Table 6907 “Expense Report Line” (2 calls:
UpdateCurrencyFactor → ExchangeRatesForCurrencyExist,UpdateCurrencyFactor → ShowMissingExchangeRatesNotification)
Recent changes
- 2026-10-02 #10755 Migrate Http Web Request Mgt. callers to native HttpClient (main, BC30, refactor)
- 2026-09-18 #11435 Validate unauthenticated public API responses before use (main, BC30, fix)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Update Currency Exchange Rates"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.