Search Results jai_retro_line_changes
Overview
The JAI_RETRO_LINE_CHANGES table is a core data repository within the Oracle E-Business Suite Asia/Pacific Localizations module (Product JA). Its primary function is to log and store retroactive changes made to transactional documents, specifically within the procurement domain. This table is critical for audit trails and compliance in regions requiring detailed tracking of post-facto adjustments to documents like purchase orders. It operates as a child table to the main transactional tables, capturing the delta between the original and revised states of document lines to support processes such as retroactive pricing or quantity adjustments and their subsequent impact on tax and accounting entries.
Key Information Stored
The table's structure is defined by its extensive foreign key relationships, which indicate the specific data points captured for each change record. The primary key is the unique LINE_CHANGE_ID. Each record stores identifiers linking it to the original document component being modified, including DOC_HEADER_ID, DOC_LINE_ID, and LINE_LOCATION_ID, which reference standard Purchase Order tables. To track the source of the change, it holds FROM_HEADER_ID and FROM_LINE_ID. The table also captures the item context (INVENTORY_ITEM_ID and ORGANIZATION_ID), supplier details (VENDOR_ID and VENDOR_SITE_ID), and the concurrent request (RETRO_REQUEST_ID) that processed the retroactive change. A self-referencing foreign key on SOURCE_LINE_CHANGE_ID allows for chaining or versioning of multiple changes to the same line.
Common Use Cases and Queries
The primary use case is generating audit reports for retroactive adjustments to purchase orders, which is essential for financial reconciliation and tax reporting in localized implementations. Support and development teams query this table to diagnose issues with the retroactive pricing process or to analyze the change history for a specific document. A typical diagnostic query would join to the standard PO tables to provide context:
SELECT rlc.line_change_id, poh.segment1 po_number, pol.line_num, rlc.retro_request_id
FROM jai_retro_line_changes rlc,
po_headers_all poh,
po_lines_all pol
WHERE rlc.doc_header_id = poh.po_header_id
AND rlc.doc_line_id = pol.po_line_id
AND poh.segment1 = '<PO_NUMBER>';
Another common pattern is to trace all changes spawned from a single retroactive concurrent request for performance or validation purposes, using the RETRO_REQUEST_ID column.
Related Objects
The JAI_RETRO_LINE_CHANGES table is centrally connected to several key EBS entities, as documented by its foreign key constraints.
- Primary Transaction References: PO_HEADERS_ALL (via DOC_HEADER_ID, FROM_HEADER_ID), PO_LINES_ALL (via DOC_LINE_ID, FROM_LINE_ID), PO_LINE_LOCATIONS_ALL (via LINE_LOCATION_ID).
- Item and Supplier Master Data: MTL_SYSTEM_ITEMS_B (via INVENTORY_ITEM_ID, ORGANIZATION_ID), AP_SUPPLIERS (via VENDOR_ID), AP_SUPPLIER_SITES_ALL (via VENDOR_SITE_ID).
- Process Tracking: FND_CONCURRENT_REQUESTS (via RETRO_REQUEST_ID).
- Internal Hierarchy and Downstream Processing: JAI_RETRO_LINE_CHANGES (self-reference via SOURCE_LINE_CHANGE_ID for change lineage) and JAI_RETRO_TAX_CHANGES (as a parent table via LINE_CHANGE_ID, indicating tax-specific adjustments are stored separately).
-
Table: JAI_RETRO_LINE_CHANGES
12.2.2
owner:JA, object_type:TABLE, fnd_design_data:JA.JAI_RETRO_LINE_CHANGES, object_name:JAI_RETRO_LINE_CHANGES, status:VALID, product: JA - Asia/Pacific Localizations , description: This table is used to store the Retroactive changes made for documents , implementation_dba_data: JA.JAI_RETRO_LINE_CHANGES ,
-
Table: JAI_RETRO_LINE_CHANGES
12.1.1
owner:JA, object_type:TABLE, fnd_design_data:JA.JAI_RETRO_LINE_CHANGES, object_name:JAI_RETRO_LINE_CHANGES, status:VALID, product: JA - Asia/Pacific Localizations , description: This table is used to store the Retroactive changes made for documents , implementation_dba_data: JA.JAI_RETRO_LINE_CHANGES ,
-
View: JAI_PO_RCV_TAXES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JA.JAI_PO_RCV_TAXES_V, object_name:JAI_PO_RCV_TAXES_V, status:VALID, product: JA - Asia/Pacific Localizations , description: View for PO RCV taxes , implementation_dba_data: APPS.JAI_PO_RCV_TAXES_V ,
-
Table: JAI_RETRO_TAX_CHANGES
12.1.1
owner:JA, object_type:TABLE, fnd_design_data:JA.JAI_RETRO_TAX_CHANGES, object_name:JAI_RETRO_TAX_CHANGES, status:VALID, product: JA - Asia/Pacific Localizations , description: This table is used to store the Retroactive changes made for document taxes , implementation_dba_data: JA.JAI_RETRO_TAX_CHANGES ,
-
Table: JAI_RETRO_TAX_CHANGES
12.2.2
owner:JA, object_type:TABLE, fnd_design_data:JA.JAI_RETRO_TAX_CHANGES, object_name:JAI_RETRO_TAX_CHANGES, status:VALID, product: JA - Asia/Pacific Localizations , description: This table is used to store the Retroactive changes made for document taxes , implementation_dba_data: JA.JAI_RETRO_TAX_CHANGES ,