Search Results okc_k_lines
Overview
OKL_K_TOP_LINE_UV is a VALID view owned by the APPS schema in Oracle E-Business Suite, delivered as part of the OKL – Leasing and Finance Management product. Its documented purpose is to provide a combined presentation of contract line and line item data — specifically, as the ETRM metadata states, a "combined view on okc_k_lines and okc_k_items for fee and service line pages." In practice, this view is the data source behind the OKL fee and service line user interface pages, and it is equally suitable for reporting and integration queries that need line-level detail joined with item, style, and party role information in a single flattened result set. Because it joins the generic Oracle Contracts (OKC) line and item tables with the OKL leasing line extension table, it bridges core contracts data with leasing-specific attributes, including descriptive flexfield columns.
Underlying Base Objects
The view text is defined over five documented base objects, all referenced through APPS synonyms:
- OKC_K_LINES_B (alias CLE) — the contract line base table, supplying line identity, status, currency, line number, display sequence, dates, and the owning contract (CHR_ID) and document (DNZ_CHR_ID) keys.
- OKL_K_LINES (alias KLE) — the leasing line extension table, supplying amount, capital amount, and the ATTRIBUTE_CATEGORY and ATTRIBUTE1 through ATTRIBUTE15 flexfield columns.
- OKC_LINE_STYLES_B (alias LSE) — the line style table, supplying the line type code (LTY_CODE) and style ID.
- OKC_K_ITEMS (alias ITEM) — the contract line item table, supplying item identifiers, object references, unit of measure, exception flag, and item counts.
- OKC_K_PARTY_ROLES_B (alias PARTY) — the party role table, supplying role code and party object references.
Joins are driven from the contract line: LSE.ID equals CLE.LSE_ID, KLE.ID equals CLE.ID, ITEM.CLE_ID equals CLE.ID, and ITEM.DNZ_CHR_ID equals CLE.DNZ_CHR_ID. The party role join is outer (PARTY.CLE_ID(+) and PARTY.DNZ_CHR_ID(+) equal the corresponding line columns), meaning lines without an associated party role are still returned.
Key Columns
Columns are prefixed to distinguish their source. LINE_ columns (LINE_ID, LINE_CLE_ID, LINE_STS_CODE, LINE_CURRENCY_CODE, LINE_LINE_NUMBER, LINE_DISPLAY_SEQUENCE, LINE_LSE_ID, LINE_START_DATE, LINE_END_DATE, LINE_AMOUNT, LINE_CAPITAL_AMOUNT, LINE_CHR_ID, LINE_DNZ_CHR_ID) describe the contract line and its leasing amounts. ITEM_ columns (ITEM_ID, ITEM_CLE_ID, ITEM_OBJECT1_ID1, ITEM_OBJECT1_ID2, ITEM_JTOT_OBJECT1_CODE, ITEM_CHR_ID, ITEM_DNZ_CHR_ID, ITEM_UOM_CODE, ITEM_EXCEPTION_YN, ITEM_NUMBER_OF_ITEMS) describe line items and their object references. PARTY_ columns (PARTY_ID, PARTY_RLE_CODE, PARTY_CLE_ID, PARTY_OBJECT1_ID1, PARTY_OBJECT1_ID2, PARTY_JTOT_OBJECT1_CODE, PARTY_DNZ_CHR_ID) describe associated party roles. LS_ columns (LS_LTY_CODE, LS_ID) identify the line style and type. ATTRIBUTE_CATEGORY and ATTRIBUTE1–15 expose the leasing line descriptive flexfield.
Common Use Cases and Queries
Typical uses include fee and service line page rendering, leasing line reporting, and extracting contract line data with flexfield attributes and party roles. A representative query follows:
- SELECT line_id, line_cle_id, line_line_number, line_amount, ls_lty_code, item_id, item_number_of_items, attribute1 FROM okl_k_top_line_uv WHERE line_dnz_chr_id = :p_dnz_chr_id ORDER BY line_display_sequence;
- SELECT line_cle_id, line_currency_code, party_id, party_rle_code FROM okl_k_top_line_uv WHERE line_id = :p_line_id;
- SELECT line_line_number, item_uom_code, item_exception_yn, line_capital_amount FROM okl_k_top_line_uv WHERE line_chr_id = :p_chr_id AND item_exception_yn = 'Y';
Because the party role join is outer, consumers should expect NULL PARTY_ columns for lines with no assigned role and filter accordingly. This view is read-only reporting metadata; it performs no DML and should not be used as a transaction entry point.
-
View: OKL_K_TOP_LINE_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_K_TOP_LINE_UV, object_name:OKL_K_TOP_LINE_UV, status:VALID, product: OKL - Leasing and Finance Management , description: Combined view on okc_k_lines and okc_k_items for fee and service line pages , implementation_dba_data: APPS.OKL_K_TOP_LINE_UV ,
-
View: OKL_K_TOP_LINE_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_K_TOP_LINE_UV, object_name:OKL_K_TOP_LINE_UV, status:VALID, product: OKL - Lease and Finance Management , description: Combined view on okc_k_lines and okc_k_items for fee and service line pages , implementation_dba_data: APPS.OKL_K_TOP_LINE_UV ,
-
View: OKC_K_LINES_HV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_LINES_HV, object_name:OKC_K_LINES_HV, status:VALID, product: OKC - Contracts Core , description: History view for OKC_K_LINES. , implementation_dba_data: APPS.OKC_K_LINES_HV ,
-
View: OKC_K_LINES_HV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_LINES_HV, object_name:OKC_K_LINES_HV, status:VALID, product: OKC - Contracts Core , description: History view for OKC_K_LINES. , implementation_dba_data: APPS.OKC_K_LINES_HV ,
-
TABLE: OKC.OKC_CONDITION_HEADERS_B
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_CONDITION_HEADERS_B, object_name:OKC_CONDITION_HEADERS_B, status:VALID,
-
VIEW: APPS.OKC_CONDITION_HEADERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_CONDITION_HEADERS_V, object_name:OKC_CONDITION_HEADERS_V, status:VALID,
-
VIEW: APPS.OKC_CONDITION_HEADERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_CONDITION_HEADERS_V, object_name:OKC_CONDITION_HEADERS_V, status:VALID,
-
TABLE: OKC.OKC_CONDITION_HEADERS_B
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_CONDITION_HEADERS_B, object_name:OKC_CONDITION_HEADERS_B, status:VALID,
-
VIEW: APPS.OKC_K_LINES_HV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_LINES_HV, object_name:OKC_K_LINES_HV, status:VALID,
-
VIEW: APPS.OKC_K_LINES_HV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_LINES_HV, object_name:OKC_K_LINES_HV, status:VALID,
-
APPS.OKL_CREDIT_PUB SQL Statements
12.2.2
-
APPS.OKL_CREDIT_PUB SQL Statements
12.1.1
-
APPS.OKL_CONTRACT_PVT dependencies on OKC_K_ITEMS
12.1.1
-
APPS.OKL_CONTRACT_PVT dependencies on OKC_K_ITEMS
12.2.2
-
APPS.OKL_CREDIT_PUB dependencies on OKC_K_LINES_V
12.1.1
-
APPS.OKL_CREDIT_PUB dependencies on OKC_K_LINES_V
12.2.2
-
APPS.OKL_CONTRACT_PVT dependencies on OKC_CONTRACT_PUB
12.2.2
-
APPS.OKL_CONTRACT_PVT dependencies on OKC_CONTRACT_PUB
12.1.1
-
APPS.OKS_MASS_UPDATE_PVT dependencies on OKC_UTIL
12.2.2
-
APPS.OKS_MASS_UPDATE_PVT dependencies on OKC_UTIL
12.1.1
-
APPS.OKC_CLE_PVT dependencies on OKC_UTIL
12.1.1
-
APPS.OKC_CLE_PVT dependencies on OKC_UTIL
12.2.2
-
APPS.OKS_RENCON_PVT dependencies on OKC_K_HEADERS_ALL_B
12.2.2
-
APPS.OKS_RENCON_PVT dependencies on OKC_K_HEADERS_ALL_B
12.1.1
-
APPS.OKS_MASS_UPDATE_PVT SQL Statements
12.2.2
-
APPS.OKS_MASS_UPDATE_PVT SQL Statements
12.1.1
-
APPS.OKL_AM_CNTRCT_LN_TRMNT_PVT dependencies on DUAL
12.2.2
-
APPS.OKL_AM_CNTRCT_LN_TRMNT_PVT dependencies on DUAL
12.1.1
-
PACKAGE BODY: APPS.OKC_REPORT_PVT
12.2.2
-
PACKAGE BODY: APPS.OKC_REPORT_PVT
12.1.1
-
APPS.OKL_AM_CNTRCT_LN_TRMNT_PVT dependencies on OKL_AM_UTIL_PVT
12.1.1
-
APPS.OKL_AM_CNTRCT_LN_TRMNT_PVT dependencies on OKL_AM_UTIL_PVT
12.2.2
-
APPS.OKL_CONTRACT_PVT dependencies on OKC_API
12.2.2
-
APPS.OKL_CONTRACT_PVT dependencies on OKC_API
12.1.1
-
PACKAGE BODY: APPS.OKL_CREDIT_PUB
12.1.1
-
PACKAGE BODY: APPS.OKL_CREDIT_PUB
12.2.2
-
PACKAGE BODY: APPS.OKS_RENCON_PVT
12.2.2
-
PACKAGE BODY: APPS.OKS_RENCON_PVT
12.1.1
-
APPS.OKS_MASS_UPDATE_PVT dependencies on FND_LOG
12.1.1
-
APPS.OKS_MASS_UPDATE_PVT dependencies on FND_LOG
12.2.2
-
PACKAGE BODY: APPS.OKC_PRICE_PVT
12.1.1
-
PACKAGE BODY: APPS.OKC_PRICE_PVT
12.2.2
-
PACKAGE BODY: APPS.OKS_ATTR_DEFAULTS_PVT
12.1.1
-
PACKAGE BODY: APPS.OKS_SETUP_UTIL_PUB
12.1.1
-
PACKAGE BODY: APPS.OKS_SETUP_UTIL_PUB
12.2.2
-
PACKAGE BODY: APPS.OKS_ATTR_DEFAULTS_PVT
12.2.2
-
PACKAGE BODY: APPS.OKS_MASS_UPDATE_PVT
12.2.2
-
PACKAGE BODY: APPS.OKS_MASS_UPDATE_PVT
12.1.1
-
PACKAGE BODY: APPS.OKC_CLE_PVT
12.1.1
-
PACKAGE BODY: APPS.OKC_CLE_PVT
12.2.2