Search Results ce_bank_upgrade_errors_u1




Overview

CE.CE_BANK_UPGRADE_ERRORS is a transactional error-log table in the Cash Management (CE) schema of Oracle E-Business Suite. It captures diagnostic records generated during bank data migration and upgrade routines, recording failures that occur when a bank, a bank branch, or a bank account is processed by the upgrade program. Its role is that of an audit and troubleshooting repository: when the upgrade of a banking entity cannot complete, the offending condition is persisted here rather than silently discarded, allowing the upgrade administrator to identify, correct, and re-run affected records.

The table resides in the APPS_TS_TX_DATA tablespace with PCT Free 10, and its indexes are held in APPS_TS_TX_IDX, consistent with other high-volume transactional upgrade tables in the CE schema. ETRM reports the object as VALID and lists no foreign-key references to other database objects. Heuristically, the object is classified as standalone from a Data Vault modeling perspective. In practice this suggests treating the table as a self-contained event or error log rather than as a hub linked by foreign keys to a parent entity; if modeled formally, it would most naturally map to a satellite or logging construct keyed by an upgrade run and entity type.

Key Information Stored

The table contains ten documented columns. The most significant are summarized below.

  • CE_UPGRADE_ID (NUMBER, 15) — Identifier of the CE upgrade run or batch. This column anchors each error to a specific execution of the upgrade process, enabling errors to be grouped and re-processed per run.
  • BANK_ENTITY_TYPE (VARCHAR2, 30) — The kind of banking entity that failed. Documented permissible values are BANK, BRANCH, and ACCOUNT, making this the primary discriminator of the failure domain.
  • MESSAGE_NAME (VARCHAR2, 30) — The name of the Oracle message or error description associated with the failure. This is the principal diagnostic value used to categorize and triage errors.
  • KEY_ERROR_FLAG (VARCHAR2) — Indicates whether the failure is a unique key column validation error, distinguishing integrity violations from other processing faults.
  • APPLICATION_ID (NUMBER, 15) — The application identifier associated with the message, supporting message lookup and localization.
  • CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN — Standard Oracle who-columns providing audit lineage for each error record.

The documented unique index CE_BANK_UPGRADE_ERRORS_U1 covers (CE_UPGRADE_ID, BANK_ENTITY_TYPE, MESSAGE_NAME) and is the business-key candidate, matching the column set of the primary key constraint CE_BANK_UPGRADE_ERRORS_PK. The primary key is therefore the composite business key rather than an artificial surrogate; no separate system-generated sequence column exists in the documented schema.

Common Use Cases and Queries

The principal use case is post-upgrade error reconciliation. After executing a bank upgrade, administrators query this table to enumerate failures by entity type and message, then remediate data and re-run. A representative pattern is:

  • Count errors per upgrade run and entity type: SELECT CE_UPGRADE_ID, BANK_ENTITY_TYPE, COUNT(*) FROM CE.CE_BANK_UPGRADE_ERRORS GROUP BY CE_UPGRADE_ID, BANK_ENTITY_TYPE;
  • Retrieve all records for a specific run: SELECT * FROM CE.CE_BANK_UPGRADE_ERRORS WHERE CE_UPGRADE_ID = :p_upgrade_id ORDER BY BANK_ENTITY_TYPE, MESSAGE_NAME;
  • Isolate unique key validation failures: SELECT * FROM CE.CE_BANK_UPGRADE_ERRORS WHERE KEY_ERROR_FLAG = 'Y';
  • Resolve message text by joining to application message tables using MESSAGE_NAME and APPLICATION_ID.

Because the documented query text exposes all ten columns directly, reporting tools can consume the table without joins, which is useful for reconciliation extracts and upgrade sign-off evidence.

Related Objects

ETRM reports no outbound foreign-key dependencies from CE.CE_BANK_UPGRADE_ERRORS, and its only documented inbound reference is the synonym or view wrapper APPS.CE_BANK_UPGRADE_ERRORS, which exposes the table to the APPS schema. Because the object is classified as standalone, join relationships to banks, branches, and accounts are not enforced by constraints; where correlation is required, it is performed implicitly through CE_UPGRADE_ID and BANK_ENTITY_TYPE against the corresponding CE bank upgrade staging and interface tables. The unique index CE_BANK_UPGRADE_ERRORS_U1 and the primary key CE_BANK_UPGRADE_ERRORS_PK are the only documented key objects associated with the table. Consumers should therefore treat the table as a diagnostic log requiring manual correlation rather than as a constrained relational entity.