---
id: change/bcapps/9354
type: change
title: "#9354 Incident 51000001074180 : [BC-IN] GST Component code alignment issue in Pay GST Calculation details."
summary: GST Settlement calculation now processes components in the configured Return & Reco Sequence order instead of alphabetically, ensuring correct Credit Utilized and Surplus Credit display in Pay GST Calculation Details.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit gst settlement
  - page pay gst calculation details
  - table gst payment buffer details
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:13:01.113Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: c6d84bab1c577a6bacd7ff3b6b8689a790506c87
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9354
    title: "microsoft/BCApps#9354: Incident 51000001074180 : [BC-IN] GST Component code alignment issue in Pay GST Calculation details."
    date: "2026-07-13"
    commit: c6d84bab1c577a6bacd7ff3b6b8689a790506c87
    t: null
    quote: Process GST Payment Buffer in Return & Reco Component Sequence No. order instead of clustered GST Component Code order during settlement calculation.
links:
  learn: []
  objects:
    - object/codeunit/18318-in
    - object/page/18324-in
    - object/table/18322-in
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9354
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9354
kind: pr
base_branch: main
major: "30"
merged_at: "2026-07-13T21:30:47Z"
author: v-ajaztabrez
author_type: User
community_contribution: true
labels:
  - "ADO: Sync"
  - From Fork
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 3
  additions: 6
  deletions: 1
  al: 3
apps:
  - INGST
objects_touched:
  - key: codeunit/18318
    page: codeunit/18318-in
    type: codeunit
    id: 18318
    name: GST Settlement
    app: INGST
    status: modified
  - key: page/18324
    page: page/18324-in
    type: page
    id: 18324
    name: Pay GST Calculation Details
    app: INGST
    status: modified
  - key: table/18322
    page: table/18322-in
    type: table
    id: 18322
    name: GST Payment Buffer Details
    app: INGST
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 642154
systems:
  - finance
quote: Process GST Payment Buffer in Return & Reco Component Sequence No. order instead of clustered GST Component Code order during settlement calculation.
joined_against:
  major: "30"
  commit: a4406cfa9e57437fedc49c53c327a199a854491e
---

# #9354 Incident 51000001074180 : [BC-IN] GST Component code alignment issue in Pay GST Calculation details.

> GST Settlement calculation now processes components in the configured Return & Reco Sequence order instead of alphabetically, ensuring correct Credit Utilized and Surplus Credit display in Pay GST Calculation Details.

[Pull request](https://github.com/microsoft/BCApps/pull/9354) · merged into `main` (BC30) on 2026-07-13 by v-ajaztabrez (community contribution) · 3 files (+6 -1), 3 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Settlement procedures in GST Settlement codeunit now use SetCurrentKey with Sequence No. to iterate in correct order
- GST Payment Buffer Details table adds LineOrder key for consistent display sorting
- Pay GST Calculation Details page sorts by Line No. to show components in configured sequence
- Calculation and posting logic unchanged; only iteration and display order corrected
- Fixes GST component processing for India localization with multiple liability components
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 18318 "GST Settlement"](../../objects/codeunit/18318-in.md), INGST (IN layer): modified
- [Page 18324 "Pay GST Calculation Details"](../../objects/page/18324-in.md), INGST (IN layer): modified
- [Table 18322 "GST Payment Buffer Details"](../../objects/table/18322-in.md), INGST (IN layer): modified

## Context

- Work items: AB#642154
- Labels: ADO: Sync, From Fork
- Systems: finance
- From the description: "Process GST Payment Buffer in Return & Reco Component Sequence No. order instead of clustered GST Component Code order during settlement calculation."

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).
