code change · fixFinanceofficial - Microsoftreviewed - checked by Opus

#10799 Remove OnPrem scope from Table 1226 "Payment Export Data".SetSwissExport

The SetSwissExport procedure on the Payment Export Data table is now callable from Cloud extensions by removing its OnPrem scope restriction, making it consistent with other setters and the SwissExport field itself.

Pull request · merged into main (BC30) on 2026-10-05 by he-d (community contribution) · 1 file (+0 -1), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Removed [Scope(‘OnPrem’)] attribute from SetSwissExport method
  • Resolves compilation error AL0296 for Cloud-targeting extensions using SetSwissExport
  • Makes SetSwissExport consistent with other setters on the same table that already support Cloud
  • No changes to the procedure logic, only scope restriction removed
  • Maintains backward compatibility with existing OnPrem callers

AL objects touched

Context

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).