#10520 [Extensibility Request] issue 29640: use document type enum in blocked customer event
Blocked customer check event now passes the extensible Gen. Journal Document Type enum value instead of converting to an option integer, preserving document type extensibility.
- 11files
- 11AL files
- 1objects
Pull request · merged into main (BC30) on 2026-10-13 by AleksandricMarko · 11 files (+143 -11), 11 AL · feature · tier official · reviewed (checked by Opus)
What changed
- Changed OnBeforeCheckBlockedCust event parameter from option to Gen. Journal Document Type enum
- Removed integer conversion to preserve enum extensibility for extensions
- Applied to W1 and all 10 country layers consistently
- Enables extensions to use custom document type values without reduction to integer
- Breaking: existing extensions can stop compiling or working.
AL objects touched
- Table 18 “Customer”, Base Application: modified
Context
- Work items: AB#620150
- Labels: Team: Finance, event-request
- Systems: sales
- From the description: “Extensions need the blocked-customer check to preserve extensible general journal document type values.”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Event types — possibly related: Documents event types and how to publish/subscribe to events, relevant to blocking customer event implementation. (model-linked)
- Extensible Enums — possibly related: Documents extensible enums in AL, directly relevant to using document type enum in customer blocking event. (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).