#13342 [Main] Incorrect Buyer/Seller Registration No. Written to Detailed GST Ledger Entry When Posting Purchase Invoice Without Order Address
Fixed incorrect registration numbers appearing in GST ledger entries when purchase invoices are posted without order addresses by resetting cached values between postings.
- 1files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-10-29 by v-ajaztabrez · 1 file (+5 -0), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Detailed GST Ledger Entries showed previous invoice’s registration number when subsequent invoice had no Order Address
- Root cause was single-instance codeunit retaining values between postings in the same session
- Solution resets cached Pay-to Vendor No., Buyer/Seller Registration No., and State Code before each document posting
- Affects Indian GST purchase posting workflow
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 18080 “GST Purchase Subscribers”, INGST (IN layer): modified
Also merged into
- #13343 into
releases/29.xon 2026-10-29
Context
- Work items: AB#656985
- Labels: Team: SCM
- Systems: finance
- From the description: “Reset cached Pay-to Vendor No., Buyer/Seller Registration No., and State Code before initializing each purchase document’s posting values.”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- GST on Advance Payment or Normal Payment Application with Purchase Invoice — possibly related: Documents how vendor registration details apply to purchase invoices under India’s GST rules. (model-linked)
- Set Up Goods and Services Tax — possibly related: Covers GST setup in India including vendor registration details required for ledger entry 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).