Search Results ce_purge_trx_codes_xml
Overview
The APPS.CE_PURGE_TRX_CODES_XML package is a database-resident PL/SQL report logic package belonging to the Cash Management (CE) module of Oracle E-Business Suite. Its principal business function is to support the purge and archival reporting of cash transaction codes, statement lines, and their associated reconciliation data. The name and structure indicate that the package serves as the XML Publisher (BI Publisher) report data definition shell for the "Purge Transaction Codes" concurrent program, which allows Cash Management users to remove obsolete transaction codes and related bank statement transactions from the active tables after they have been archived or are no longer required.
The package is declared with AUTHID CURRENT_USER, meaning it executes with the privileges of the invoking user rather than the definer, which is typical of report trigger packages invoked from the concurrent manager under the APPS schema context. The header comment places the source file at version 120.0.12010000.1, dated 2009, consistent with the 12.1.1 and 12.2.2 code lines.
Key Procedures and Functions
The package exposes two documented functions, both of which are standard Oracle Reports/XML Publisher report triggers:
- BEFOREREPORT — A Boolean function executed before the report body is rendered. In this package it initializes the global and parameter variables (such as the process option, request ID, bank, branch, and account identifiers) and validates the purge parameters supplied by the user, returning TRUE to allow the report to proceed or FALSE to halt execution when the request is invalid.
- AFTERREPORT — A Boolean function executed after the report is produced. It finalizes processing, records the delete count (referenced by the
G_DELETE_COUNTglobal), and performs any post-purge cleanup or logging required by the concurrent request.
The package additionally declares a set of parameter variables (process option, request ID, bank, branch, bank account, and account type) and global variables used to hold descriptive names (bank name, branch name, account number, account type) for rendering in the report output. No business API procedures beyond the two report triggers are documented.
Tables Accessed
The package reads and writes the following objects via APPS synonyms, which define the scope of the purge operation:
CE_TRANSACTION_CODES,CE_TRX_CODES_UTIL_GT— the transaction codes targeted for purge and the global temporary table staging the purge set.CE_STATEMENT_HEADERS,CE_STATEMENT_LINES,CE_INTRA_STMT_LINES— bank statement data associated with the codes being purged.CE_ARCH_LINES,CE_ARCH_INTRA_LINES— archival tables used to preserve statement details before deletion.CE_BANK_ACCOUNTS,CE_JE_MAPPINGS— bank account and journal entry mapping reference data.HZ_PARTIES— party name information for report display.
Usage Notes
This package is not intended for ad hoc invocation. It is executed indirectly when the Cash Management "Purge Transaction Codes" (or equivalent bank statement purge) concurrent program is submitted, with XML Publisher rendering the output. Because it carries AUTHID CURRENT_USER, it must be granted execute permission to the calling APPS user. The package is referenced by no other documented packages, confirming it is a terminal report driver rather than a shared utility. In 12.2.2 the implementation is unchanged from the 12.1.1 code line, so behaviour is consistent across both releases.
-
PACKAGE: APPS.CE_PURGE_TRX_CODES_XML
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CE_PURGE_TRX_CODES_XML, status:VALID,
-
PACKAGE BODY: APPS.CE_PURGE_TRX_CODES_XML
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CE_PURGE_TRX_CODES_XML, status:VALID,
-
PACKAGE: APPS.CE_PURGE_TRX_CODES_XML
12.2.2
-
SYNONYM: APPS.CE_ARCH_INTRA_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CE_ARCH_INTRA_LINES, status:VALID,
-
SYNONYM: APPS.CE_INTRA_STMT_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CE_INTRA_STMT_LINES, status:VALID,
-
SYNONYM: APPS.CE_JE_MAPPINGS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CE_JE_MAPPINGS, status:VALID,
-
SYNONYM: APPS.CE_TRX_CODES_UTIL_GT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CE_TRX_CODES_UTIL_GT, status:VALID,
-
SYNONYM: APPS.CE_ARCH_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CE_ARCH_LINES, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.CE_TRANSACTION_CODES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CE_TRANSACTION_CODES, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.CE_STATEMENT_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CE_STATEMENT_HEADERS, status:VALID,
-
SYNONYM: APPS.CE_STATEMENT_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CE_STATEMENT_LINES, status:VALID,
-
VIEW: APPS.CE_LOOKUPS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CE.CE_LOOKUPS, object_name:CE_LOOKUPS, status:VALID,
-
PACKAGE BODY: APPS.CE_PURGE_TRX_CODES_XML
12.2.2
-
PACKAGE: APPS.CEP_STANDARD
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CEP_STANDARD, status:VALID,
-
SYNONYM: APPS.CE_BANK_ACCOUNTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CE_BANK_ACCOUNTS, status:VALID,
-
VIEW: APPS.CE_BANK_ACCOUNTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CE.CE_BANK_ACCOUNTS_V, object_name:CE_BANK_ACCOUNTS_V, status:VALID,
-
APPS.CE_PURGE_TRX_CODES_XML dependencies on CE_PURGE_TRX_CODES_XML
12.2.2
-
SYNONYM: APPS.HZ_PARTIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTIES, status:VALID,
-
PACKAGE: APPS.FND_GLOBAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2