Search Results total_transaction_amount
Overview
APPS.OKL_TRX_HEADER_UV is a UNION ALL view in Oracle Lease Management (OKL), part of the Oracle E-Business Suite 12.1.1 and 12.2.2 ETRM (Enterprise Transaction and Reporting Model) layer. It presents a consolidated, reporting-friendly projection of lease transaction headers, normalizing fields such as transaction identity, contract context, transaction type, status, date, amount, and currency into a single structure. Its principal role is to feed accounting and reporting flows where a uniform "transaction header" record is required regardless of the originating transaction sub-type.
The view is heavily referenced by downstream ETRM objects. According to documented metadata, it is a base object for OKL_VIEW_TRX_ASSETS_V and OKL_TAX_BK_TRX_ASSTS_V, indicating its use in asset-linked and tax book transaction reporting. The searched term "total_transaction_amount" maps to the TOTAL_TRANSACTION_AMOUNT column, which the view text exposes as a placeholder (NULL) in the header projection. This is a critical nuance: the column exists for structural conformity with the broader transaction model but is not populated at the header level in the excerpted definition. Reported totals are typically obtained by joining to line-level views such as OKL_TXL_CNTRCT_LNS_UV or by aggregating the AMOUNT column.
Underlying Base Objects
The view is defined over a join of OKL_TRX_CONTRACTS_ALL (aliased OTCB), OKC_K_HEADERS_B (OKHB), OKL_TRX_TYPES_V (OTTT), and GL_LEDGERS (GL). The join conditions require OTCB.KHR_ID = OKHB.ID, OTCB.TRY_ID = OTTT.ID, OTTT.AEP_CODE IS NOT NULL, and OTCB.SET_OF_BOOKS_ID = GL.LEDGER_ID. An EXISTS clause against OKL_TXL_CNTRCT_LNS_UV restricts results to contracts having at least one matching contract line.
Documented base objects further include OKL_ACCOUNTING_UTIL (PACKAGE), OKL_BILLING_UTIL_PVT, OKL_SYSTEM_PARAMS, OKL_SYS_ACCT_OPTS, OKL_TRX_ASSETS, OKL_TXL_ASSETS_B, and several OKL_BPD_* and FA_*/GL_LEDGERS synonyms used by the UNION ALL branches. The second branch introduces transaction matching amounts, CURRENCY_CODE from the contract header, and additional transaction fields, giving the view broader applicability across lease transaction sub-types.
Key Columns
- ID / TRANS_ID — Character form of OTCB.ID, the transaction identifier.
- KHR_ID / CONTRACT_NUMBER — Contract header reference and human-readable contract number.
- SOURCE_CODE / SOURCE — Constant 'LEASE' and its lookup meaning.
- TRANSACTION_NUMBER, TRANSACTION_TYPE, TRANSACTION_STATUS — Transaction identity, type name, and translated status.
- TRANSACTION_DATE, DESCRIPTION — Occurrence date and descriptive text.
- AMOUNT, CURRENCY_CODE — Transaction amount and currency.
- ACTUAL_DRAFT_STATUS_CODE / ACTUAL_DRAFT_STATUS — Draft-versus-actual accounting status via OKL_ACCOUNTING_UTIL.Get_Draft_Actual_Trx.
- TOTAL_TRANSACTION_AMOUNT — Placeholder column (NULL) for header-level totals.
- ORG_ID, REPRESENTATION_CODE — Multi-org and ledger representation context.
Common Use Cases and Queries
Typical uses include lease transaction header reporting, reconciliation of draft and actual accounting status, and as a foundation for asset and tax reporting views. A representative query filtering contract transactions and joining line details for totals is shown below.
- Header listing by contract:
SELECT contract_number, transaction_number, transaction_type, transaction_status, transaction_date, amount, currency_code FROM okl_trx_header_uv WHERE contract_number = :p_contract; - Totals per transaction (line-level aggregation):
SELECT h.trans_id, SUM(l.amount) total_transaction_amount FROM okl_trx_header_uv h, okl_txl_cntrct_lns_uv l WHERE h.khr_id = l.khr_id AND h.trans_id = TO_CHAR(l.tcn_id) GROUP BY h.trans_id; - Draft versus actual status review:
SELECT transaction_number, actual_draft_status FROM okl_trx_header_uv WHERE actual_draft_status_code = 'DRAFT';
Because TOTAL_TRANSACTION_AMOUNT is not populated in the header definition, any requirement for a true total transaction amount must be satisfied through aggregation against the line-level view or the applicable sub-type view. This behavior is consistent across 12.1.1 and 12.2.2 and should be accounted for in any reporting logic built on OKL_TRX_HEADER_UV.
-
VIEW: APPS.OKL_TRX_HEADER_UV
12.1.1
-
View: OKL_BPD_AR_ADJUSTMENTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_BPD_AR_ADJUSTMENTS_V, object_name:OKL_BPD_AR_ADJUSTMENTS_V, status:VALID, product: OKL - Lease and Finance Management , implementation_dba_data: APPS.OKL_BPD_AR_ADJUSTMENTS_V ,
-
View: OKL_TRX_HEADER_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_TRX_HEADER_UV, object_name:OKL_TRX_HEADER_UV, status:VALID, product: OKL - Leasing and Finance Management , implementation_dba_data: APPS.OKL_TRX_HEADER_UV ,
-
VIEW: APPS.OKL_BPD_AP_DISBURS_SMRY_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_BPD_AP_DISBURS_SMRY_UV, object_name:OKL_BPD_AP_DISBURS_SMRY_UV, status:VALID,
-
View: OKL_BPD_AR_ADJUSTMENTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_BPD_AR_ADJUSTMENTS_V, object_name:OKL_BPD_AR_ADJUSTMENTS_V, status:VALID, product: OKL - Leasing and Finance Management , implementation_dba_data: APPS.OKL_BPD_AR_ADJUSTMENTS_V ,
-
View: OKL_TRX_HEADER_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_TRX_HEADER_UV, object_name:OKL_TRX_HEADER_UV, status:VALID, product: OKL - Lease and Finance Management , implementation_dba_data: APPS.OKL_TRX_HEADER_UV ,
-
View: OKL_BPD_AP_DISBURS_SMRY_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_BPD_AP_DISBURS_SMRY_UV, object_name:OKL_BPD_AP_DISBURS_SMRY_UV, status:VALID, product: OKL - Leasing and Finance Management , description: AP Disbursements Summary , implementation_dba_data: APPS.OKL_BPD_AP_DISBURS_SMRY_UV ,
-
VIEW: APPS.OKL_BPD_AP_DISBURS_SMRY_UV
12.1.1
-
VIEW: APPS.OKL_BPD_AP_DISBURS_SMRY_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_BPD_AP_DISBURS_SMRY_UV, object_name:OKL_BPD_AP_DISBURS_SMRY_UV, status:VALID,
-
VIEW: APPS.OKL_BPD_AR_ADJUSTMENTS_V
12.1.1
-
VIEW: APPS.OKL_BPD_AR_ADJUSTMENTS_V
12.2.2
-
View: OKL_BPD_AP_DISBURS_SMRY_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_BPD_AP_DISBURS_SMRY_UV, object_name:OKL_BPD_AP_DISBURS_SMRY_UV, status:VALID, product: OKL - Lease and Finance Management , description: AP Disbursements Summary , implementation_dba_data: APPS.OKL_BPD_AP_DISBURS_SMRY_UV ,
-
VIEW: APPS.OKL_TRX_HEADER_UV
12.2.2
-
VIEW: APPS.OKL_BPD_AR_HEADER_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_BPD_AR_HEADER_V, object_name:OKL_BPD_AR_HEADER_V, status:VALID,
-
VIEW: APPS.OKL_BPD_AP_DISBURS_SMRY_UV
12.2.2
-
VIEW: APPS.OKL_TRX_HEADER_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_TRX_HEADER_UV, object_name:OKL_TRX_HEADER_UV, status:VALID,
-
View: OKL_BPD_AR_HEADER_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_BPD_AR_HEADER_V, object_name:OKL_BPD_AR_HEADER_V, status:VALID, product: OKL - Lease and Finance Management , description: View for Operations, Transactions search page , implementation_dba_data: APPS.OKL_BPD_AR_HEADER_V ,
-
VIEW: APPS.OKL_BPD_AR_ADJUSTMENTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_BPD_AR_ADJUSTMENTS_V, object_name:OKL_BPD_AR_ADJUSTMENTS_V, status:VALID,
-
VIEW: APPS.OKL_BPD_AR_HEADER_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_BPD_AR_HEADER_V, object_name:OKL_BPD_AR_HEADER_V, status:VALID,
-
VIEW: APPS.OKL_BPD_AR_ADJUSTMENTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_BPD_AR_ADJUSTMENTS_V, object_name:OKL_BPD_AR_ADJUSTMENTS_V, status:VALID,
-
View: OKL_BPD_AR_HEADER_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_BPD_AR_HEADER_V, object_name:OKL_BPD_AR_HEADER_V, status:VALID, product: OKL - Leasing and Finance Management , description: View for Operations, Transactions search page , implementation_dba_data: APPS.OKL_BPD_AR_HEADER_V ,
-
VIEW: APPS.OKL_TRX_HEADER_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_TRX_HEADER_UV, object_name:OKL_TRX_HEADER_UV, status:VALID,
-
VIEW: APPS.OKL_BPD_AR_HEADER_V
12.1.1
-
VIEW: APPS.OKL_BPD_AR_HEADER_V
12.2.2
-
eTRM - OKL Tables and Views
12.2.2
description: Translatable columns from OKL_XTL_SELL_INVS_B, per MLS standards ,
-
eTRM - OKL Tables and Views
12.1.1
description: Translatable columns from OKL_XTL_SELL_INVS_B, per MLS standards ,