codeunitFinanceofficial - Microsoftderived - from the source, no model text

Codeunit 1281 "Update Currency Exchange Rates"

Base Application · Microsoft.Finance.Currency

Across versions

  1. BC23-26present
  2. BC271 events added, 1 events removed
  3. BC281 events added
  4. BC29unchanged
  5. BC303 procedures added, 1 procedures removed

Neighbourhood 13 connected objects and pages

Codeunit 1297 "Http Web Request Mgt." (calls, 5 links)Http Web Request Mgt.Codeunit 1237 "Get Json Structure" (calls, 2 links)Get Json StructureCodeunit 4100 "Temp Blob" (calls, 2 links)Temp BlobPage 39 "General Journal" (calls, 2 links)General JournalPage 483 "Currency Exchange Rates" (calls, 2 links)Currency Exchange RatesTable 36 "Sales Header" (calls, 2 links)Table 5900 "Service Header" (calls, 2 links)Service HeaderTable 6900 "Expense" (calls, 2 links)ExpenseTable 6906 "Expense Report Header" (calls, 2 links)Table 6907 "Expense Report Line" (calls, 2 links)Expense Report LineCodeunit 1280 "Map Currency Exchange Rate" (calls)Map Currency Exchange RateCodeunit 1299 "Web Request Helper" (calls)Web Request HelperCodeunit 6224 "XML DOM Management" (calls)XML DOM Management

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

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]): Boolean
  • OpenExchangeRatesPage(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.

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

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.

Evidence 1 sources