code change · fixManufacturingofficial - Microsoftreviewed - checked by Opus

#10208 [Subcontracting] Detect subcontracting purchase/transfer orders in legacy data check

The legacy data check for subcontracting now detects production-order-linked purchase and transfer orders to ensure migration runs when needed, and renames an internal function for clarity.

Pull request · merged into main (BC30) on 2026-08-13 by alexei-dobriansky · 2 files (+112 -4), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Adds detection for subcontracting purchase orders linked to production orders
  • Adds detection for subcontracting transfer orders linked to production orders
  • Renames internal function OpenSubcontractingTransfersExist to OpenWIPTransfersExist for accuracy
  • Fixes migration gaps where legacy data existed but was not detected
  • Includes new tests to verify detection of linked orders without WIP Item flag
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#646168
  • Labels: Subcontracting, Team: SCM
  • Systems: manufacturing
  • From the description: “The migration check missed them as a result, disabling Legacy Subcontracting skipped a needed data migration.”

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