#9441 [Extensibility Request] issue 30337: add OnCreateProdOrderLineOnBeforeCreateProdOrderLineFromItem event
A new integration event OnCreateProdOrderLineOnBeforeCreateProdOrderLineFromItem allows extensions to completely replace the standard item source type processing when creating production order lines, with control over the error outcome.
- 1files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-07-28 by AleksandricMarko · 1 file (+28 -15), 1 AL · feature · tier official · reviewed (checked by Opus)
What changed
- New IsHandled-based integration event lets extensions take full ownership of item-line creation
- Extensions can bypass standard flow and set the ErrorOccured flag
- Existing events and standard behavior preserved when the extension doesn’t handle the operation
- Event exposes Production Order record and variant code for custom processing
- Extracted item creation logic into separate local procedure
AL objects touched
- Codeunit 99000787 “Create Prod. Order Lines”, Base Application: modified
Context
- Work items: AB#641918
- Labels: Team: SCM, event-request
- Systems: manufacturing
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).