Results for “okl_rules_v”
20 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
OKL_RULES_V is a database view owned by the APPS schema in Oracle E-Business Suite, belonging to the OKL – Leasing and Finance Management product family. Within the ETRM (Enterprise Terminology and Reference Model) documentation set for releases 12.1.1 and 12.2.2, it is catalogued as a VALID object of type VIEW. Its documented purpose is specific and narrow: OKL_RULES_V serves as the source view for the JTF_OBJECT identifier OKL_STRMHDR, and it is used to stream stream-level header information down to stream-level lines.
In other words, this view does not present a broad business entity in its own right. It functions as a thin transformation layer that exposes rule identifiers in a shape expected by the JTF object framework, which is the foundation for Oracle's CRM-style object modelling and for the Streaming/Contract Management reporting that OKL depends upon. Any report, integration, or concurrent program that resolves the OKL_STRMHDR JTF object will ultimately traverse this view to obtain the rule key values it needs.
Underlying Base Objects
The documented definition of OKL_RULES_V is a single-select view over one referenced base object: OKC_RULES_V, which is itself a view in the OKC (Contracts Core) schema, exposed in APPS. No base tables are referenced directly; the view inherits the full join and filter logic of OKC_RULES_V and adds only a light projection on top of it.
This layering is significant for support and performance analysis. Because OKL_RULES_V resolves through OKC_RULES_V, any change to the underlying OKC contracts rules structures — or to the OKC_RULES_V definition itself — propagates automatically to the OKL view. Conversely, tuning efforts, indexing strategies, or query rewrites applied against OKL_RULES_V must account for the fact that the real cost of the query is incurred inside OKC_RULES_V and its own dependencies. DBAs investigating slow streaming-header queries should therefore begin their analysis at the OKC layer rather than at OKL_RULES_V.
Key Columns
The documented view text is deliberately minimal: SELECT CRULV.ID ID1, '#' ID2 FROM OKC_RULES_V CRULV. Two columns are exposed:
- ID1 — sourced from the
IDcolumn of OKC_RULES_V. This carries the unique identifier of the rule record as defined in the contracts rules layer. It is the operative key consumed by the JTF_OBJECT framework when resolvingOKL_STRMHDR. - ID2 — a literal hash character (
'#') projected as a constant. This is a placeholder column required by the JTF object contract, which expects a two-part key structure. Because no second meaningful key exists at this level, the constant fills the slot so that the row shape matches the framework's expectations.
The absence of any descriptive or attribute columns is by design. OKL_RULES_V is a key-delivery mechanism, not an informational view; consumers that need rule attributes must join back to OKC_RULES_V or to the underlying contracts rules tables using the ID1 value.
Common Use Cases and Queries
The principal use case is JTF object resolution for OKL_STRMHDR during stream header-to-line processing. A typical diagnostic query retrieves the rule identifiers available to that object:
SELECT id1, id2 FROM apps.okl_rules_v;— returns the rule key pairs used by the streaming-header object.SELECT v.id1, r.* FROM apps.okl_rules_v v, apps.okc_rules_v r WHERE v.id1 = r.id;— re-joins back to the source view to inspect the full rule attributes behind each key.- Validating object setup: confirm that rows exist for a given rule before troubleshooting a stream-level header that fails to resolve its associated lines.
Because both columns originate from a view layer, these queries are safe for read-only diagnostics and reporting but must never be used as the target of DML. In 12.2.2 the documented structure is unchanged from 12.1.1, so queries written against this view remain portable across both releases.
-
View: OKL_RULES_V 12.1.1
OKL_RULES_V is the source view for JTF_OBJECT 'OKL_STRMHDR'. This is used to stream level header to stream level lines.
-
View: OKL_RULES_V 12.2.2
OKL_RULES_V is the source view for JTF_OBJECT 'OKL_STRMHDR'. This is used to stream level header to stream level lines.
-
VIEW: APPS.OKL_RULES_V 12.1.1
-
VIEW: APPS.OKL_RULES_V 12.2.2
-
12.2.2 FND Design Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.1.1 FND Design Data 12.1.1
-
VIEW: APPS.OKC_RULES_V 12.2.2
-
VIEW: APPS.OKC_RULES_V 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
eTRM - OKC Tables and Views 12.2.2
Intersection entity between rules and templates
-
eTRM - OKC Tables and Views 12.1.1
Intersection entity between templates and rules.
-
eTRM - OKL Tables and Views 12.2.2
Translatable columns from OKL_XTL_SELL_INVS_B, per MLS standards
-
eTRM - OKL Tables and Views 12.1.1
Translatable columns from OKL_XTL_SELL_INVS_B, per MLS standards
-
eTRM - OKC Tables and Views 12.1.1
Intersection entity between templates and rules.
-
eTRM - OKC Tables and Views 12.2.2
Intersection entity between rules and templates
-
eTRM - OKL Tables and Views 12.2.2
Translatable columns from OKL_XTL_SELL_INVS_B, per MLS standards
-
eTRM - OKL Tables and Views 12.1.1
Translatable columns from OKL_XTL_SELL_INVS_B, per MLS standards