Results for “oks_bill_cont_lines_v”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
OKS_BILL_CONT_LINES_V is a reporting and integration view owned by the APPS schema in Oracle E-Business Suite, delivered as part of the OKS – Service Contracts module. It exposes the billing line detail captured for service contracts, specifically the records that drive invoicing for contract lines. In EBS 12.1.1 and 12.2.2 the object carries a status of VALID and is documented in ETRM as a view defined over the base billing lines entity.
The view functions as a stable, read-only projection of service contract billing information. Because it presents billing schedule lines together with their billing windows, amounts, currency, and settlement flags, it is commonly used by reporting tools, concurrent programs, and outbound integrations that must read contract billing activity without touching the underlying base table directly. Developers searching for the column date_next_invoice will find it here; the view exposes DATE_NEXT_INVOICE alongside DATE_BILLED_FROM and DATE_BILLED_TO, making it the natural access point for queries that determine when a contract line is next due for invoicing.
Underlying Base Objects
Per the documented ETRM metadata, the view is defined over a single referenced base object: the synonym OKS_BILL_CONT_LINES in the APPS schema. The view text confirms this relationship with a straightforward SELECT from OKS_BILL_CONT_LINES (aliased BCLB), returning all significant columns of that table plus ROWID cast as ROW_ID.
The select list is a one-to-one projection: ID, OBJECT_VERSION_NUMBER, CLE_ID, BTN_ID, the billing date columns, AMOUNT, and the descriptor flags SENT_YN, BILL_ACTION, CURRENCY_CODE, AVERAGED_YN, and SETTLED_YN are all carried through unchanged, as are the fifteen descriptive flexfield ATTRIBUTE columns and the standard who-columns (CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN). No joins, filters, or aggregations are applied in the view definition. Consequently, the view does not change data granularity: each row corresponds to one row of the base billing lines table, and DML against the base entity is unaffected by the view.
Key Columns
- ROW_ID – the base table ROWID, useful for row identification and update targeting.
- ID – primary identifier of the billing line record.
- CLE_ID – identifier linking the billing line to the contract line being billed.
- BTN_ID – identifier of the associated billing transaction or billing schedule reference.
- DATE_BILLED_FROM / DATE_BILLED_TO – the service period covered by the billing line.
- DATE_NEXT_INVOICE – the date on which the next invoice for the line is expected; this is the column most frequently queried when users search for date_next_invoice.
- AMOUNT / CURRENCY_CODE – billed amount and its currency.
- SENT_YN, BILL_ACTION, AVERAGED_YN, SETTLED_YN – processing state flags indicating whether the line has been sent, the billing action applied, whether averaging was used, and whether the line is settled.
- ATTRIBUTE_CATEGORY and ATTRIBUTE1–15 – descriptive flexfield context and segments.
- Who columns – audit information for creation and last update.
Common Use Cases and Queries
Typical uses include reporting upcoming invoice dates for contract lines, reconciliation of billed versus unbilled service periods, and feeding downstream billing or analytics systems. A basic query listing upcoming invoice dates is:
SELECT id, cle_id, date_billed_from, date_billed_to, date_next_invoice, amount, currency_code
FROM apps.oks_bill_cont_lines_v
WHERE date_next_invoice IS NOT NULL
ORDER BY date_next_invoice;
To isolate unsettled lines with an upcoming invoice date:
SELECT id, cle_id, date_next_invoice, amount, currency_code
FROM apps.oks_bill_cont_lines_v
WHERE settled_yn = 'N'
AND date_next_invoice >= TRUNC(SYSDATE);
Because the view is a direct projection of OKS_BILL_CONT_LINES, any predicate that is valid against the base table can be applied here. Queries should be run against the APPS schema with appropriate grants, and large result sets benefit from filtering on CLE_ID, DATE_NEXT_INVOICE, or SENT_YN to limit the rows returned.
-
View: OKS_BILL_CONT_LINES_V 12.1.1
View for table OKS_BILL_CONT_LINES
APPS.OKS_BILL_CONT_LINES_V·↳ OKS_BILL_CONT_LINES·Explore OKS module →
-
View: OKS_BILL_CONT_LINES_V 12.2.2
View for table OKS_BILL_CONT_LINES
APPS.OKS_BILL_CONT_LINES_V·↳ OKS_BILL_CONT_LINES·Explore OKS module →
-
12.1.1 DBA Data 12.1.1
-
12.1.1 FND Design Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.2.2 FND Design Data 12.2.2