Search Results jai_ar_trx_lines_pkg
Overview
The APPS.JAI_AR_TRX_LINES_PKG package body is a core component of the Oracle E-Business Suite (EBS) India Localization (JA) tax engine, specifically targeting Accounts Receivable (AR) transaction line processing. In Oracle EBS 12.1.1 and 12.2.2 environments, this package encapsulates the business logic required to compute, default, and recalculate Indian indirect taxes (such as VAT, CST, excise, and service tax) on AR transaction lines. It bridges the standard Oracle Receivables data model with the India-specific tax determination framework maintained in the JAI_ schema objects and the JAI_AR_TRX_LINES staging table.
The package is classified as VALID in the APPS schema and carries an API classification of OTHER rather than a formally published public API. It acts as a private service layer invoked by higher-level India Localization flows that populate and maintain AR transaction line tax details. Its primary responsibility is to derive tax applicability, insert or update corresponding rows in local tax line tables, and maintain consistency between the standard Receivables tables and the India tax repository.
Key Procedures and Functions
The ETRM documentation records six procedures and functions within this package body:
- POPULATE_JAI_AR_LINES — Populates the India AR transaction lines repository, creating the localized tax line records associated with an AR transaction line.
- DEFAULT_TAX — Applies India tax defaultation rules to determine applicable taxes for a given transaction line based on regime, tax category, and configuration.
- GET_SERVICE_TYPE — Returns the service type classification used to drive service tax determination.
- RECALCULATE_TAX_FOR_DM — Recomputes tax amounts on AR lines associated with debit memo transactions.
- RECALCULATE_TAX_FOR_INV_CM — Recomputes tax amounts on AR lines associated with invoices and credit memos.
- DELETE_AR_TRX_LINES — Removes India AR transaction line records, typically during reversal, cancellation, or re-processing scenarios.
Tables Accessed
The package reads from and writes to a broad set of standard Receivables and India Localization tables. Standard Receivables tables include RA_CUSTOMER_TRX_ALL, RA_CUSTOMER_TRX_LINES_ALL, RA_CUST_TRX_LINE_GL_DIST_ALL, RA_CUST_TRX_TYPES_ALL, and RA_INTERFACE_LINES_ALL, providing transaction header, line, distribution, transaction type, and interface context. Customer data is sourced from HZ_CUST_ACCT_SITES_ALL and HZ_CUST_SITE_USES_ALL, and India-specific address data from JAI_CMN_CUS_ADDRESSES.
India Localization tax configuration and storage objects include JAI_AR_TRX_LINES, JAI_AR_TRX_TAX_LINES, JAI_AR_TRXS, JAI_AR_TRX_APPS_RELS_T, JAI_AR_TRX_INS_LINES_T, JAI_CMN_TAXES_ALL, JAI_CMN_TAX_CTGS_ALL, JAI_CMN_TAX_CTG_LINES, JAI_AP_TDS_THHOLD_SLABS, and JAI_AP_TDS_THHOLD_TAXES. These supply tax rates, threshold slabs, and category definitions used during defaultation and recalculation.
Usage Notes
This package is invoked indirectly from India Localization AR flows and standard Receivables transaction processing, rather than being called directly from an end-user form. It is typically triggered when AR transactions, debit memos, invoices, or credit memos are created, updated, or reversed in an India-enabled operating unit, ensuring the localized tax lines remain synchronized with the underlying transaction.
The metadata confirms that APPS.JAI_AR_TRX_LINES_PKG is referenced by one other package and is not referenced by any database object such as a trigger or view. This indicates it functions as a subordinate service module within the India Localization package family. Customizations should treat it as a non-public internal API; developers requiring India tax logic should prefer the supported public APIs and let the standard flows invoke this package. Logging is handled through FND_LOG and error propagation through APP_EXCEPTION, consistent with standard Oracle EBS development practice.
-
PACKAGE BODY: APPS.JAI_AR_TRX_LINES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JAI_AR_TRX_LINES_PKG, status:VALID,
-
PACKAGE: APPS.JAI_AR_TRX_LINES_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JAI_AR_TRX_LINES_PKG, status:VALID,
-
SYNONYM: APPS.JAI_AR_TRX_APPS_RELS_T
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_AR_TRX_APPS_RELS_T, status:VALID,
-
SYNONYM: APPS.JAI_AR_TRX_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_AR_TRX_LINES, status:VALID,
-
PACKAGE: APPS.JAI_AR_TRX_LINES_PKG
12.2.2
-
SYNONYM: APPS.JAI_CMN_ERRORS_T
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_CMN_ERRORS_T, status:VALID,
-
PACKAGE: APPS.JAI_AR_UTILS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JAI_AR_UTILS_PKG, status:VALID,
-
PACKAGE: APPS.JAI_AR_TAX_LINES_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JAI_AR_TAX_LINES_PKG, status:VALID,
-
SYNONYM: APPS.JAI_AR_TRX_INS_LINES_T
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_AR_TRX_INS_LINES_T, status:VALID,
-
PACKAGE: APPS.JAI_OM_UTILS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JAI_OM_UTILS_PKG, status:VALID,
-
PACKAGE BODY: APPS.JAI_AR_TAX_PROCESSING_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JAI_AR_TAX_PROCESSING_PKG, status:VALID,
-
SYNONYM: APPS.JAI_AP_TDS_THHOLD_SLABS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_AP_TDS_THHOLD_SLABS, status:VALID,
-
PACKAGE: APPS.JAI_RGM_THHOLD_PROC_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JAI_RGM_THHOLD_PROC_PKG, status:VALID,
-
SYNONYM: APPS.JAI_CMN_TAX_CTG_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_CMN_TAX_CTG_LINES, status:VALID,
-
SYNONYM: APPS.JAI_CMN_TAX_CTGS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_CMN_TAX_CTGS_ALL, status:VALID,
-
SYNONYM: APPS.JAI_AR_TRXS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_AR_TRXS, status:VALID,
-
SYNONYM: APPS.JAI_AP_TDS_THHOLD_TAXES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_AP_TDS_THHOLD_TAXES, status:VALID,
-
SYNONYM: APPS.JAI_AR_TRX_TAX_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_AR_TRX_TAX_LINES, status:VALID,
-
PACKAGE: APPS.JAI_CMN_TAX_DEFAULTATION_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JAI_CMN_TAX_DEFAULTATION_PKG, status:VALID,
-
SYNONYM: APPS.JAI_CMN_CUS_ADDRESSES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_CMN_CUS_ADDRESSES, status:VALID,
-
SYNONYM: APPS.RA_INTERFACE_LINES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_INTERFACE_LINES_ALL, status:VALID,
-
PACKAGE: APPS.JAI_GENERAL_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JAI_GENERAL_PKG, status:VALID,
-
VIEW: APPS.JAI_REGIME_TAX_TYPES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JA.JAI_REGIME_TAX_TYPES_V, object_name:JAI_REGIME_TAX_TYPES_V, status:VALID,
-
SYNONYM: APPS.JAI_CMN_VENDOR_SITES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_CMN_VENDOR_SITES, status:VALID,
-
SYNONYM: APPS.RA_CUSTOMER_TRX_LINES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX_LINES_ALL, status:VALID,
-
SYNONYM: APPS.JAI_RGM_DEFINITIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_RGM_DEFINITIONS, status:VALID,
-
PACKAGE: APPS.JAI_CMN_UTILS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JAI_CMN_UTILS_PKG, status:VALID,
-
SYNONYM: APPS.RA_CUST_TRX_LINE_GL_DIST_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUST_TRX_LINE_GL_DIST_ALL, status:VALID,
-
SYNONYM: APPS.RA_CUST_TRX_TYPES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUST_TRX_TYPES_ALL, status:VALID,
-
SYNONYM: APPS.JAI_CMN_TAXES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JAI_CMN_TAXES_ALL, status:VALID,
-
SYNONYM: APPS.RA_CUSTOMER_TRX_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX_ALL, status:VALID,
-
PACKAGE: APPS.JAI_CONSTANTS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JAI_CONSTANTS, status:VALID,
-
APPS.JAI_AR_TRX_LINES_PKG dependencies on JAI_AR_TRX_LINES_PKG
12.2.2
-
APPS.JAI_AR_TAX_PROCESSING_PKG dependencies on JAI_AR_TRX_LINES_PKG
12.2.2
-
SYNONYM: APPS.HZ_CUST_SITE_USES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_SITE_USES_ALL, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCT_SITES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCT_SITES_ALL, status:VALID,
-
PACKAGE BODY: APPS.JAI_AR_TRX_LINES_PKG
12.2.2
-
APPS.JAI_AR_TRX_LINES_PKG dependencies on JAI_AR_TRX_LINES
12.2.2
-
SYNONYM: APPS.PO_HEADERS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_HEADERS_ALL, status:VALID,
-
APPS.JAI_AR_TRX_LINES_PKG dependencies on JAI_AR_TRX_LINES
12.2.2
-
APPS.JAI_AR_TRX_LINES_PKG dependencies on FND_LOG
12.2.2
-
VIEW: APPS.GL_SETS_OF_BOOKS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_SETS_OF_BOOKS, object_name:GL_SETS_OF_BOOKS, status:VALID,
-
PACKAGE: APPS.FND_LOG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_LOG, status:VALID,
-
PACKAGE: APPS.APP_EXCEPTION
12.2.2
owner:APPS, object_type:PACKAGE, object_name:APP_EXCEPTION, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2