Search Results xtr_clear_journal_process_p
Overview
The APPS.XTR_CLEAR_JOURNAL_PROCESS_P package is a member of the Oracle E-Business Suite Treasury (ETRM) module, which manages deal capture, journal generation, and settlement processing for financial instruments such as foreign exchange contracts, money market deals, and loans. Within this framework, the package provides a controlled mechanism for clearing journal entries that have been generated against treasury transactions. Clearing, in this context, refers to the process by which journals are flagged, reconciled, or removed from the active ledger flow once the corresponding accounting or settlement activity has been completed.
The package header, identified by the source control comment $Header: xtrcljns.pls 120.1 2005/06/29, is declared with AUTHID CURRENT_USER, meaning its procedures execute with the privileges of the calling user rather than the definer. This design choice allows the package to be invoked from a variety of session contexts while respecting the invoker's security profile and organization-level access. The package's public interface exposes two procedures, confirming that the object as documented represents a focused utility rather than a broad business API. It is classified as an OTHER API in the ETRM metadata, indicating that it is a supporting program unit rather than one of the primary external-facing APIs in the Treasury product.
Key Procedures and Functions
CLEAR_JOURNAL_PROCESS— This is the primary driver procedure. It accepts run-time parameters that scope the clearing operation, including a company code (p_company_code), a batch identifier range (p_batch_id_fromandp_batch_id_to), and standard concurrent program OUT parameters (errbufandretcode) for error reporting and completion status. Its purpose is to orchestrate the clearing of journal entries for the identified batches and company, iterating over the relevant transaction records and performing the clearing logic against each qualifying journal.CLEAR_JOURNALS— This procedure performs the granular clearing work for a single company and a single batch, takingin_companyandin_batch_idas inputs. It is effectively the workhorse called by the driver procedure for each batch in the requested range, encapsulating the row-level processing required to clear journals associated with that specific batch.
Tables Accessed
XTR_BATCHES— Stores batch header information for treasury deal processing. The package reads batch identifiers to scope the clearing range and processes journals belonging to those batches.XTR_JOURNALS— The central journal table holding generated accounting entries. This is the primary table that the clearing logic reads and updates.XTR_PARTY_INFO— Holds counterparty and company information; theparty_codecolumn supplies the company code used in the run-time parameters.XTR_BATCH_EVENTS— Records lifecycle events associated with batches, supporting the identification of journals eligible for clearing.XTR_DEAL_DATE_AMOUNTS— Stores dated amount information for deals, used to validate the accounting context of journals prior to clearing.
Usage Notes
This package is typically invoked through an Oracle EBS concurrent program, as indicated by the errbuf/retcode signature of CLEAR_JOURNAL_PROCESS, which follows the standard Oracle concurrent manager convention. A system administrator or treasury user submits the program with a company code and a batch ID range, and the procedure drives clearing across the matching journals. It may also be called from custom PL/SQL when automated reconciliation or period-end cleanup is required.
Because the package references dated amounts and batch events, it should be invoked after journal generation and settlement activity has completed for the target batches. The ETRM metadata records no other packages referencing this one, indicating it is a leaf-level utility rather than a dependency for broader Treasury processing flows.
-
SYNONYM: APPS.XTR_JOURNALS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XTR_JOURNALS, status:VALID,
-
SYNONYM: APPS.XTR_JOURNALS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XTR_JOURNALS, status:VALID,
-
PACKAGE: APPS.XTR_CLEAR_JOURNAL_PROCESS_P
12.2.2
-
PACKAGE: APPS.XTR_CLEAR_JOURNAL_PROCESS_P
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XTR_CLEAR_JOURNAL_PROCESS_P, status:VALID,
-
PACKAGE: APPS.XTR_CLEAR_JOURNAL_PROCESS_P
12.1.1
owner:APPS, object_type:PACKAGE, object_name:XTR_CLEAR_JOURNAL_PROCESS_P, status:VALID,
-
PACKAGE BODY: APPS.XTR_CLEAR_JOURNAL_PROCESS_P
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_CLEAR_JOURNAL_PROCESS_P, status:VALID,
-
PACKAGE BODY: APPS.XTR_CLEAR_JOURNAL_PROCESS_P
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_CLEAR_JOURNAL_PROCESS_P, status:VALID,
-
PACKAGE: APPS.XTR_CLEAR_JOURNAL_PROCESS_P
12.1.1
-
SYNONYM: APPS.XTR_BATCHES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XTR_BATCHES, status:VALID,
-
SYNONYM: APPS.XTR_BATCHES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XTR_BATCHES, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.XTR_DEBUG_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:XTR_DEBUG_PKG, status:VALID,
-
SYNONYM: APPS.XTR_BATCH_EVENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XTR_BATCH_EVENTS, status:VALID,
-
PACKAGE: APPS.XTR_DEBUG_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XTR_DEBUG_PKG, status:VALID,
-
SYNONYM: APPS.XTR_BATCH_EVENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XTR_BATCH_EVENTS, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.XTR_DEAL_DATE_AMOUNTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XTR_DEAL_DATE_AMOUNTS, status:VALID,
-
SYNONYM: APPS.XTR_DEAL_DATE_AMOUNTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XTR_DEAL_DATE_AMOUNTS, status:VALID,
-
SYNONYM: APPS.XTR_PARTY_INFO
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XTR_PARTY_INFO, status:VALID,
-
SYNONYM: APPS.XTR_PARTY_INFO
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XTR_PARTY_INFO, status:VALID,
-
PACKAGE BODY: APPS.XTR_CLEAR_JOURNAL_PROCESS_P
12.2.2
-
PACKAGE BODY: APPS.XTR_CLEAR_JOURNAL_PROCESS_P
12.1.1
-
APPS.XTR_CLEAR_JOURNAL_PROCESS_P dependencies on XTR_CLEAR_JOURNAL_PROCESS_P
12.2.2
-
APPS.XTR_CLEAR_JOURNAL_PROCESS_P dependencies on XTR_CLEAR_JOURNAL_PROCESS_P
12.1.1
-
PACKAGE: APPS.APP_EXCEPTION
12.2.2
owner:APPS, object_type:PACKAGE, object_name:APP_EXCEPTION, status:VALID,
-
PACKAGE: APPS.APP_EXCEPTION
12.1.1
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
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_MESSAGE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: APPS.FND_MESSAGE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,