---
id: change/bcapps/14432
type: change
title: "#14432 [Main]- Item Journal approval link fails after approver switches batches"
summary: Fixed item journal approval links failing when approvers had previously accessed a different batch. The IsOpenedFromBatch method now correctly uses the record's template and batch instead of falling back to the user's saved batch.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - table item journal line
system: inventory
review:
  state: reviewed
  by: opus
  at: "2026-11-28T01:06:56.904Z"
  flags: []
generated:
  at: "2026-12-01T00:17:57.990Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 31622ff7373235e672285196fce802268760e380
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/14432
    title: "microsoft/BCApps#14432: [Main]- Item Journal approval link fails after approver switches batches"
    date: "2026-11-27"
    commit: 31622ff7373235e672285196fce802268760e380
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/table/83
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/LocalFunctionality/Switzerland/swiss-inventory-management
      title: Swiss Inventory Management [CH]
      label: possibly related
      why: touches Table 83 "Item Journal Line"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/across-how-to-set-up-approval-users
      title: Set up approval users
      label: possibly related
      why: Documents approval user setup that enables approval workflows for journal entries
      by: model
number: 14432
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/14432
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-27T05:58:42Z"
author: DhavalMore88
author_type: User
community_contribution: true
labels:
  - "ADO: Sync"
  - From Fork
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 9
  additions: 235
  deletions: 40
  al: 8
apps:
  - Base Application
objects_touched:
  - key: table/83
    page: table/83
    type: table
    id: 83
    name: Item Journal Line
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 660510
systems:
  - inventory
quote: null
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #14432 [Main]- Item Journal approval link fails after approver switches batches

> Fixed item journal approval links failing when approvers had previously accessed a different batch. The IsOpenedFromBatch method now correctly uses the record's template and batch instead of falling back to the user's saved batch.

[Pull request](https://github.com/microsoft/BCApps/pull/14432) · merged into `main` (BC30) on 2026-11-27 by DhavalMore88 (community contribution) · 9 files (+235 -40), 8 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Item Journal's IsOpenedFromBatch now matches General Journal's implementation
- When no batch filter is set, the method uses the record's own batch name
- Special filter characters in batch names are properly quoted
- Approval email links now navigate to the correct batch for the approver
- Applied to W1 and all localized versions (APAC, CH, ES, FR, GB, IT, RU)
- Behaviour changes for users or extensions.

## AL objects touched

- [Table 83 "Item Journal Line"](../../objects/table/83.md), Base Application: modified

## Context

- Work items: AB#660510
- Labels: ADO: Sync, From Fork, Team: SCM
- Systems: inventory

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Swiss Inventory Management \[CH\]](https://learn.microsoft.com/dynamics365/business-central/LocalFunctionality/Switzerland/swiss-inventory-management) — possibly related: touches Table 83 "Item Journal Line"
- [Set up approval users](https://learn.microsoft.com/dynamics365/business-central/across-how-to-set-up-approval-users) — possibly related: Documents approval user setup that enables approval workflows for journal entries (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).
