Search Results jai_ap_tds_prepayments_uk1
Overview
The table JAI_AP_TDS_PREPAYMENTS is a core data object within the Asia/Pacific Localizations (JA) module of Oracle E-Business Suite (EBS) releases 12.1.1 and 12.2.2. It is designed to support the complex statutory requirements for Tax Deducted at Source (TDS) and Withholding Tax (WCT) in countries like India. Specifically, this table serves as a critical audit and processing ledger for TDS calculations triggered by the application and unapplication of prepayments to standard invoices within the Payables module. It ensures that TDS compliance is accurately maintained even when prepayment transactions alter the net payable amounts, a common business practice.
Key Information Stored
The table's structure is defined by its primary and unique keys, which enforce data integrity for prepayment-related TDS tracking. The primary key is a surrogate identifier, TDS_PREPAYMENT_ID. A significant unique key (JAI_AP_TDS_PREPAYMENTS_UK1) ties records to specific invoice distributions, combining INVOICE_ID, INVOICE_DISTRIBUTION_ID_PREPAY, and INVOICE_DISTRIBUTION_ID. Crucially, the table stores separate foreign key references to threshold transaction records (in JAI_AP_TDS_THHOLD_TRXS) and tax definitions (in JAI_CMN_TAXES_ALL) for three distinct tax types: Standard TDS, Works Contract Tax (WCT), and ESSI (a social security-related deduction in India). For each tax type, it maintains identifiers for both the prepayment line and the "other" (standard invoice) line, along with corresponding threshold transaction IDs for the application and unapplication events. This design allows the system to precisely track and reverse TDS accruals as prepayment status changes.
Common Use Cases and Queries
The primary use case is the generation of accurate TDS reports and certificates that reflect the net tax position after prepayment activities. Auditors and tax consultants may query this table to verify TDS calculations during financial or statutory audits. A common reporting query would join this table to AP_INVOICES_ALL and JAI_CMN_TAXES_ALL to analyze TDS by vendor and tax type for a period. For troubleshooting, one might trace the TDS impact of a specific prepayment application.
- Sample Query (TDS Summary by Invoice): SELECT i.invoice_num, t.tax_name, p.tds_threshold_trx_id_apply, p.tds_threshold_trx_id_unapply FROM jai_ap_tds_prepayments p, ap_invoices_all i, jai_cmn_taxes_all t WHERE p.invoice_id = i.invoice_id AND p.tds_tax_id_prepay = t.tax_id;
- Operational Scenario: When a user unapplies a prepayment, the system references the threshold transaction IDs stored in this table to correctly reverse the previously accounted TDS, ensuring the ledger remains consistent.
Related Objects
JAI_AP_TDS_PREPAYMENTS is centrally connected to several key localization tables, as evidenced by its foreign key constraints.
- JAI_AP_TDS_THHOLD_TRXS: The most frequent relationship. This table stores the actual threshold-based tax transaction records for TDS, WCT, and ESSI, which are referenced via the various APPLY and UNAPPLY foreign key columns.
- JAI_CMN_TAXES_ALL: Provides the tax master definitions for the TDS, WCT, and ESSI tax IDs stored for both prepayment and other invoice lines.
- AP_INVOICES_ALL: The core Payables invoice table, linked via INVOICE_ID.
- JAI_AP_TDS_THHOLD_GRPS: Linked indirectly through the tax definition, this table manages grouping rules for TDS threshold calculations.
-
Table: JAI_AP_TDS_PREPAYMENTS
12.1.1
owner:JA, object_type:TABLE, fnd_design_data:JA.JAI_AP_TDS_PREPAYMENTS, object_name:JAI_AP_TDS_PREPAYMENTS, status:VALID, product: JA - Asia/Pacific Localizations , description: Stores details of TDS processing for prepayment application and unapplication , implementation_dba_data: JA.JAI_AP_TDS_PREPAYMENTS ,
-
Table: JAI_AP_TDS_PREPAYMENTS
12.2.2
owner:JA, object_type:TABLE, fnd_design_data:JA.JAI_AP_TDS_PREPAYMENTS, object_name:JAI_AP_TDS_PREPAYMENTS, status:VALID, product: JA - Asia/Pacific Localizations , description: Stores details of TDS processing for prepayment application and unapplication , implementation_dba_data: JA.JAI_AP_TDS_PREPAYMENTS ,