Search Results customer_id2
Overview
OKL_CUSTOMER_UV is an APPS-owned database view within the Oracle Lease and Finance Management (OKL) module. It functions as a user interface view that supplies the customer list of values (LOV) on the credit line contract page. In Oracle EBS Release 12.1.1 and 12.2.2, this view is registered as VALID and is not a stored table; it is a query definition resolved at runtime against its underlying base objects. Its purpose is to present only those parties that qualify as a valid "lessee" in the context of an active selling role, allowing the credit line contract form to offer a constrained and contextually correct set of customer choices. Because it abstracts the join logic between party data and role source data, developers and support analysts can query it directly when validating customer LOV behavior, troubleshooting missing customers, or building custom reporting and integration extracts.
Underlying Base Objects
The view is defined over two documented objects:
- OKC_ROLE_SOURCES RS — referenced as a SYNONYM and used to filter role definitions by role code and buy/sell indicator.
- OKX_PARTIES_V CUSTOMER — a view that exposes party identification and descriptive information, supplying the customer identifiers, number, and name columns.
The join is driven by role eligibility rather than an explicit key relationship in the view text: the query restricts rows to roles where RLE_CODE equals 'LESSEE', BUY_OR_SELL equals 'S', and the role's START_DATE and END_DATE bracket the current system date (with END_DATE defaulted to SYSDATE when null). This means the view returns customers only when a valid, currently effective lessee role source exists. The relationship to the base objects is therefore filter-oriented: OKC_ROLE_SOURCES determines which customers are eligible, while OKX_PARTIES_V provides the display attributes.
Key Columns
- CUSTOMER_ID1 — mapped from CUSTOMER.ID1, the primary party identifier.
- CUSTOMER_ID2 — aliased from CUSTOMER.ID2. This is the column most often associated with the "customer_id2" search term and typically corresponds to a secondary or alternate party identifier used for LOV return values.
- CUSTOMER_NUMBER — mapped from CUSTOMER.DESCRIPTION, the customer account or party number displayed to users.
- CUSTOMER_NAME — mapped from CUSTOMER.NAME, the party name shown in the LOV.
- CUSTOMER_JTOT_OBJECT_CODE — sourced from RS.JTOT_OBJECT_CODE on OKC_ROLE_SOURCES, indicating the JTOT object code associated with the qualifying role.
The dual ID columns allow the LOV to return one identifier for internal processing while presenting another in the user interface. When investigating "customer_id2" issues, CUSTOMER_ID2 is the relevant output column, and its value depends entirely on how OKX_PARTIES_V populates ID2 for the given party.
Common Use Cases and Queries
The view supports credit line contract setup, customer LOV troubleshooting, and reconciliation of eligible lessees. A typical query retrieves the full LOV set:
SELECT customer_id1, customer_id2, customer_number, customer_name, customer_jtot_object_code FROM okl_customer_uv;- Locating a specific customer by identifier:
SELECT customer_id2, customer_name FROM okl_customer_uv WHERE customer_id2 = :p_id; - Verifying name-to-ID mapping for a contract:
SELECT customer_number, customer_name, customer_id2 FROM okl_customer_uv WHERE customer_name LIKE :p_name;
Because rows are date-filtered against SYSDATE, a customer that exists in OKX_PARTIES_V but lacks a current, effective LESSSEE selling role in OKC_ROLE_SOURCES will not appear. This is the most common root cause when a customer is expected in the credit line contract LOV but cannot be found. The view is read-only, so remediation occurs in the underlying role setup data.
-
View: OKL_CUSTOMER_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_CUSTOMER_UV, object_name:OKL_CUSTOMER_UV, status:VALID, product: OKL - Lease and Finance Management , description: User interface view for customer lov on creditline contract page , implementation_dba_data: APPS.OKL_CUSTOMER_UV ,
-
VIEW: APPS.OKL_CUSTOMER_UV
12.2.2
-
View: OKL_CUSTOMER_ACCT_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_CUSTOMER_ACCT_UV, object_name:OKL_CUSTOMER_ACCT_UV, status:VALID, product: OKL - Leasing and Finance Management , description: User interface view for customer account lov on creditline contract page , implementation_dba_data: APPS.OKL_CUSTOMER_ACCT_UV ,
-
View: OKL_CUSTOMER_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_CUSTOMER_UV, object_name:OKL_CUSTOMER_UV, status:VALID, product: OKL - Leasing and Finance Management , description: User interface view for customer lov on creditline contract page , implementation_dba_data: APPS.OKL_CUSTOMER_UV ,
-
VIEW: APPS.OKL_CUSTOMER_UV
12.1.1
-
VIEW: APPS.OKL_CUSTOMER_ACCT_UV
12.2.2
-
View: OKL_CUSTOMER_ACCT_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_CUSTOMER_ACCT_UV, object_name:OKL_CUSTOMER_ACCT_UV, status:VALID, product: OKL - Lease and Finance Management , description: User interface view for customer account lov on creditline contract page , implementation_dba_data: APPS.OKL_CUSTOMER_ACCT_UV ,
-
VIEW: APPS.OKL_CUSTOMER_ACCT_UV
12.1.1
-
VIEW: APPS.OKL_CUSTOMER_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_CUSTOMER_UV, object_name:OKL_CUSTOMER_UV, status:VALID,
-
APPS.JA_JAINARDR_XMLP_PKG SQL Statements
12.2.2
-
VIEW: APPS.OKL_CUSTOMER_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_CUSTOMER_UV, object_name:OKL_CUSTOMER_UV, status:VALID,
-
VIEW: APPS.OKL_CUSTOMER_ACCT_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_CUSTOMER_ACCT_UV, object_name:OKL_CUSTOMER_ACCT_UV, status:VALID,
-
APPS.JA_JAINARDR_XMLP_PKG SQL Statements
12.1.1
-
VIEW: APPS.OKL_CUSTOMER_ACCT_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_CUSTOMER_ACCT_UV, object_name:OKL_CUSTOMER_ACCT_UV, status:VALID,
-
View: OKL_CREDITLINES_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_CREDITLINES_UV, object_name:OKL_CREDITLINES_UV, status:VALID, product: OKL - Leasing and Finance Management , description: User interface view for Credit Line Contract Page , implementation_dba_data: APPS.OKL_CREDITLINES_UV ,
-
VIEW: APPS.MST_CUST_CUST_INCOMP_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MST_CUST_CUST_INCOMP_V, status:VALID,
-
View: OKL_CREDITLINES_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_CREDITLINES_UV, object_name:OKL_CREDITLINES_UV, status:VALID, product: OKL - Lease and Finance Management , description: User interface view for Credit Line Contract Page , implementation_dba_data: APPS.OKL_CREDITLINES_UV ,
-
VIEW: APPS.OKL_CREDITLINES_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_CREDITLINES_UV, object_name:OKL_CREDITLINES_UV, status:VALID,
-
VIEW: APPS.OKL_CREDITLINES_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_CREDITLINES_UV, object_name:OKL_CREDITLINES_UV, status:VALID,
-
VIEW: APPS.OKL_CREDITLINES_UV
12.1.1
-
VIEW: APPS.OKL_CREDITLINES_UV
12.2.2
-
View: OKC_K_SALES_AGRMNTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_SALES_AGRMNTS_V, object_name:OKC_K_SALES_AGRMNTS_V, status:VALID, product: OKC - Contracts Core , description: View for the contracts of category Sales Agreement , implementation_dba_data: APPS.OKC_K_SALES_AGRMNTS_V ,
-
View: OKC_K_SALES_AGRMNTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_SALES_AGRMNTS_V, object_name:OKC_K_SALES_AGRMNTS_V, status:VALID, product: OKC - Contracts Core , description: View for the contracts of category Sales Agreement , implementation_dba_data: APPS.OKC_K_SALES_AGRMNTS_V ,
-
VIEW: APPS.OKC_K_SALES_AGRMNTS_V
12.1.1
-
PACKAGE BODY: APPS.JA_JAINARDR_XMLP_PKG
12.1.1
-
VIEW: APPS.OKC_K_SALES_AGRMNTS_V
12.2.2
-
PACKAGE BODY: APPS.JA_JAINARDR_XMLP_PKG
12.2.2
-
PACKAGE: APPS.JA_JAINARDR_XMLP_PKG
12.1.1
-
PACKAGE: APPS.JA_JAINARDR_XMLP_PKG
12.2.2
-
VIEW: APPS.OKC_K_SALES_AGRMNTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_SALES_AGRMNTS_V, object_name:OKC_K_SALES_AGRMNTS_V, status:VALID,
-
VIEW: APPS.OKC_K_SALES_AGRMNTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_SALES_AGRMNTS_V, object_name:OKC_K_SALES_AGRMNTS_V, status:VALID,
-
APPS.OKL_CREDIT_PUB SQL Statements
12.2.2
-
APPS.OKL_CREDIT_PUB SQL Statements
12.1.1
-
APPS.ARP_PAY_REL_CUST_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.ARP_PAY_REL_CUST_PKG
12.2.2
-
PACKAGE: APPS.OKL_CREDIT_PUB
12.1.1
-
PACKAGE: APPS.OKL_CREDIT_PUB
12.2.2
-
APPS.OKL_CREDIT_PUB dependencies on OKC_K_HEADERS_V
12.1.1
-
APPS.OKL_CREDIT_PUB dependencies on OKC_K_PARTY_ROLES_B
12.2.2
-
APPS.OKL_CREDIT_PUB dependencies on OKC_K_PARTY_ROLES_B
12.1.1
-
APPS.JA_JAINARDR_XMLP_PKG dependencies on RA_CUST_TRX_LINE_GL_DIST_ALL
12.1.1
-
APPS.OKL_CREDIT_PUB dependencies on OKC_K_HEADERS_V
12.2.2
-
APPS.JA_JAINARDR_XMLP_PKG dependencies on AR_CASH_RECEIPTS_ALL
12.1.1
-
APPS.JA_JAINARDR_XMLP_PKG dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.JA_JAINARDR_XMLP_PKG dependencies on RA_CUST_TRX_LINE_GL_DIST_ALL
12.2.2
-
APPS.JA_JAINARDR_XMLP_PKG dependencies on AR_CASH_RECEIPTS_ALL
12.2.2
-
APPS.OKL_CREDIT_PUB dependencies on OKX_PARTIES_V
12.2.2
-
APPS.JA_JAINARDR_XMLP_PKG dependencies on AR_PAYMENT_SCHEDULES_ALL
12.2.2
-
APPS.JA_JAINARDR_XMLP_PKG dependencies on AR_PAYMENT_SCHEDULES_ALL
12.1.1
-
APPS.OKL_CREDIT_PUB dependencies on OKC_API
12.1.1