#11664 Add OnBefore event for approval insertion checks
An integration event is added to the Approvals Mgmt. codeunit that allows extensions to skip journal insertion approval checks by handling the event.
- 1files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-09-23 by darjoo · 1 file (+11 -0), 1 AL · feature · tier official · reviewed (checked by Opus)
What changed
- New OnBeforePreventInsertRecIfOpenApprovalEntryExist event added
- Subscribers can set IsHandled to bypass approval checks
- Existing approval logic unchanged when event is not handled
- Enables extensions to skip checks when approvals are not used
- No schema, permission, or upgrade changes required
AL objects touched
- Codeunit 1535 “Approvals Mgmt.”, Base Application: modified
Context
- Work items: AB#606350
- Labels: Team: Integrations
- Systems: development
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Types of events for extensibility — possibly related: touches Codeunit 1535 “Approvals Mgmt.”
- Create approval workflows to connect tasks — possibly related: Documents creating approval workflows and approval process automation in Business Central. (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).