Search Results okl_tax_sources_t
Overview
The OKL_TAX_SOURCES_T table is a core data object within the Oracle E-Business Suite (EBS) Lease and Finance Management (OKL) module. Its primary function is to serve as a transitional data repository during system upgrade processes. Specifically, it is designed to temporarily store detailed information about taxable lines from legacy data to ensure accurate and consistent tax calculations are maintained when migrating to a newer version of the application. This table is critical for preserving the integrity of financial and tax data during major upgrades, acting as a staging area before data is fully integrated into the standard transactional tables of the upgraded system.
Key Information Stored
The table's structure is defined by its extensive foreign key relationships, which point to the key entities involved in a taxable transaction. While the specific column list is not fully detailed in the provided metadata, the foreign keys reveal the critical data points stored. Each record likely represents a single taxable line and holds identifiers linking it to the core transaction components. The primary key is the ID column. Essential foreign key columns include KLE_ID (linking to the contract line in OKC_K_LINES_B), SEL_ID (linking to the stream element in OKL_STRM_ELEMENTS), and KHR_ID (linking to the contract header). For tax determination, it stores references to customer accounts and sites (BILL_TO_CUST_ACCT_ID, SHIP_TO_CUST_ACCT_SITE_USE_ID), party sites, the operating unit (ORG_ID), the transaction type (TRY_ID), and the stream type (STY_ID).
Common Use Cases and Queries
The principal use case for this table is during an EBS upgrade project for the OKL module. Data is populated into this table from the legacy system's taxable line data and is subsequently processed by upgrade scripts to populate the target tax-related tables in the new environment. Common queries are therefore predominantly administrative and related to the upgrade process. For example, an upgrade script might select records for a specific contract or operating unit to process them in batches. A sample validation query post-upgrade might check for data consistency:
- SELECT COUNT(*), khr_id FROM okl_tax_sources_t WHERE org_id = 123 GROUP BY khr_id;
Post-upgrade, this table is typically purged or archived. It is not intended for day-to-day transactional reporting or operational processes in a production environment running on the upgraded version.
Related Objects
OKL_TAX_SOURCES_T has defined relationships with numerous fundamental EBS tables, as documented by its foreign keys. These relationships highlight its role as a central junction for upgrade data.
- OKC_K_LINES_B: Joined via KLE_ID. This links the taxable line to its source contract line item.
- OKL_STRM_ELEMENTS: Joined via SEL_ID. This links to the detailed financial stream element being taxed.
- OKL_STRM_TYPE_B & OKL_TRX_TYPES_B: Joined via STY_ID and TRY_ID, respectively. These provide the context of the stream and transaction type for tax rules.
- HZ_CUST_ACCOUNTS & HZ_CUST_SITE_USES_ALL: Joined via BILL_TO_CUST_ACCT_ID, BILL_TO_CUST_ACCT_SITE_USE_ID, and SHIP_TO_CUST_ACCT_SITE_USE_ID. These store the customer and site information crucial for tax jurisdiction determination.
- HZ_PARTY_SITES: Joined via BILL_TO_PARTY_SITE_ID and SHIP_TO_PARTY_SITE_ID. This provides the physical address details for tax purposes.
- HR_ALL_ORGANIZATION_UNITS: Joined via ORG_ID. This identifies the operating unit owning the transaction.
-
Table: OKL_TAX_SOURCES_T
12.2.2
owner:OKL, object_type:TABLE, fnd_design_data:OKL.OKL_TAX_SOURCES_T, object_name:OKL_TAX_SOURCES_T, status:VALID, product: OKL - Lease and Finance Management , description: This table is used during upgrades to store taxable lines , implementation_dba_data: OKL.OKL_TAX_SOURCES_T ,
-
Table: OKL_STRM_ELEMENTS
12.2.2
owner:OKL, object_type:TABLE, fnd_design_data:OKL.OKL_STRM_ELEMENTS, object_name:OKL_STRM_ELEMENTS, status:VALID, product: OKL - Lease and Finance Management , description: Holds the actual payment schedules for a payment header. , implementation_dba_data: OKL.OKL_STRM_ELEMENTS ,
-
Table: OKL_TRX_TYPES_B
12.2.2
owner:OKL, object_type:TABLE, fnd_design_data:OKL.OKL_TRX_TYPES_B, object_name:OKL_TRX_TYPES_B, status:VALID, product: OKL - Lease and Finance Management , description: Transaction types , implementation_dba_data: OKL.OKL_TRX_TYPES_B ,
-
Table: OKL_STRM_TYPE_B
12.2.2
owner:OKL, object_type:TABLE, fnd_design_data:OKL.OKL_STRM_TYPE_B, object_name:OKL_STRM_TYPE_B, status:VALID, product: OKL - Lease and Finance Management , description: Holds the definition of payment types. , implementation_dba_data: OKL.OKL_STRM_TYPE_B ,