---
id: object/tableextension/18716-in
type: object
title: Table extension 18716 "Purchase Line" (IN)
summary: Table extension 18716 "Purchase Line" (IN) in the IN country layer (Microsoft.Purchases.Document), extends "Purchase Line". 3 fields, 3 public procedures, 1 events. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - tableextension
  - 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: c26e0968619809054cd20174eb7cbd8d15ffa9edbed8ecb2cf473b2e642b5bf3
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/IN/INTDS/app/TDSOnPurchase/src/tableextension/PurchaseLine.TableExt.al
    title: src/Apps/IN/INTDS/app/TDSOnPurchase/src/tableextension/PurchaseLine.TableExt.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: tableextension
object_id: 18716
name: Purchase Line
namespace: Microsoft.Purchases.Document
app: INTDS
extends: Purchase Line
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: 3
  procedures: 8
  events: 1
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Table extension 18716 "Purchase Line" (IN)

> Table extension 18716 "Purchase Line" (IN) in the IN country layer (Microsoft.Purchases.Document), extends "Purchase Line". 3 fields, 3 public procedures, 1 events. Introduced in BC29, still in BC30.

IN country layer · Microsoft.Purchases.Document · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/IN/INTDS/app/TDSOnPurchase/src/tableextension/PurchaseLine.TableExt.al) · facts from BC29

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

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 18716 | TDS Section Code | Code[10] | — | DataClassification CustomerContent |
| 18717 | Nature of Remittance | Code[10] | — | TableRelation TDS Nature of Remittance; DataClassification CustomerContent |
| 18718 | Act Applicable | Code[10] | — | TableRelation Act Applicable; DataClassification CustomerContent |

## Events published

- `OnBeforeUpdateTaxAmountOnCurrentDocument(var PurchaseLine: Record "Purchase Line"; var xPurchaseLine: Record "Purchase Line"; CallerFieldNo: Integer; var IsHandled: Boolean)` (integration)

## Procedures

- `OnAfterTDSSectionCodeLookupPurchLine(var PurchLine: Record "Purchase Line"; VendorNo: Code[20]; SetTDSSection: boolean)`
- `CheckDefaultAndAssignTDSSection(var PurchLine: Record "Purchase Line"; TDSSection: Code[10]; SetTDSSection: boolean)`
- `CheckNonResidentsPaymentSelection()`

Plus 4 local procedures.

## Triggers

OnAfterDelete

## 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: "tableextension", object_name: "Purchase Line")`, 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.
