#9443 [Extensibility Request] issue 30222: add handled event before RecreatePurchLines in Pay-to Vendor No. validation
A new handled integration event OnValidatePayToVendorNoOnBeforeRecreatePurchLines was added to the Pay-to Vendor No. field validation in Purchase Header, allowing extensions to take ownership of purchase line recreation logic instead of being forced to replicate the entire validation trigger.
- 14files
- 14AL files
- 1objects
Pull request · merged into main (BC30) on 2026-07-24 by AleksandricMarko · 14 files (+154 -28), 14 AL · feature · tier official · reviewed (checked by Opus)
What changed
- New integration event raised before RecreatePurchLines call in Pay-to Vendor No. field validation
- Event includes IsHandled flag that allows subscribers to skip the standard recreation logic
- Exposes Rec and xRec parameters for subscribers to access purchase header data
- Applied across all localization layers (W1, APAC, BE, CH, DACH, ES, FI, GB, IT, NA, NL, NO, RU, SE)
- Enables custom purchase line recreation logic that preserves extension-specific information
AL objects touched
- Table 38 “Purchase Header”, Base Application: modified
Context
- Work items: AB#641640
- Labels: Team: SCM, event-request
- Systems: purchasing
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).