#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.
- 9files
- 8AL files
- 1objects
Pull request · 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”, 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] — possibly related: touches Table 83 “Item Journal Line”
- 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).