---
id: change/bcapps/9051
type: change
title: '#9051 [639592][ALAppExtensions #30277][Event Request] Codeunit 426 "Payment Tolerance Management" OnPmtTolGenJnlOnAfterCheckConditions'
summary: Codeunit 426 Payment Tolerance Management now exposes a new by-reference variant of the OnPmtTolGenJnlOnAfterCheckConditions event in the NL layer, allowing subscribers to modify general journal lines before payment tolerance processing continues.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - codeunit payment tolerance management
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:13:21.150Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: e17bafd00be32b3d98ef9464a34b9da8cb696450
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9051
    title: 'microsoft/BCApps#9051: [639592][ALAppExtensions #30277][Event Request] Codeunit 426 "Payment Tolerance Management" OnPmtTolGenJnlOnAfterCheckConditions'
    date: "2026-07-10"
    commit: e17bafd00be32b3d98ef9464a34b9da8cb696450
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/426
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9051
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9051
kind: pr
base_branch: main
major: "30"
merged_at: "2026-07-10T09:02:56Z"
author: Explorer986
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
change_class: code
change_kind: feature
behavior_change: false
breaking: false
files:
  count: 1
  additions: 3
  deletions: 2
  al: 1
apps:
  - Base Application
objects_touched:
  - key: codeunit/426
    page: codeunit/426
    type: codeunit
    id: 426
    name: Payment Tolerance Management
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 639592
systems:
  - finance
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #9051 [639592][ALAppExtensions #30277][Event Request] Codeunit 426 "Payment Tolerance Management" OnPmtTolGenJnlOnAfterCheckConditions

> Codeunit 426 Payment Tolerance Management now exposes a new by-reference variant of the OnPmtTolGenJnlOnAfterCheckConditions event in the NL layer, allowing subscribers to modify general journal lines before payment tolerance processing continues.

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

## What changed

- Adds OnPmtTolGenJnlOnAfterCheckConditions event with by-reference parameter for general journal lines
- Subscribers can now change journal line data before sales or purchase path processing
- Existing by-value event variant remains unchanged, avoiding breaking changes
- Event only available in NL layer builds
- No test required as this adds an extension point only

## AL objects touched

- [Codeunit 426 "Payment Tolerance Management"](../../objects/codeunit/426.md), Base Application (NL layer): modified

## Context

- Work items: AB#639592
- Labels: Team: Finance
- 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).
