Search Results create_file_header




Overview

JAI_AP_TDS_ETDS_PKG is the Oracle E-Business Suite globalization package that generates electronic Tax Deducted at Source (eTDS) return files for Indian statutory reporting. It belongs to the JA (Asia/Pacific localizations) product family and resides in the APPS schema, where it operates against AP, HR, HZ, GL and FND base tables through APPS synonyms. The package assembles the flat-file formats mandated by the Indian Income Tax Department — the quarterly eTDS statement and the associated challan and deductee schedules — by reading payables withholding data captured in Oracle Payables and writing formatted, delimited output to a server-side operating system file via UTL_FILE.

A substantial portion of the package body is devoted to fixed-width field definitions. Named constants such as s_line_number, s_record_type, s_file_type, s_upload_type, s_file_sequence_number, s_deductor_tan, s_number_of_batches, s_batch_number, s_challan_count and s_deductee_count establish the exact character positions required by the statutory file layout, while formatting constants (v_delimeter, v_format_amount, v_format_rate, padding characters) govern value presentation. The file is written through a UTL_FILE handle (v_filehandle) to a directory resolved into v_utl_file_dir with a file name held in v_utl_file_name.

Key Procedures and Functions

Twenty-five documented procedures and functions are catalogued in total, the remainder supporting internal formatting, padding and control-break logic.

Tables Accessed

Usage Notes

The package is normally invoked from the Oracle Payables India eTDS concurrent program, which supplies the request parameters recorded in JAI_AP_ETDS_REQUESTS and directs output to the directory configured through the UTL_FILE_DIR or DIRECTORY object. It is not designed for interactive use from a form. The header comment identifier ($Header: jai_ap_tds_etds.pls 120.8.12010000.3 2008/11/20 ...) indicates a long-stable code line maintained through Release 12.1.1 and carried forward into 12.2.2 with no functional redesign. Because the package writes to the server file system, the database directory and file naming parameters must be correctly configured before submission. On 12.2.2 deployments the same APPS synonym and grant model applies. Custom callers should generally invoke the concurrent program rather than the package procedures directly, and only one other package is documented as referencing this package.