---
id: change/bcapps/10066
type: change
title: "#10066 [PEPPOL] Handle unknown persisted PEPPOL format values"
summary: The PEPPOL 3.0 Format enum now handles persisted format values that become unknown when their declaring extension is uninstalled, preventing runtime errors and prompting users to select an available format.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - enum peppol 3.0 format
  - codeunit peppol30 unknown format
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:09:39.068Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 5e40ff7827932dfde0f9e77caef9afc7195fddbd
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10066
    title: "microsoft/BCApps#10066: [PEPPOL] Handle unknown persisted PEPPOL format values"
    date: "2026-08-12"
    commit: 5e40ff7827932dfde0f9e77caef9afc7195fddbd
    t: null
    quote: A PEPPOL format enum ordinal can remain in the persisted PEPPOL 3.0 Setup after the enum extension that declared it is uninstalled.
links:
  learn: []
  objects:
    - object/enum/37200
    - object/codeunit/37223
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10066
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10066
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-12T10:37:19Z"
author: djukicmilica
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: Integrations"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 3
  additions: 183
  deletions: 0
  al: 2
apps:
  - PEPPOL
objects_touched:
  - key: enum/37200
    page: enum/37200
    type: enum
    id: 37200
    name: PEPPOL 3.0 Format
    app: PEPPOL
    status: modified
  - key: codeunit/37223
    page: codeunit/37223
    type: codeunit
    id: 37223
    name: PEPPOL30 Unknown Format
    app: PEPPOL
    status: added
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 646302
systems:
  - development
quote: A PEPPOL format enum ordinal can remain in the persisted PEPPOL 3.0 Setup after the enum extension that declared it is uninstalled.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #10066 [PEPPOL] Handle unknown persisted PEPPOL format values

> The PEPPOL 3.0 Format enum now handles persisted format values that become unknown when their declaring extension is uninstalled, preventing runtime errors and prompting users to select an available format.

[Pull request](https://github.com/microsoft/BCApps/pull/10066) · merged into `main` (BC30) on 2026-08-12 by djukicmilica · 3 files (+183 -0), 2 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Added unknown-value mappings for all interfaces implemented by the PEPPOL Format enum
- Created a handler that guides users to select an available format when encountering unknown formats
- Added test coverage for validation and conversion of persisted unknown ordinal values
- Behaviour changes for users or extensions.

## AL objects touched

- [Enum 37200 "PEPPOL 3.0 Format"](../../objects/enum/37200.md), PEPPOL: modified
- [Codeunit 37223 "PEPPOL30 Unknown Format"](../../objects/codeunit/37223.md), PEPPOL: added

## Context

- Work items: AB#646302
- Labels: AL: Apps (W1), Team: Integrations
- Systems: development
- From the description: "A PEPPOL format enum ordinal can remain in the persisted PEPPOL 3.0 Setup after the enum extension that declared it is uninstalled."

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