#9339 [master][Gen. Jnl.-Post Line]` Add var NextEntryNo, var NextVATEntryNo, and var NextTransactionNo to OnAfterInitGLRegister in StartPosting
The OnAfterInitGLRegister event raised from StartPosting in codeunit Gen. Jnl.-Post Line now passes NextEntryNo, NextVATEntryNo and NextTransactionNo as var parameters, so subscribers can read and change them.
- 11files
- 11AL files
- 1objects
Pull request · merged into main (BC30) on 2026-07-15 by AndreasHans · 11 files (+22 -22), 11 AL · feature · tier official · reviewed (checked by Opus)
What changed
- OnAfterInitGLRegister in StartPosting gains var NextEntryNo, NextVATEntryNo and NextTransactionNo
- Applied to Gen. Jnl.-Post Line in W1 and all localized layers
- Existing subscribers keep working; new subscribers can use the extra parameters
AL objects touched
- Codeunit 12 “Gen. Jnl.-Post Line”, Base Application: modified
Context
- Work items: AB#639006
- 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).