---
id: object/codeunit/18434-in
type: object
title: Codeunit 18434 "GST Application Session Mgt." (IN)
summary: Codeunit 18434 "GST Application Session Mgt." (IN) in the IN country layer (Microsoft.Finance.GST.Application). 37 public procedures, 5 event subscribers. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - in layer
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: b655696485c138ea44d61dbd62be9c9dbed16a758076f9437a8d38351f7e2352
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/IN/INGST/app/GSTApplication/src/Codeunit/GSTApplicationSessionMgt.Codeunit.al
    title: src/Apps/IN/INGST/app/GSTApplication/src/Codeunit/GSTApplicationSessionMgt.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/in
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 18434
name: GST Application Session Mgt.
namespace: Microsoft.Finance.GST.Application
app: INGST
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
country: IN
counts:
  fields: 0
  procedures: 44
  events: 0
  subscribers: 5
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 18434 "GST Application Session Mgt." (IN)

> Codeunit 18434 "GST Application Session Mgt." (IN) in the IN country layer (Microsoft.Finance.GST.Application). 37 public procedures, 5 event subscribers. Introduced in BC29, still in BC30.

IN country layer · Microsoft.Finance.GST.Application · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/IN/INGST/app/GSTApplication/src/Codeunit/GSTApplicationSessionMgt.Codeunit.al) · facts from BC29

An object of the [IN localization](../../localizations/in.md), not part of W1.

## Properties

| Property | Value |
|---|---|
| SingleInstance | true |

## Event subscriptions

- OnAfterGetTDSAmount subscribes to Codeunit "Tax Base Subscribers" OnAfterGetTDSAmount
- OnAfterGetTCSAmount subscribes to Codeunit "Tax Base Subscribers" OnAfterGetTCSAmount
- OnCopyPurchDocPurchLineOnAfterSetFilters subscribes to Codeunit "Copy Document Mgt." OnCopyPurchDocPurchLineOnAfterSetFilters
- DisableTaxEngineCallingForPurchaseLine subscribes to Codeunit "Calculate Tax" OnBeforeCallTaxEngineForPurchaseLine
- OnCopyPurchDocOnAfterCopyPurchDocLines subscribes to Codeunit "Copy Document Mgt." OnCopyPurchDocOnAfterCopyPurchDocLines

## Procedures

- `SetGSTApplicationSourcePurch(TransNo: Integer; VendNo: Code[20])`
- `GetGSTApplicationSourcePurch(var TransNo: Integer; var GSTTransType: Enum "Detail Ledger Transaction Type"; var VendNo: Code[20])`
- `SetGSTApplicationSourceSales(TransNo: Integer; CustNo: Code[20])`
- `GetGSTApplicationSourceSales(var TransNo: Integer; var GSTTransType: Enum "Detail Ledger Transaction Type"; var CustNo: Code[20])`
- `GetGSTTransactionType(var GSTTransType: Enum "Detail Ledger Transaction Type")`
- `SetGSTApplicationAmount(AppliedAmt: Decimal; AppliedAmtLCY: Decimal)`
- `GetGSTApplicationAmount(var AppliedAmt: Decimal; var AppliedAmtLCY: Decimal)`
- `SetOnlineCustLedgerEntry(OnlineCustLedgerEntry: Record "Cust. Ledger Entry")`
- `GetOnlineCustLedgerEntry(var OnlineCustLedgerEntry: Record "Cust. Ledger Entry")`
- `SetOnlineVendLedgerEntry(OnlineVendLedgerEntry: Record "Vendor Ledger Entry")`
- `GetOnlineVendLedgerEntry(var OnlineVendLedgerEntry: Record "Vendor Ledger Entry")`
- `SetOnlinePostApplication(pIsOnlinePostApplication: Boolean)`
- `GetOnlinePostApplication(): Boolean`
- `SetOnlinePostApplicationLastEntryNo(pOnlinePostApplicationLastEntryNo: Integer)`
- `GetOnlinePostApplicationLastEntryNo(): Integer`
- `SetOnlinePostApplicationLastEntryNoForGLRegister(pGLRegisterLastEntryNo: Integer)`
- `GetOnlinePostApplicationLastEntryNoForGLRegister(): Integer`
- `SetSubcontractingEntryNo(ItemLedgEntryNo: Integer; ItemApplnEntryNo: Integer; ValueEntryNo: Integer)`
- `SetSubcontractingItemLedgEntryNo(pItemLedgEntryNo: Integer)`
- `SetSubcontractingItemApplnEntryNo(pItemApplnEntryNo: Integer)`
- `GetSubcontractingEntryNo(var LastItemLedgEntryNo: Integer; var LastItemApplnEntryNo: Integer; var LastValueEntryNo: Integer)`
- `SetSubcontractingLastGLEntryNo(SubconLastGLEntryNo: Integer)`
- `GetSubcontractingLastGLEntryNo(): Integer`
- `SetSubContractingReceiving(SubConReceive: Boolean)`
- `GetSubContractingReceiving(): Boolean`
- `SetSubContractingReceivingMultiple(SubConReceiveMultiple: Boolean; AppliestoID: Code[50])`
- `SetSubcontracting(IsSubcon: Boolean)`
- `GetSubcontracting(): Boolean`
- `GetSubContractingReceivingMultiple(var AppliestoID: Code[50]): Boolean`
- `CreateApplicationGenJournallLine(var GenJournalLine: Record "Gen. Journal Line"; GLAccountNo: Code[20]; Amount: Decimal; SystemCreatedEntry: Boolean)`
- `PostApplicationGenJournalLine(var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")`
- `ClearApplicationGenJnlLine()`
- `ClearAllSessionVariables()`
- `GetTotalTDSInclSHECessAmount(): Decimal`
- `GetTotalTCSInclSHECessAmount(): Decimal`
- `SetGSTAmountLoaded(GSTAmt: Decimal)`
- `GetGSTAmountLoaded(): Decimal`

Plus 2 local procedures.

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "GST Application Session Mgt.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

A IN country object, not part of W1: the default corpus does not have it; `bcatlas_list_countries` shows which countries the atlas has.
