code change · fixManufacturingofficial - Microsoftreviewed - checked by Opus

#8750 [Bug Fix] #638688: Suppress availability warning for Transfer WIP Item lines

Transfer order lines flagged as WIP items now skip the standard item-availability warning check since WIP items are intermediate goods managed by subcontracting, not subject to regular inventory constraints.

Pull request · merged into main (BC30) on 2026-08-04 by ventselartur · 3 files (+227 -0), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • New subscriber to Transfer Line OnBeforeCheckItemAvailable sets IsHandled when Transfer WIP Item is true
  • Changing Quantity on a WIP transfer line no longer raises the item-availability warning
  • Non-WIP transfer lines still run the availability check
  • Subscriber only runs when subcontracting is enabled and skips temporary records
  • New test codeunit plus a spy codeunit check whether the availability check ran
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#638688
  • Labels: AL: Apps (W1), Subcontracting, Team: SCM
  • Systems: manufacturing
  • From the description: “Suppresses the standard item-availability warning when the Quantity is changed on a Transfer Order line flagged as Transfer WIP Item.”

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