---
id: change/bcapps/12070
type: change
title: "#12070 Fix inconsistent CLEAN27/CLEAN28 tags in E-Document apps"
summary: E-Document apps now use consistent CLEAN27 and CLEAN28 tags so each cleanup step can be removed independently, fixing compilation failures when only CLEAN27 was applied.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - permissionset e-doc. core - objects
  - permissionset e-doc. core - read
  - permissionset e-doc. core - user
  - table e-document
  - table e-documents setup
  - codeunit e-document subscribers
system: integration
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:03:02.331Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 5571f5e884c55fa2a9648539b18c05628f627ecc
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12070
    title: "microsoft/BCApps#12070: Fix inconsistent CLEAN27/CLEAN28 tags in E-Document apps"
    date: "2026-09-30"
    commit: 5571f5e884c55fa2a9648539b18c05628f627ecc
    t: null
    quote: aligns the tags so each CLEAN step can be removed on its own
links:
  learn: []
  objects:
    - object/permissionset/6100
    - object/permissionset/6101
    - object/permissionset/6105
    - object/table/6121
    - object/table/6107
    - object/codeunit/6103
    - object/interface/ipurchaselineaccountprovider
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 12070
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12070
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-30T15:22:34Z"
author: darjoo
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: Integrations"
change_class: code
change_kind: fix
behavior_change: false
breaking: false
files:
  count: 11
  additions: 59
  deletions: 31
  al: 7
apps:
  - EDocument
objects_touched:
  - key: permissionset/6100
    page: permissionset/6100
    type: permissionset
    id: 6100
    name: E-Doc. Core - Objects
    app: EDocument
    status: modified
  - key: permissionset/6101
    page: permissionset/6101
    type: permissionset
    id: 6101
    name: E-Doc. Core - Read
    app: EDocument
    status: modified
  - key: permissionset/6105
    page: permissionset/6105
    type: permissionset
    id: 6105
    name: E-Doc. Core - User
    app: EDocument
    status: modified
  - key: table/6121
    page: table/6121
    type: table
    id: 6121
    name: E-Document
    app: EDocument
    status: modified
  - key: table/6107
    page: table/6107
    type: table
    id: 6107
    name: E-Documents Setup
    app: EDocument
    status: modified
  - key: codeunit/6103
    page: codeunit/6103
    type: codeunit
    id: 6103
    name: E-Document Subscribers
    app: EDocument
    status: modified
  - key: interface/ipurchaselineaccountprovider
    page: interface/ipurchaselineaccountprovider
    type: interface
    id: null
    name: IPurchaseLineAccountProvider
    app: EDocument
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 652070
systems:
  - integration
quote: aligns the tags so each CLEAN step can be removed on its own
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #12070 Fix inconsistent CLEAN27/CLEAN28 tags in E-Document apps

> E-Document apps now use consistent CLEAN27 and CLEAN28 tags so each cleanup step can be removed independently, fixing compilation failures when only CLEAN27 was applied.

[Pull request](https://github.com/microsoft/BCApps/pull/12070) · merged into `main` (BC30) on 2026-09-30 by darjoo · 11 files (+59 -31), 7 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Moved references to 'EDoc Historical Matching Setup' from CLEAN28 to CLEAN27 guards since the table is removed in CLEAN27
- Updated Continia registration tests to use correct permission sets after 'E-Doc. Core - Edit' deletion in CLEAN27
- Added CLEAN27 guard to obsolete interface 'IPurchaseLineAccountProvider' to enable its future removal
- Reclassified 'E-Documents Setup' table as Removed in CLEAN28 and guarded its procedures
- Kept Purchase Header E-Document Link cleanup unguarded since import process version 1.0 is still supported

## AL objects touched

- [Permission set 6100 "E-Doc. Core - Objects"](../../objects/permissionset/6100.md), EDocument: modified
- [Permission set 6101 "E-Doc. Core - Read"](../../objects/permissionset/6101.md), EDocument: modified
- [Permission set 6105 "E-Doc. Core - User"](../../objects/permissionset/6105.md), EDocument: modified
- [Table 6121 "E-Document"](../../objects/table/6121.md), EDocument: modified
- [Table 6107 "E-Documents Setup"](../../objects/table/6107.md), EDocument: modified
- [Codeunit 6103 "E-Document Subscribers"](../../objects/codeunit/6103.md), EDocument: modified
- [Interface "IPurchaseLineAccountProvider"](../../objects/interface/ipurchaselineaccountprovider.md), EDocument: modified

## Context

- Work items: AB#652070
- Labels: AL: Apps (W1), Team: Integrations
- Systems: integration
- From the description: "aligns the tags so each CLEAN step can be removed on its own"

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