Search Results dr_cr
Overview
APPS.OKL_AR_DIST_UV is a union-based reporting view in Oracle E-Business Suite (EBS) Release 12.1.1 and 12.2.2 that consolidates Accounts Receivable distributions relevant to Oracle Lease Management (OKL). The view presents accounting distribution lines drawn from two distinct source streams: standard receivable transaction distributions from RA_CUST_TRX_LINE_GL_DIST, and distributions sourced from AR_DISTRIBUTIONS as joined through the Accounts Receivable application tables (AR_PAYMENT_SCHEDULES, AR_RECEIVABLE_APPLICATIONS, and AR_CASH_RECEIPT_HISTORY). Because it standardizes column names, debit/credit flags, and decoded lookup meanings across both sources, OKL_AR_DIST_UV is primarily consumed by Lease Management accounting, subledger reconciliation, and any custom reporting layer that requires a unified view of AR-related accounting entries.
The view is owned by the APPS schema and is intended for read-only reporting and integration use. It does not store data; it materializes distributions at query time and applies OKL_ACCOUNTING_UTIL package functions to derive concatenated accounting flexfield segments, segment descriptions, and lookup meanings.
Underlying Base Objects
The view is defined over the following documented base objects:
- RA_CUST_TRX_LINE_GL_DIST (SYNONYM) — source of transaction-level GL distributions for the first UNION ALL branch.
- RA_CUSTOMER_TRX (SYNONYM) — joined to derive the transaction type and header attributes.
- RA_CUST_TRX_TYPES (SYNONYM) — provides the transaction type name used to distinguish invoice (INV) from credit memo (CM) behavior and to flip the debit/credit sign.
- AR_DISTRIBUTIONS (SYNONYM) — primary distribution table in the second UNION ALL branch, supplying AMOUNT_DR and AMOUNT_CR.
- AR_PAYMENT_SCHEDULES, AR_RECEIVABLE_APPLICATIONS, AR_CASH_RECEIPT_HISTORY (SYNONYMS) — supporting AR objects in the second branch that trace cash receipt and application history.
- OKL_ACCOUNTING_UTIL (PACKAGE) — supplies GET_CONCAT_SEGMENTS, GET_CONCATE_DESC, and GET_LOOKUP_MEANING for segment text, descriptions, and decoded lookup labels.
The dependencies confirm the view spans both Oracle Receivables and Oracle Lease Management data models, which is expected for an OKL-prefixed AR distribution view.
Key Columns
The user search term amount_cr corresponds directly to a key column in this view. In the AR_DISTRIBUTIONS branch, AMOUNT_CR is exposed and used to derive credit indicators. The principal columns are:
- ID — CUST_TRX_LINE_GL_DIST_ID in the first branch; LINE_ID in the second.
- AE_LINE_TYPE / AE_LINE_TYPE_MEANING — account class or distribution source type, with decoded meaning.
- CODE_COMBINATION_ID, CONCATE_SEGMENTS, CONCATE_SEGMENTS_DESC — accounting flexfield identifier and its concatenated segment string and description.
- CR_DR_FLAG / DR_CR_FLAG_MEANING — derived debit/credit indicator; in the AR_DISTRIBUTIONS branch it is computed via DECODE(AMOUNT_CR, NULL, 'D', 'C'), so a non-null AMOUNT_CR yields a credit 'C'.
- AMOUNT — in branch one, DECODE(RCTT.TYPE,'CM',(-amount),amount); in branch two, NVL(AMOUNT_CR, AMOUNT_DR), giving the credit amount when present.
- ACCOUNTING_DATE — GL_DATE in branch one; LAST_UPDATE_DATE in branch two.
- TEMPLATE_NAME, POSTED, SOURCE_ID, SOURCE_TABLE, CUSTOMER_TRX_ID — supporting identification and posting status fields.
Common Use Cases and Queries
Typical scenarios include reconciling lease-related AR distributions, extracting accounting entries for a given general ledger period, and isolating credit lines. A representative query filtering on the credit amount follows:
SELECT id, ae_line_type_meaning, concate_segments, amount, dr_cr_flag_meaning, accounting_date
FROM apps.okl_ar_dist_uv
WHERE amount_cr IS NOT NULL
ORDER BY accounting_date;
To aggregate debits and credits by account:
SELECT concate_segments,
SUM(DECODE(cr_dr_flag,NULL,0,0)) d,
SUM(amount) credit_total
FROM apps.okl_ar_dist_uv
WHERE cr_dr_flag = 'C'
GROUP BY concate_segments;
Because of the UNION ALL structure, callers should expect potential duplicate rows across the two source branches and should filter on SOURCE_TABLE or SOURCE_ID where precise provenance is required.
-
Lookup Type: DR_CR
12.1.1
product: GL - General Ledger , meaning: DR_CR ,
-
Lookup Type: DR_CR
12.2.2
product: GL - General Ledger , meaning: DR_CR ,
-
VIEW: APPS.OKL_AR_DIST_UV
12.1.1
-
VIEW: APPS.OKL_AR_DIST_UV
12.2.2
-
View: OKL_AR_DIST_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_AR_DIST_UV, object_name:OKL_AR_DIST_UV, status:VALID, product: OKL - Lease and Finance Management , implementation_dba_data: APPS.OKL_AR_DIST_UV ,
-
View: OKL_AR_DIST_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_AR_DIST_UV, object_name:OKL_AR_DIST_UV, status:VALID, product: OKL - Leasing and Finance Management , implementation_dba_data: APPS.OKL_AR_DIST_UV ,
-
VIEW: APPS.OKL_FA_DIST_UV
12.2.2
-
VIEW: APPS.OKL_AP_DIST_UV
12.2.2
-
VIEW: APPS.OKL_AP_DIST_UV
12.1.1
-
VIEW: APPS.OKL_TRX_DISTRIBUTION_UV
12.1.1
-
View: OKL_FA_DIST_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_FA_DIST_UV, object_name:OKL_FA_DIST_UV, status:VALID, product: OKL - Leasing and Finance Management , implementation_dba_data: APPS.OKL_FA_DIST_UV ,
-
VIEW: APPS.OKL_FA_DIST_UV
12.1.1
-
VIEW: APPS.OKL_TRX_DISTRIBUTION_UV
12.2.2
-
PACKAGE BODY: APPS.GL_GLRFGNJ_XMLP_PKG
12.2.2
-
View: OKL_FA_DIST_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_FA_DIST_UV, object_name:OKL_FA_DIST_UV, status:VALID, product: OKL - Lease and Finance Management , implementation_dba_data: APPS.OKL_FA_DIST_UV ,
-
View: OKL_AP_DIST_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_AP_DIST_UV, object_name:OKL_AP_DIST_UV, status:VALID, product: OKL - Lease and Finance Management , implementation_dba_data: APPS.OKL_AP_DIST_UV ,
-
PACKAGE BODY: APPS.GL_GLRFGNJ_XMLP_PKG
12.1.1
-
PACKAGE: APPS.GL_GLRFGNJ_XMLP_PKG
12.2.2
-
PACKAGE: APPS.GL_GLRFGNJ_XMLP_PKG
12.1.1
-
View: OKL_AP_DIST_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_AP_DIST_UV, object_name:OKL_AP_DIST_UV, status:VALID, product: OKL - Leasing and Finance Management , implementation_dba_data: APPS.OKL_AP_DIST_UV ,
-
View: GL_INTERCOMPANY_ACCTS_V
12.1.1
product: GL - General Ledger , description: 10SC ONLY , implementation_dba_data: Not implemented in this database ,
-
View: GL_INTERCOMPANY_ACCTS_V
12.2.2
product: GL - General Ledger , description: 10SC ONLY , implementation_dba_data: Not implemented in this database ,
-
View: OKL_TRX_DISTRIBUTION_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_TRX_DISTRIBUTION_UV, object_name:OKL_TRX_DISTRIBUTION_UV, status:VALID, product: OKL - Lease and Finance Management , implementation_dba_data: APPS.OKL_TRX_DISTRIBUTION_UV ,
-
View: OKL_TRX_DISTRIBUTION_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_TRX_DISTRIBUTION_UV, object_name:OKL_TRX_DISTRIBUTION_UV, status:VALID, product: OKL - Leasing and Finance Management , implementation_dba_data: APPS.OKL_TRX_DISTRIBUTION_UV ,
-
PACKAGE: APPS.FV_YE_CLOSE
12.1.1
-
PACKAGE: APPS.FV_YE_CLOSE
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
View: IGC_CBC_SUMMARY_TEMPLATE_FCL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:IGC.IGC_CBC_SUMMARY_TEMPLATE_FCL_V, object_name:IGC_CBC_SUMMARY_TEMPLATE_FCL_V, status:VALID, product: IGC - Contract Commitment , description: view based on gl summary templates and cbc summary templates table for cbc funds check level form , implementation_dba_data: APPS.IGC_CBC_SUMMARY_TEMPLATE_FCL_V ,
-
View: IGC_CBC_SUMMARY_TEMPLATE_FCL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:IGC.IGC_CBC_SUMMARY_TEMPLATE_FCL_V, object_name:IGC_CBC_SUMMARY_TEMPLATE_FCL_V, status:VALID, product: IGC - Contract Commitment , description: view based on gl summary templates and cbc summary templates table for cbc funds check level form , implementation_dba_data: APPS.IGC_CBC_SUMMARY_TEMPLATE_FCL_V ,
-
APPS.GL_SUMMARY_BC_OPTIONS_PKG SQL Statements
12.1.1
-
APPS.GL_SUMMARY_BC_OPTIONS_PKG SQL Statements
12.2.2
-
APPS.FV_YE_CLOSE SQL Statements
12.1.1
-
APPS.FV_YE_CLOSE SQL Statements
12.2.2
-
PACKAGE BODY: APPS.GL_SUMMARY_BC_OPTIONS_PKG
12.2.2
-
PACKAGE BODY: APPS.GL_SUMMARY_BC_OPTIONS_PKG
12.1.1
-
PACKAGE BODY: APPS.FA_GAINLOSS_UND_PKG
12.2.2
-
PACKAGE BODY: APPS.GL_GLRGNL_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.GL_GLRGNL_XMLP_PKG
12.2.2
-
APPS.GL_GLRFGNJ_XMLP_PKG dependencies on GL_INFO
12.2.2
-
APPS.GL_GLRGNL_XMLP_PKG dependencies on GL_INFO
12.2.2
-
APPS.GL_GLRGNL_XMLP_PKG dependencies on GL_INFO
12.1.1
-
APPS.GL_GLRFGNJ_XMLP_PKG dependencies on GL_INFO
12.1.1
-
APPS.FV_YE_CLOSE dependencies on DUAL
12.2.2
-
APPS.FV_YE_CLOSE dependencies on DUAL
12.1.1
-
APPS.FA_GAINLOSS_UND_PKG dependencies on FA_ADJUST_TYPE_PKG
12.1.1
-
APPS.FV_YE_CLOSE dependencies on FND_FLEX_EXT
12.1.1
-
APPS.FV_YE_CLOSE dependencies on FND_FLEX_EXT
12.2.2
-
APPS.FA_GAINLOSS_UND_PKG dependencies on FA_ADJUST_TYPE_PKG
12.2.2
-
APPS.GL_SUMMARY_BC_OPTIONS_PKG dependencies on GL_LOOKUPS
12.2.2