code change · refactorAL Developmentofficial - Microsoftreviewed - checked by Opus

#10755 Migrate Http Web Request Mgt. callers to native HttpClient

Six callers, including currency exchange rate updates, external accountant invitations, JSON structure retrieval, OData metadata download and the Microsoft 365 E-Document GraphClient, now use native AL HTTP types instead of the legacy Http Web Request Mgt. codeunit. A new CreateMetadataRequest procedure is added while the old CreateMetadataWebRequest stays for compatibility.

Pull request · merged into main (BC30) on 2026-10-02 by darjoo · 6 files (+259 -148), 5 AL · refactor · tier official · reviewed (checked by Opus)

What changed

  • Migrated currency exchange rates, external accountant invitations, JSON structure retrieval, and OData metadata calls from legacy to native HTTP types
  • Preserved public API compatibility in ODataUtility by keeping the old CreateMetadataWebRequest procedure while adding new CreateMetadataRequest with native types
  • Simplified error handling in UpdateCurrencyExchangeRates by using direct error text instead of XML/WebException parsing
  • Consolidated duplicate telemetry logging in InviteExternalAccountant into a single helper
  • Changed internal InitializeWebRequest in GraphClient to take HttpRequestMessage instead of Http Web Request Mgt.

AL objects touched

Context

  • Work items: AB#647963
  • Labels: AL: Apps (W1), Team: Integrations
  • Systems: development, integration, finance

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).