code change · fixManufacturingofficial - Microsoftreviewed - checked by Opus

#13641 Bug 647022: [Subcontracting] Use alternative worksheet names and migrate the legacy page

Subcontracting initialization now preserves existing customer templates and uses alternative worksheet names when the default SUBCONTR name is unavailable, while migrating the legacy page ID only from the old Subcontracting Worksheet.

Pull request · merged into main (BC30) on 2026-11-11 by ChethanT · 6 files (+684 -7), 3 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Prevents silent replacement of non-Subcontracting templates named SUBCONTR by preserving customer templates
  • Generates alternative names (SUBCONTR1, SUBCONTR2, etc.) within 10-character limit when default name is unavailable
  • Migrates Page ID only from the legacy Subcontracting Worksheet (99000886) to the new worksheet
  • Reuses existing Subcontracting-type templates before creating new ones, preventing duplicates on repeated initialization
  • Maintains existing template identity, descriptions, recurring settings, and batch configurations except for explicit legacy page migration
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#647022
  • Labels: AL: Apps (W1), Team: SCM
  • Systems: manufacturing

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

  • Subcontracting overview — possibly related: Documents subcontracting worksheet usage and legacy page migration. (model-linked)

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