---
id: change/bcapps/11664
type: change
title: "#11664 Add OnBefore event for approval insertion checks"
summary: An integration event is added to the Approvals Mgmt. codeunit that allows extensions to skip journal insertion approval checks by handling the event.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - codeunit approvals mgmt.
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:04:09.054Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 3a23056129e7274af8f0f330812b59e6114498f8
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11664
    title: "microsoft/BCApps#11664: Add OnBefore event for approval insertion checks"
    date: "2026-09-23"
    commit: 3a23056129e7274af8f0f330812b59e6114498f8
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/1535
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 11664
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11664
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-23T09:37:03Z"
author: darjoo
author_type: User
community_contribution: false
labels:
  - "Team: Integrations"
change_class: code
change_kind: feature
behavior_change: false
breaking: false
files:
  count: 1
  additions: 11
  deletions: 0
  al: 1
apps:
  - Base Application
objects_touched:
  - key: codeunit/1535
    page: codeunit/1535
    type: codeunit
    id: 1535
    name: Approvals Mgmt.
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 606350
systems:
  - development
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

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

[Pull request](https://github.com/microsoft/BCApps/pull/11664) · 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."](../../objects/codeunit/1535.md), Base Application: modified

## Context

- Work items: AB#606350
- Labels: Team: Integrations
- Systems: development

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