---
id: change/bcapps/12538
type: change
title: "#12538 Remove CLEAN27 for Create Item from Item No. setup fields"
summary: Removes the CLEAN27-guarded code for the Create Item from Item No. fields in the Sales & Receivables Setup and Purchases & Payables Setup tables and pages, across the W1 and localization layers. The related helper code in the LibrarySales and LibraryPurchase test libraries is also removed.
tier: official
language: en
tags:
  - obsoletion
  - main
  - bc30
  - table purchases & payables setup
  - table sales & receivables setup
  - page purchases & payables setup
  - page sales & receivables setup
system: sales
review:
  state: reviewed
  by: opus
  at: "2026-10-18T00:55:12.265Z"
  flags: []
generated:
  at: "2026-11-07T00:15:21.625Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 695465bba754e86464479456234fe0ad7ae5ca97
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12538
    title: "microsoft/BCApps#12538: Remove CLEAN27 for Create Item from Item No. setup fields"
    date: "2026-10-08"
    commit: 695465bba754e86464479456234fe0ad7ae5ca97
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/table/312
    - object/table/311
    - object/page/460
    - object/page/459
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/LocalFunctionality/Belgium/specify-journal-template-mandatory
      title: Make Journal Templates Mandatory [BE]
      label: possibly related
      why: touches Table 312 "Purchases & Payables Setup"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/match-purchase-invoice-drafts-to-orders
      title: Match Purchase Invoice Drafts to Purchase Orders
      label: possibly related
      why: touches Table 312 "Purchases & Payables Setup"
      by: code
number: 12538
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12538
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-08T17:36:16Z"
author: Alexander-Ya
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: obsoletion
behavior_change: false
breaking: true
files:
  count: 64
  additions: 48
  deletions: 596
  al: 44
apps:
  - Base Application
objects_touched:
  - key: table/312
    page: table/312
    type: table
    id: 312
    name: Purchases & Payables Setup
    app: Base Application
    status: modified
  - key: table/311
    page: table/311
    type: table
    id: 311
    name: Sales & Receivables Setup
    app: Base Application
    status: modified
  - key: page/460
    page: page/460
    type: page
    id: 460
    name: Purchases & Payables Setup
    app: Base Application
    status: modified
  - key: page/459
    page: page/459
    type: page
    id: 459
    name: Sales & Receivables Setup
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/APAC/BaseApp/Purchases/Setup/PurchasesPayablesSetup.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/APAC/BaseApp/Sales/Setup/SalesReceivablesSetup.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/CH/BaseApp/Sales/Setup/SalesReceivablesSetup.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/DACH/BaseApp/Purchases/Setup/PurchasesPayablesSetup.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/ES/BaseApp/Purchases/Setup/PurchasesPayablesSetup.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/ES/BaseApp/Sales/Setup/SalesReceivablesSetup.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/FI/BaseApp/Purchases/Setup/PurchasesPayablesSetup.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/FI/BaseApp/Sales/Setup/SalesReceivablesSetup.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/GB/BaseApp/Purchases/Setup/PurchasesPayablesSetup.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/GB/BaseApp/Sales/Setup/SalesReceivablesSetup.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/IS/BaseApp/Sales/Setup/SalesReceivablesSetup.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/IT/BaseApp/Purchases/Setup/PurchasesPayablesSetup.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/IT/BaseApp/Sales/Setup/SalesReceivablesSetup.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/NA/BaseApp/Purchases/Setup/PurchasesPayablesSetup.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/NA/BaseApp/Sales/Setup/SalesReceivablesSetup.Table.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/NO/BaseApp/Purchases/Setup/PurchasesPayablesSetup.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/NO/BaseApp/Sales/Setup/SalesReceivablesSetup.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/RU/BaseApp/Purchases/Setup/PurchasesPayablesSetup.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/RU/BaseApp/Sales/Setup/SalesReceivablesSetup.Page.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 647784
systems:
  - sales
  - purchasing
quote: null
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #12538 Remove CLEAN27 for Create Item from Item No. setup fields

> Removes the CLEAN27-guarded code for the Create Item from Item No. fields in the Sales & Receivables Setup and Purchases & Payables Setup tables and pages, across the W1 and localization layers. The related helper code in the LibrarySales and LibraryPurchase test libraries is also removed.

[Pull request](https://github.com/microsoft/BCApps/pull/12538) · merged into `main` (BC30) on 2026-10-08 by Alexander-Ya · 64 files (+48 -596), 44 AL · obsoletion · tier official · reviewed (checked by Opus)

## What changed

- Removes CLEAN27 code for the Create Item from Item No. fields in tables 311 and 312
- Removes the matching controls from the Sales & Receivables Setup and Purchases & Payables Setup pages
- Removes the related helpers from the LibrarySales and LibraryPurchase test codeunits
- Applied in W1 and many country layers
- Breaking: existing extensions can stop compiling or working.

## AL objects touched

- [Table 312 "Purchases & Payables Setup"](../../objects/table/312.md), Base Application: modified
- [Table 311 "Sales & Receivables Setup"](../../objects/table/311.md), Base Application: modified
- [Page 460 "Purchases & Payables Setup"](../../objects/page/460.md), Base Application: modified
- [Page 459 "Sales & Receivables Setup"](../../objects/page/459.md), Base Application: modified
- `src/Layers/APAC/BaseApp/Purchases/Setup/PurchasesPayablesSetup.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/APAC/BaseApp/Sales/Setup/SalesReceivablesSetup.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/CH/BaseApp/Sales/Setup/SalesReceivablesSetup.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/DACH/BaseApp/Purchases/Setup/PurchasesPayablesSetup.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/ES/BaseApp/Purchases/Setup/PurchasesPayablesSetup.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/ES/BaseApp/Sales/Setup/SalesReceivablesSetup.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/FI/BaseApp/Purchases/Setup/PurchasesPayablesSetup.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/FI/BaseApp/Sales/Setup/SalesReceivablesSetup.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/GB/BaseApp/Purchases/Setup/PurchasesPayablesSetup.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/GB/BaseApp/Sales/Setup/SalesReceivablesSetup.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/IS/BaseApp/Sales/Setup/SalesReceivablesSetup.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/IT/BaseApp/Purchases/Setup/PurchasesPayablesSetup.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/IT/BaseApp/Sales/Setup/SalesReceivablesSetup.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/NA/BaseApp/Purchases/Setup/PurchasesPayablesSetup.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/NA/BaseApp/Sales/Setup/SalesReceivablesSetup.Table.al`: modified, not in the BC30 snapshot
- `src/Layers/NO/BaseApp/Purchases/Setup/PurchasesPayablesSetup.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/NO/BaseApp/Sales/Setup/SalesReceivablesSetup.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/RU/BaseApp/Purchases/Setup/PurchasesPayablesSetup.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/RU/BaseApp/Sales/Setup/SalesReceivablesSetup.Page.al`: modified, not in the BC30 snapshot

## Context

- Work items: AB#647784
- Labels: Team: SCM
- Systems: sales, purchasing

## Possibly related

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

- [Make Journal Templates Mandatory \[BE\]](https://learn.microsoft.com/dynamics365/business-central/LocalFunctionality/Belgium/specify-journal-template-mandatory) — possibly related: touches Table 312 "Purchases & Payables Setup"
- [Match Purchase Invoice Drafts to Purchase Orders](https://learn.microsoft.com/dynamics365/business-central/match-purchase-invoice-drafts-to-orders) — possibly related: touches Table 312 "Purchases & Payables Setup"

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