---
id: change/bcapps/9591
type: change
title: "#9591 [Extensibility Request] issue 29875: add OnBeforeCheckPurchaseAdvanceLetterPendingApproval IsHandled event"
summary: A new OnBeforeCheckPurchaseAdvanceLetterPendingApproval IsHandled event was added to the purchase advance letter document codeunit in the Czech localization, allowing extensions to intercept and customize approval checks.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - codeunit rel. purch.adv.letter doc. czz
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:11:58.784Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 49dd5cf3b2e8dcb04593b2f1b217b0877ea6f807
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9591
    title: "microsoft/BCApps#9591: [Extensibility Request] issue 29875: add OnBeforeCheckPurchaseAdvanceLetterPendingApproval IsHandled event"
    date: "2026-07-21"
    commit: 49dd5cf3b2e8dcb04593b2f1b217b0877ea6f807
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/31018-cz
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9591
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9591
kind: pr
base_branch: main
major: "30"
merged_at: "2026-07-21T08:56:29Z"
author: DavidHolusa
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
  - event-request
change_class: code
change_kind: feature
behavior_change: false
breaking: false
files:
  count: 1
  additions: 17
  deletions: 3
  al: 1
apps:
  - AdvancePaymentsLocalization
objects_touched:
  - key: codeunit/31018
    page: codeunit/31018-cz
    type: codeunit
    id: 31018
    name: Rel. Purch.Adv.Letter Doc. CZZ
    app: AdvancePaymentsLocalization
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 629859
systems:
  - finance
quote: null
joined_against:
  major: "30"
  commit: a4406cfa9e57437fedc49c53c327a199a854491e
---

# #9591 [Extensibility Request] issue 29875: add OnBeforeCheckPurchaseAdvanceLetterPendingApproval IsHandled event

> A new OnBeforeCheckPurchaseAdvanceLetterPendingApproval IsHandled event was added to the purchase advance letter document codeunit in the Czech localization, allowing extensions to intercept and customize approval checks.

[Pull request](https://github.com/microsoft/BCApps/pull/9591) · merged into `main` (BC30) on 2026-07-21 by DavidHolusa · 1 file (+17 -3), 1 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- New event added to RelPurchAdvLetterDocCZZ codeunit
- Enables extensions to handle purchase advance letter pending approval checks
- Supports IsHandled pattern for event cancellation
- Addresses extensibility request for Czech advance payments
- Small code change with minimal impact

## AL objects touched

- [Codeunit 31018 "Rel. Purch.Adv.Letter Doc. CZZ"](../../objects/codeunit/31018-cz.md), AdvancePaymentsLocalization (CZ layer): modified

## Context

- Work items: AB#629859
- Labels: Team: Finance, event-request
- Systems: finance

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