Search Results in_state




Overview

APPS.JAI_AP_TDS_ETDS_PKG is the Oracle E-Business Suite India Localization package responsible for generating electronic Tax Deducted at Source (eTDS) files for Accounts Payable. Its source header identifies it as jai_ap_tds_etds.plb, last shipped at version 120.15.12010000.8 (20-Nov-2008). The package encapsulates the data extraction, formatting, and flat-file emission logic required to satisfy Indian statutory eTDS reporting in the formats mandated by the income tax authorities. It assembles deductee, challan, batch, and file-level records from standard Oracle Payables and India Localization tables and writes them to the filesystem through UTL_FILE. The package is registered with an API classification of OTHER and is referenced by one other package. Its change history reflects a lineage of localization bug fixes spanning 2004 to 2008, including corrections for vendor prepayment invoice TDS and base taxable amount calculation, section code printing for deductee details, migration of the AP lookup code from 'TDS' to 'INDIA TDS', CASE-compliance renaming of DB entities, and R12 initiatives to remove literals from DML statements and cursors.

Key Procedures and Functions

The package exposes twenty-five documented procedures and functions, organized into distinct functional groups:

Collectively these routines segregate header, batch, challan, and deductee responsibilities, allowing both regular and quarterly return formats to be emitted from a common data model.

Tables Accessed

The package reads and writes the following objects through APPS synonyms:

Usage Notes

JAI_AP_TDS_ETDS_PKG is invoked in the India Localization eTDS concurrent program flow, where it extracts qualifying withholding transactions for a reporting period, stages them in JAI_AP_ETDS_T, validates the derived segments, and writes the formatted return to a server-side file via UTL_FILE. Because it is a package body registered as an OTHER API, it is not exposed as a public PL/SQL API for general customer calls; it is consumed internally by the India localization module and by the one dependent package documented in the metadata. The functionality is relevant to both Oracle EBS 12.1.1 and 12.2.2, since the 120.15.12010000.8 file version corresponds to the R12 code line. Customizations should avoid direct invocation of individual CREATE_* or VALIDATE_* routines, as their sequencing and internal state are managed by POPULATE_DETAILS. The package writes to the filesystem and therefore requires the UTL_FILE directory and database directory object privileges to be correctly configured for the eTDS output path. Users searching for "in_state" will typically encounter this package in the context of state-level deductee and challan attributes produced during eTDS record construction.