Results for “oks_bcl_pr_v”
16 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
OKS_BCL_PR_V is a read-only database view owned by the APPS schema in Oracle E-Business Suite, registered as a VALID object within the OKS — Service Contracts product family. It is defined in both Oracle EBS 12.1.1 and 12.2.2 and is described in the ETRM repository as a "View for table OKS_BCL_PR." The view projects rows from the service contracts billing calculation line structure, exposing billing periods, monetary amounts, currency, status flags, and the standard 15 developer attribute columns plus WHO audit columns. It functions as an approved reporting and integration interface against billing calculation data, allowing concurrent programs, forms, OAF pages, and custom SQL reports to read billing line content without direct dependency on the underlying base table.
Underlying Base Objects
The documented metadata identifies a single referenced base object: OKS_BILL_CONT_LINES, exposed to the APPS schema as a SYNONYM. Although the object is titled "View for table OKS_BCL_PR," the view text aliases the source as BCLB and selects from OKS_BILL_CONT_LINES, which represents the service contract billing calculation (bill control) line entity. OKS_BCL_PR_V is therefore a straightforward projection view rather than a join, aggregate, or union. Every column in the view is drawn directly from the base table with no transformation, expression, or decode logic. ROWID is exposed as ROW_ID, preserving a physical row identifier for the source record. The view carries no WHERE clause, so row-level filtering is inherited entirely from the base table's own contents and from any filters applied at query time by the consuming application or report.
Key Columns
- ROW_ID — the ROWID of the underlying billing line row; useful for direct-row referencing and debugging.
- ID — the primary key of the billing calculation line.
- OBJECT_VERSION_NUMBER — optimistic locking version, typical of EBS 12.1.1 / 12.2.2 OAF-enabled entities.
- CLE_ID — the contract line identifier the billing line belongs to.
- BTN_ID — the billing transaction or bill-to reference associated with the line.
- DATE_BILLED_FROM / DATE_BILLED_TO — the billing period boundaries for the line.
- DATE_NEXT_INVOICE — the scheduled date of the next invoice for the line.
- AMOUNT — the billing amount held on the line.
- CURRENCY_CODE — the currency of AMOUNT.
- SENT_YN / SETTLED_YN — flags indicating whether the line has been sent and whether it has been settled.
- BILL_ACTION — the billing action code associated with the line.
- AVERAGED_YN — indicates whether the billing amount for the line was derived using averaging logic, a relevant control for revenue recognition and proration review.
- ATTRIBUTE_CATEGORY and ATTRIBUTE1–ATTRIBUTE15 — the standard EBS DFF/descriptive flexfield columns.
- CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — WHO audit columns.
Common Use Cases and Queries
Typical usage includes billing schedule reports, service contract revenue analysis, reconciliation of averaged billing lines, and data extracts feeding downstream financial systems. The AVERAGED_YN column is frequently queried to isolate lines whose amounts were computed through averaging, which is often required when reviewing period proration or explaining invoice variance. A representative query follows:
SELECT id, cle_id, date_billed_from, date_billed_to, amount, currency_code, averaged_yn, settled_yn FROM apps.oks_bcl_pr_v WHERE averaged_yn = 'Y' AND date_billed_from >= :p_from_date;SELECT cle_id, SUM(amount) billed_total FROM apps.oks_bcl_pr_v WHERE currency_code = :p_currency GROUP BY cle_id;SELECT id, amount, bill_action FROM apps.oks_bcl_pr_v WHERE settled_yn = 'N' AND date_next_invoice <= SYSDATE;
Because the view performs no filtering or aggregation, all business predicates — averaged lines, unsettled lines, or specific contract lines — must be supplied by the calling query. All access should be granted through the APPS schema, and the view should be treated as read-only.
-
View: OKS_BCL_PR_V 12.1.1
View for table OKS_BCL_PR
APPS.OKS_BCL_PR_V·↳ OKS_BILL_CONT_LINES·Explore OKS module →
-
View: OKS_BCL_PR_V 12.2.2
View for table OKS_BCL_PR
APPS.OKS_BCL_PR_V·↳ OKS_BILL_CONT_LINES·Explore OKS module →
-
VIEW: APPS.OKS_BCL_PR_V 12.2.2
-
VIEW: APPS.OKS_BCL_PR_V 12.1.1
-
12.1.1 FND Design Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.2.2 FND Design Data 12.2.2
-
eTRM - OKS Tables and Views 12.2.2
-
eTRM - OKS Tables and Views 12.1.1
Stores the template set information.
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
eTRM - OKS Tables and Views 12.2.2
-
eTRM - OKS Tables and Views 12.1.1
Stores the template set information.