---
id: object/codeunit/18201-in
type: object
title: Codeunit 18201 "GST Distribution Subcsribers" (IN)
summary: Codeunit 18201 "GST Distribution Subcsribers" (IN) in the IN country layer (Microsoft.Finance.GST.Distribution). 1 public procedures, 1 events, 16 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: fff67aded8523169495a7a0398a89ab707009e191ce499222664df1818e88c46
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/IN/INGST/app/GSTDistribution/src/Codeunit/GSTDistributionSubcsribers.codeunit.al
    title: src/Apps/IN/INGST/app/GSTDistribution/src/Codeunit/GSTDistributionSubcsribers.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: 18201
name: GST Distribution Subcsribers
namespace: Microsoft.Finance.GST.Distribution
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: 40
  events: 1
  subscribers: 16
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 18201 "GST Distribution Subcsribers" (IN)

> Codeunit 18201 "GST Distribution Subcsribers" (IN) in the IN country layer (Microsoft.Finance.GST.Distribution). 1 public procedures, 1 events, 16 event subscribers. Introduced in BC29, still in BC30.

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

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

## Events published

- `OnBeforeDistDocumentLocationWiseNo(var GSTDistributionLine: Record "GST Distribution Line"; var IsHandled: Boolean)` (integration)

## Event subscriptions

- ValidatePostingSeriesDocumentType subscribes to Table "Posting No. Series" OnBeforeRun
- ValidateIntrastateDistribution subscribes to Table "GST Component Distribution" OnAfterValidateEvent (Intrastate Distribution)
- ValidateInterstateDistribution subscribes to Table "GST Component Distribution" OnAfterValidateEvent (Interstate Distribution)
- GSTDistHeaderOnInsertTrigger subscribes to Table "GST Distribution Header" OnBeforeInsertEvent
- ValidateNoField subscribes to Table "GST Distribution Header" OnAfterValidateEvent (No.)
- ValidatePostingDate subscribes to Table "GST Distribution Header" OnAfterValidateEvent (Posting Date)
- ValidateDistDocumentType subscribes to Table "GST Distribution Header" OnAfterValidateEvent (Dist. Document Type)
- ValidateDistDocumentNoLocationWise subscribes to Table "GST Distribution Line" OnAfterValidateEvent (To Location Code)
- ValidateReversalInvoiceNo subscribes to Table "GST Distribution Header" OnAfterValidateEvent (Reversal Invoice No.)
- ValidateFromLocationCode subscribes to Table "GST Distribution Header" OnAfterValidateEvent (From Location Code)
- ValidateDistCreditType subscribes to Table "GST Distribution Header" OnAfterValidateEvent (Dist. Credit Type)
- ValidateShortcutDimension1Code subscribes to Table "GST Distribution Header" OnAfterValidateEvent (Shortcut Dimension 1 Code)
- ValidateShortcutDimension2Code subscribes to Table "GST Distribution Header" OnAfterValidateEvent (Shortcut Dimension 2 Code)
- ValidatePriority subscribes to Table "GST Claim Setoff" OnAfterValidateEvent (Priority)
- ValidateInsertRecord subscribes to Table "GST Claim Setoff" OnBeforeInsertEvent
- OnAfterValidateISDInterstatePosting subscribes to Table "GST Distribution Header" OnAfterValidateEvent (ISD Interstate Posting)

## Procedures

- `GetDistributionNoSeriesCode(var Record: Variant)`

Plus 22 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 Distribution Subcsribers")`, 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.
