Results for “trn_code”
18 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
OKL_VP_TERMINATION_REASON_UV is an APPS-owned database view in the Oracle Lease and Finance Management (OKL) product family, delivered in Oracle E-Business Suite 12.1.1 and 12.2.2. The suffix "UV" denotes a user-facing validation view, which in the ETRM (Applications Technology) naming convention signals that the object is intended for use as a List of Values (LOV) source or as a lookup validation reference within Oracle Forms and OAF-based pages. The view presents a curated, bilingual-filtered list of lease termination reasons, exposing only the subset of lookup codes that Oracle Lease and Finance Management considers valid for termination processing.
The view is essentially a thin, purpose-built projection over the FND_LOOKUP_VALUES and FND_LOOKUP_TYPES tables, restricted to the lookup type OKC_TERMINATION_REASON. It serves as the authoritative runtime source for populating termination reason LOVs in lease termination workflows, contracts, and reporting queries. Because it applies ENABLED_FLAG, date-range, language, and security-group filtering, it returns only currently effective lookup values for the session user's language and security context.
Underlying Base Objects
The view is defined over the following documented base objects:
- FND_LOOKUP_TYPES (synonym in APPS) — supplies the lookup type metadata and security group alignment.
- FND_LOOKUP_VALUES (synonym in APPS) — supplies the individual lookup codes, meanings, effective dates, and enabled flag.
- FND_GLOBAL (package) — invoked via
FND_GLOBAL.LOOKUP_SECURITY_GROUPto enforce lookup-level security, and indirectly viaUSERENV('LANG')for language filtering.
Joins are performed on LOOKUP_TYPE, SECURITY_GROUP_ID, and VIEW_APPLICATION_ID across the two FND tables, ensuring the type and value rows belong to the same lookup configuration. Additional predicates restrict the result set to ENABLED_FLAG = 'Y', NVL(START_DATE_ACTIVE, SYSDATE) <= SYSDATE, and NVL(END_DATE_ACTIVE, SYSDATE) >= SYSDATE, guaranteeing that only active, currently effective values are returned.
Key Columns
- TRN_CODE — Aliased from
FLV.LOOKUP_CODE. The stored termination reason code. The view hard-codes the allowed set to'DEF', 'MUA', 'OOB', 'EOT', 'CTY', 'OBS', 'REF', corresponding to standard lease termination scenarios such as default, mutual agreement, out-of-business, end-of-term, early termination, obsolescence, and refinance. - TERMINATION_REASON — Aliased from
FLV.MEANING. The translatable user-facing description of the termination reason, resolved to the session language through the ENABLED/date filters.
Only these two columns are exposed. All other lookup attributes (description, tag, attribute columns, effective dates) are suppressed to present a minimal LOV surface.
Common Use Cases and Queries
The view is typically consumed by Oracle Forms LOVs, OAF region lookups, and custom reports that need the standard lease termination reason set without re-implementing the underlying lookup join logic. Users searching for "trn_code" are usually inspecting a value returned from this view — for example, to map a stored TRN_CODE back to its meaning, or to validate which codes the application permits.
A representative query:
SELECT trn_code, termination_reason
FROM apps.okl_vp_termination_reason_uv
ORDER BY termination_reason;
To resolve a stored code:
SELECT termination_reason
FROM apps.okl_vp_termination_reason_uv
WHERE trn_code = :trn_code;
To enumerate the supported termination basis:
SELECT trn_code
FROM apps.okl_vp_termination_reason_uv;
Because only the seven hard-coded codes are exposed, any value in a lease termination record outside that set will not resolve through this view and must be joined against FND_LOOKUP_VALUES directly. This constraint makes the view suitable for validation and LOV rendering but unsuitable for historical lookups if the effective date window has expired.
-
APPS.OKL_VP_TERMINATION_REASON_UV·↳ FND_LOOKUP_TYPES·↳ FND_LOOKUP_VALUES·Explore OKL module →
-
View: OKL_TRX_QUOTES_V 12.1.1
Termination, restructure or repurchase quotes
APPS.OKL_TRX_QUOTES_V·↳ OKL_TRX_QUOTES_B·↳ OKL_TRX_QUOTES_TL·Explore OKL module →
-
View: OKL_TRX_CONTRACTS_UV 12.1.1
APPS.OKL_TRX_CONTRACTS_UV·↳ FND_CURRENCIES_TL·↳ HZ_CUST_ACCOUNTS·↳ HZ_PARTIES·Explore OKL module →
-
List of Related Contracts
APPS.OKL_RELATED_CONTRACT_ALL_UV·↳ JTF_RS_GROUPS_DENORM·↳ JTF_RS_GROUP_MEMBERS·↳ JTF_RS_RESOURCE_EXTNS·Explore OKL module →
-
APPS.OKL_AM_TRMNT_TRANSACTIONS_UV·↳ FND_LOOKUPS·↳ OKC_STATUSES_V·↳ OKL_K_HEADERS_FULL_V·Explore OKL module →
-
View: OKL_TRX_QUOTES_ALL_V 12.1.1
All Org view for Termination, restructure or repurchase quotes
APPS.OKL_TRX_QUOTES_ALL_V·↳ OKL_TRX_QUOTES_ALL_B·↳ OKL_TRX_QUOTES_TL·Explore OKL module →
-
List of Related Contracts
APPS.OKL_CS_RELATED_CONTRACT_UV·↳ OKC_K_GRPINGS·↳ OKC_K_HEADERS_B·↳ OKC_K_HEADERS_TL·Explore OKL module →
-
View: OKL_VP_AGREEMENT_UV 12.1.1
APPS.OKL_VP_AGREEMENT_UV·↳ OKC_GOVERNANCES·↳ OKC_K_HEADERS_ALL_B·↳ OKC_K_HEADERS_B·Explore OKL module →
-
View: OKL_EBIZ_KHEADERS_V 12.1.1
Find grid for eBusiness Integration.This grid is shown of Contracts tab in eBusiness,Purpose of this view is to filter out lease contracts,based on subclass_code='LEASE'
APPS.OKL_EBIZ_KHEADERS_V·↳ FND_LOOKUPS·↳ HZ_CUST_ACCOUNTS·↳ HZ_PARTIES·Explore OKL module →
-
OKL_K_HEADERS_FULL_V is fulll View on tables OKC_K_HEADERS_B OKL_K_HEADERS. This combines the contracts core and lease managment header attributes into one view.
APPS.OKL_K_HEADERS_FULL_ALL_V·↳ OKC_K_HEADERS_ALL_B·↳ OKC_K_HEADERS_TL·↳ OKL_K_HEADERS·Explore OKL module →
-
View: OKL_K_LINES_FULL_V 12.1.1
OKL_K_LINES_FULL_V is the full view on tables OKC_K_LINES_B and OKL_K_LINES. It combines the attributes of contracts core and lease management contract line tables.
APPS.OKL_K_LINES_FULL_V·↳ OKC_K_LINES_B·↳ OKC_K_LINES_TL·↳ OKL_K_LINES·Explore OKL module →
-
View: OKL_K_HEADERS_FULL_V 12.1.1
OKL_K_HEADERS_FULL_V is fulll View on tables OKC_K_HEADERS_B OKL_K_HEADERS. This combines the contracts core and lease managment header attributes into one view.
APPS.OKL_K_HEADERS_FULL_V·↳ OKC_K_HEADERS_B·↳ OKC_K_HEADERS_TL·↳ OKL_K_HEADERS·Explore OKL module →
-
View: OKL_K_HEADERS_UV 12.1.1
APPS.OKL_K_HEADERS_UV·↳ HZ_CUST_ACCOUNTS·↳ HZ_PARTIES·↳ OKC_K_HEADERS_B·Explore OKL module →
-
Termination, restructure or repurchase quotes
-
Lease transactions header table
-
APPS.OKL_AM_CONTRACT_PARTIES_UV·↳ HZ_PARTIES·↳ OKC_K_PARTY_ROLES_V·↳ OKC_STATUSES_V·Explore OKL module →
-
View: OKL_K_HEADERS_FULL_UV 12.1.1
APPS.OKL_K_HEADERS_FULL_UV·↳ OKC_K_HEADERS_B·↳ OKC_K_HEADERS_TL·↳ OKL_K_HEADERS·Explore OKL module →
-
View: OKL_TRX_CONTRACTS_V 12.1.1
Lease transactions header table
Not implemented in this database·Explore OKL module →