Search Results jai_ap_tds_thgrp_audits
Overview
The JAI_AP_TDS_THGRP_AUDITS table is a core audit trail object within the Asia/Pacific Localizations (JA) module of Oracle E-Business Suite (EBS) 12.1.1 and 12.2.2. Its primary function is to log and track all modifications made to the TDS (Tax Deducted at Source) threshold group assignments for supplier invoices. Specifically, it records the history of changes occurring in the JAI_AP_TDS_THHOLD_GRPS table, which manages the association between invoices and applicable TDS threshold groups. This audit mechanism is critical for compliance, troubleshooting, and historical reporting in regions with complex TDS regulations, providing a transparent and immutable record of tax determination logic changes throughout the invoice lifecycle.
Key Information Stored
While the full column list is not detailed in the provided metadata, the foreign key relationships explicitly define several critical data points stored in this audit table. Each record captures a specific change event. The central column is THRESHOLD_GRP_AUDIT_ID, which serves as the unique primary key for each audit entry. The table stores identifiers that link to the changed entity and document the modification: THRESHOLD_GRP_ID references the specific threshold group record that was altered; INVOICE_ID links to the AP_INVOICES_ALL record impacted by the change. Crucially, the table stores slab identifiers that capture the state of the TDS calculation before and after the change: OLD_THRESHOLD_SLAB_ID, NEW_THRESHOLD_SLAB_ID, and TRX_THRESHOLD_SLAB_ID. These columns are foreign keys to the JAI_AP_TDS_THHOLD_SLABS table, documenting the precise TDS rate slab transitions that occurred.
Common Use Cases and Queries
The primary use case is forensic analysis and compliance reporting for TDS calculations. Auditors or functional consultants can query this table to understand why a particular invoice had its TDS amount recalculated or to verify the sequence of tax determinations. A common query pattern involves joining to the invoice and threshold slabs tables to produce a human-readable audit trail. For example, to trace all TDS group changes for a specific invoice, one might use a SQL pattern such as:
- SELECT aud.*, inv.invoice_num, old_slab.rate_code as old_rate, new_slab.rate_code as new_rate
- FROM jai_ap_tds_thgrp_audits aud,
- ap_invoices_all inv,
- jai_ap_tds_thhold_slabs old_slab,
- jai_ap_tds_thhold_slabs new_slab
- WHERE aud.invoice_id = inv.invoice_id
- AND aud.old_threshold_slab_id = old_slab.threshold_slab_id(+)
- AND aud.new_threshold_slab_id = new_slab.threshold_slab_id(+)
- AND inv.invoice_num = '<INVOICE_NUMBER>'
- ORDER BY aud.creation_date;
This is essential for month-end close support, resolving tax discrepancies, and generating audit reports for tax authorities.
Related Objects
The JAI_AP_TDS_THGRP_AUDITS table is centrally connected to several key TDS and Payables tables via foreign key constraints, as documented in the ETRM metadata.
- JAI_AP_TDS_THHOLD_GRPS: Linked via JAI_AP_TDS_THGRP_AUDITS.THRESHOLD_GRP_ID. This is the primary table whose changes are being audited.
- AP_INVOICES_ALL: Linked via JAI_AP_TDS_THGRP_AUDITS.INVOICE_ID. This ties each audit record to the specific supplier invoice document affected.
- JAI_AP_TDS_THHOLD_SLABS: Linked via three separate foreign key columns:
- TRX_THRESHOLD_SLAB_ID
- NEW_THRESHOLD_SLAB_ID
- OLD_THRESHOLD_SLAB_ID
-
Table: JAI_AP_TDS_THGRP_AUDITS
12.2.2
owner:JA, object_type:TABLE, fnd_design_data:JA.JAI_AP_TDS_THGRP_AUDITS, object_name:JAI_AP_TDS_THGRP_AUDITS, status:VALID, product: JA - Asia/Pacific Localizations , description: This table tracks the changes that happens to the table JAI_AP_TDS_THHOLD_GRPS. , implementation_dba_data: JA.JAI_AP_TDS_THGRP_AUDITS ,
-
Table: JAI_AP_TDS_THGRP_AUDITS
12.1.1
owner:JA, object_type:TABLE, fnd_design_data:JA.JAI_AP_TDS_THGRP_AUDITS, object_name:JAI_AP_TDS_THGRP_AUDITS, status:VALID, product: JA - Asia/Pacific Localizations , description: This table tracks the changes that happens to the table JAI_AP_TDS_THHOLD_GRPS. , implementation_dba_data: JA.JAI_AP_TDS_THGRP_AUDITS ,
-
APPS.JAI_AP_TDS_GENERATION_PKG dependencies on JAI_AP_TDS_THGRP_AUDITS
12.1.1
-
APPS.JAI_AP_DTC_CANCELLATION_PKG dependencies on JAI_AP_TDS_THGRP_AUDITS
12.2.2
-
APPS.JAI_AP_TDS_GENERATION_PKG dependencies on JAI_AP_TDS_THGRP_AUDITS
12.2.2
-
APPS.JAI_AP_DTC_GENERATION_PKG dependencies on JAI_AP_TDS_THGRP_AUDITS
12.2.2
-
Table: JAI_AP_TDS_THHOLD_SLABS
12.1.1
owner:JA, object_type:TABLE, fnd_design_data:JA.JAI_AP_TDS_THHOLD_SLABS, object_name:JAI_AP_TDS_THHOLD_SLABS, status:VALID, product: JA - Asia/Pacific Localizations , description: Stores details of various slabs and the applicable tax rate in the slab. , implementation_dba_data: JA.JAI_AP_TDS_THHOLD_SLABS ,
-
Table: JAI_AP_TDS_THHOLD_SLABS
12.2.2
owner:JA, object_type:TABLE, fnd_design_data:JA.JAI_AP_TDS_THHOLD_SLABS, object_name:JAI_AP_TDS_THHOLD_SLABS, status:VALID, product: JA - Asia/Pacific Localizations , description: Stores details of various slabs and the applicable tax rate in the slab. , implementation_dba_data: JA.JAI_AP_TDS_THHOLD_SLABS ,
-
SYNONYM: APPS.JAI_AP_TDS_THGRP_AUDITS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JAI_AP_TDS_THGRP_AUDITS, status:VALID,
-
SYNONYM: APPS.JAI_AP_TDS_THGRP_AUDITS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_AP_TDS_THGRP_AUDITS, status:VALID,
-
VIEW: JA.JAI_AP_TDS_THGRP_AUDITS#
12.2.2
owner:JA, object_type:VIEW, object_name:JAI_AP_TDS_THGRP_AUDITS#, status:VALID,
-
VIEW: JA.JAI_AP_TDS_THGRP_AUDITS#
12.2.2
-
Table: JAI_AP_TDS_THHOLD_GRPS
12.1.1
owner:JA, object_type:TABLE, fnd_design_data:JA.JAI_AP_TDS_THHOLD_GRPS, object_name:JAI_AP_TDS_THHOLD_GRPS, status:VALID, product: JA - Asia/Pacific Localizations , description: Stores the details current threshold position for a threshold group. , implementation_dba_data: JA.JAI_AP_TDS_THHOLD_GRPS ,
-
Table: JAI_AP_TDS_THHOLD_GRPS
12.2.2
owner:JA, object_type:TABLE, fnd_design_data:JA.JAI_AP_TDS_THHOLD_GRPS, object_name:JAI_AP_TDS_THHOLD_GRPS, status:VALID, product: JA - Asia/Pacific Localizations , description: Stores the details current threshold position for a threshold group. , implementation_dba_data: JA.JAI_AP_TDS_THHOLD_GRPS ,
-
TABLE: JA.JAI_AP_TDS_THGRP_AUDITS
12.1.1
owner:JA, object_type:TABLE, fnd_design_data:JA.JAI_AP_TDS_THGRP_AUDITS, object_name:JAI_AP_TDS_THGRP_AUDITS, status:VALID,
-
TABLE: JA.JAI_AP_TDS_THGRP_AUDITS
12.2.2
owner:JA, object_type:TABLE, fnd_design_data:JA.JAI_AP_TDS_THGRP_AUDITS, object_name:JAI_AP_TDS_THGRP_AUDITS, status:VALID,
-
PACKAGE BODY: APPS.JAI_AP_DTC_CANCELLATION_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JAI_AP_DTC_CANCELLATION_PKG, status:VALID,
-
PACKAGE BODY: APPS.JAI_AP_TDS_GENERATION_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JAI_AP_TDS_GENERATION_PKG, status:VALID,
-
PACKAGE BODY: APPS.JAI_AP_TDS_GENERATION_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JAI_AP_TDS_GENERATION_PKG, status:VALID,
-
PACKAGE BODY: APPS.JAI_AP_DTC_GENERATION_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JAI_AP_DTC_GENERATION_PKG, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
Table: AP_INVOICES_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_INVOICES_ALL, object_name:AP_INVOICES_ALL, status:VALID, product: AP - Payables , description: Detailed invoice records , implementation_dba_data: AP.AP_INVOICES_ALL ,
-
Table: AP_INVOICES_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_INVOICES_ALL, object_name:AP_INVOICES_ALL, status:VALID, product: AP - Payables , description: Detailed invoice records , implementation_dba_data: AP.AP_INVOICES_ALL ,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
APPS.JAI_AP_TDS_GENERATION_PKG dependencies on JAI_AP_TDS_THHOLD_TRXS
12.2.2
-
APPS.JAI_AP_DTC_CANCELLATION_PKG SQL Statements
12.2.2
-
APPS.JAI_AP_TDS_GENERATION_PKG SQL Statements
12.2.2
-
APPS.JAI_AP_TDS_GENERATION_PKG dependencies on JAI_AP_TDS_THHOLD_GRPS
12.1.1
-
APPS.JAI_AP_TDS_GENERATION_PKG dependencies on JAI_AP_TDS_THHOLD_GRPS
12.2.2
-
APPS.JAI_AP_DTC_GENERATION_PKG dependencies on JAI_AP_TDS_THHOLD_GRPS
12.2.2
-
PACKAGE BODY: APPS.JAI_AP_DTC_CANCELLATION_PKG
12.2.2
-
APPS.JAI_AP_TDS_GENERATION_PKG dependencies on JAI_GENERAL_PKG
12.1.1
-
APPS.JAI_AP_TDS_GENERATION_PKG dependencies on JAI_GENERAL_PKG
12.2.2
-
APPS.JAI_AP_TDS_GENERATION_PKG SQL Statements
12.1.1
-
APPS.JAI_AP_TDS_GENERATION_PKG dependencies on AP_INVOICES_ALL
12.2.2
-
APPS.JAI_AP_DTC_GENERATION_PKG dependencies on JAI_GENERAL_PKG
12.2.2
-
PACKAGE BODY: APPS.JAI_AP_TDS_GENERATION_PKG
12.2.2
-
eTRM - JA Tables and Views
12.1.1
description: The 'JA_CN_SYSTEM_PARAMETERS_ALL' table stores information defined by 'System Options' form, 'Electronic Accounting Book Export' program will get most data from data in the table. A legal entity can only have one record in the table. ,
-
APPS.JAI_AP_DTC_GENERATION_PKG SQL Statements
12.2.2
-
eTRM - JA Tables and Views
12.2.2
description: The 'JA_CN_VOUCHER_NUMBER' table stores the voucher number of GL journal lines. ,
-
PACKAGE BODY: APPS.JAI_AP_TDS_GENERATION_PKG
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.JAI_AP_DTC_GENERATION_PKG
12.2.2
-
eTRM - JA Tables and Views
12.1.1
description: The 'JA_CN_SYSTEM_PARAMETERS_ALL' table stores information defined by 'System Options' form, 'Electronic Accounting Book Export' program will get most data from data in the table. A legal entity can only have one record in the table. ,
-
eTRM - JA Tables and Views
12.2.2
description: The 'JA_CN_VOUCHER_NUMBER' table stores the voucher number of GL journal lines. ,