#14008 [MAIN] Fix customer GST application posting sequence (Bug 659070)
Fixed a posting sequence error when applying GST advance payments against sales invoices with different customer posting groups by deferring GST journal posting until after customer application posting completes.
- 2files
- 2AL files
- 2objects
Pull request · merged into main (BC30) on 2026-11-19 by v-ajaztabrez · 2 files (+22 -7), 2 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Resolves the ‘G/L Entry already exists’ error when applying a GST advance payment to a sales invoice with a different customer posting group
- Cause: GST application entries were posted early through a separate Gen. Jnl.-Post Line instance while customer application posting was still running
- Offline customer GST journal posting is now deferred until customer application posting finishes
- Uses the shared Gen. Jnl.-Post Line instance supplied by OnAfterPostApplyCustLedgEntry
- Affects both application posting and its preview
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 18430 “GST Application Handler”, INGST (IN layer): modified
- Codeunit 18434 “GST Application Session Mgt.”, INGST (IN layer): modified
Context
- Work items: AB#659070
- Labels: Team: Finance
- Systems: finance
- From the description: “Defer offline customer GST journal posting until customer application posting finishes.”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- GST and TCS on Advance Customer Payments — possibly related: GST calculation on advance customer payments and application in India localization, matches GST application handling. (model-linked)
- GST on Advance Payment and Application with Sales Invoice — possibly related: GST on advance payment application with sales invoices in India, relevant to customer GST application posting. (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).