---
id: change/bcapps/10799
type: change
title: '#10799 Remove OnPrem scope from Table 1226 "Payment Export Data".SetSwissExport'
summary: 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.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - table payment export data
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:02:21.329Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 4c454b099c97ae4263fbc0e7a824821097c70c5b
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10799
    title: 'microsoft/BCApps#10799: Remove OnPrem scope from Table 1226 "Payment Export Data".SetSwissExport'
    date: "2026-10-05"
    commit: 4c454b099c97ae4263fbc0e7a824821097c70c5b
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/table/1226
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10799
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10799
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-05T12:36:33Z"
author: he-d
author_type: User
community_contribution: true
labels:
  - "ADO: Sync"
  - From Fork
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: false
breaking: false
files:
  count: 1
  additions: 0
  deletions: 1
  al: 1
apps:
  - Base Application
objects_touched:
  - key: table/1226
    page: table/1226
    type: table
    id: 1226
    name: Payment Export Data
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues:
  - 10731
work_items:
  - 652698
systems:
  - finance
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #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](https://github.com/microsoft/BCApps/pull/10799) · 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

- [Table 1226 "Payment Export Data"](../../objects/table/1226.md), Base Application (CH layer): modified

## Context

- Fixes: [#10731 [Extensibility Request] "SetSwissExport" on Table 1226 "Payment Export Data" is scoped "OnPrem", blocking Cloud extensions](https://github.com/microsoft/BCApps/issues/10731) (closed)
- Work items: AB#652698
- Labels: ADO: Sync, From Fork, Team: Finance
- Systems: 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).
