code change · obsoletion · breakingSales & Receivablesofficial - Microsoftreviewed - checked by Opus

#13759 [Layers, Apps] Remove CLEAN27 obsolete code

Obsolete code guarded by CLEAN27 preprocessor tags is removed from W1 and regional/country apps, including 140 deleted AL files for entirely obsolete objects and unwrapped replacement code throughout the application layers.

Pull request · merged into main (BC30) on 2026-11-10 by Alexander-Ya · 802 files (+380 -43463), 679 AL · obsoletion · tier official · reviewed (checked by Opus)

What changed

  • 766 AL files modified across W1, regional, and country-specific implementations to remove CLEAN27 conditional branches
  • 140 entire AL files deleted where objects were entirely obsolete and no replacement code remained
  • Dependent code cleaned up including GB Sales Line and Sales Document Test reports that called removed VAT reverse-charge helpers
  • Seven unchanged copies recorded in Miapp exclusion snapshot where no CLEAN27 gates applied to country-specific implementations
  • Validation completed using preprocessor configuration audit across 1,328 configurations
  • Breaking: existing extensions can stop compiling or working.

AL objects touched

Context

  • Work items: AB#647784
  • Labels: AL: Apps (W1), Build: scripts & configs, Team: Other
  • Systems: sales, finance, purchasing, platform, development, integration, administration, crm, inventory, assembly, service, manufacturing, fixed-assets, hr, projects
  • From the description: “Remove obsolete code guarded by CLEAN27 throughout src/Layers and src/Apps, selecting the branches used when CLEAN27 is defined.”

No source states these links: they share an object, a model read them, or a person found the same subject.

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