---
id: change/bcapps/13207
type: change
title: "#13207 Skip missing and removed tables when loading record sets"
summary: Record Set Management now gracefully skips table references that have been removed or don't exist when loading record sets, preventing metadata exceptions and allowing sales documents and Edit in Excel to function when legacy payment-service sets are present.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit record set management
system: development
review:
  state: reviewed
  by: opus
  at: "2026-11-13T00:59:24.081Z"
  flags: []
generated:
  at: "2026-12-04T00:17:10.168Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: b2f2667a6654c8e4f136e8fcdc70430c28905a0a
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/13207
    title: "microsoft/BCApps#13207: Skip missing and removed tables when loading record sets"
    date: "2026-11-12"
    commit: b2f2667a6654c8e4f136e8fcdc70430c28905a0a
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/8400
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 13207
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/13207
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-12T15:18:32Z"
author: haoranpb
author_type: User
community_contribution: false
labels:
  - "Team: Integrations"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 104
  deletions: 9
  al: 1
apps:
  - Base Application
objects_touched:
  - key: codeunit/8400
    page: codeunit/8400
    type: codeunit
    id: 8400
    name: Record Set Management
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports:
  - number: 13983
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/13983
fixes_issues: []
work_items:
  - 656808
systems:
  - development
quote: null
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #13207 Skip missing and removed tables when loading record sets

> Record Set Management now gracefully skips table references that have been removed or don't exist when loading record sets, preventing metadata exceptions and allowing sales documents and Edit in Excel to function when legacy payment-service sets are present.

[Pull request](https://github.com/microsoft/BCApps/pull/13207) · merged into `main` (BC30) on 2026-11-12 by haoranpb · 2 files (+104 -9), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Guards GetSet method against membership entries for deleted or ObsoleteState=Removed tables
- Continues loading records from available tables, including those marked Pending
- Resolves issue where retired payment-provider table references caused metadata exceptions
- Prevents sales document pages and Edit in Excel from failing due to stale record set memberships
- Adds four regression tests covering removed and absent tables in various set configurations
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 8400 "Record Set Management"](../../objects/codeunit/8400.md), Base Application: modified

## Also merged into

- [#13983](https://github.com/microsoft/BCApps/pull/13983) into `releases/29.x` on 2026-11-12

## Context

- Work items: AB#656808
- Labels: Team: Integrations
- Systems: development

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