Search Results header_bto_address
Overview
OKS_CONTRACT_DTLS_V is a reporting view owned by the APPS schema within the OKS – Service Contracts module of Oracle E-Business Suite (documented against release 12.2.2, and applicable to 12.1.1). Its documented purpose is to present service contracts invoice details, consolidating contract header, service line, covered product, and billing/invoice attributes into a single denormalized row set. The view serves as a read-only reporting and integration surface: it allows inquiry screens, custom reports, extract programs, and downstream interfaces to retrieve contract-to-invoice relationships without joining the four underlying service contract views directly.
The user search term header_bto_address corresponds to a column exposed by this view. It represents the header-level "Bill-To" address for the contract party, sourced from OKS_HEADER_DETAILS_V. It is complemented by the line-level columns LINE_BTO_ADDRESS and LINE_STO_ADDRESS, which permit bill-to and ship-to comparison at the service line level.
Underlying Base Objects
The view is defined as an outer-joined join across four service contract views, keyed on contract, line, and covered-line identifiers:
- OKS_HEADER_DETAILS_V (A) — contract header attributes, including CONTRACT_ID, CONTRACT_NUMBER, status, dates, party information, currency, org, and HEADER_BTO_ADDRESS.
- OKS_LINE_DETAILS_V (B) — service line attributes, joined to A on CONTRACT_ID and to C on LINE_ID.
- OKS_PROD_DETAILS_V (C) — covered product/covered level detail, joined to B on LINE_ID and to D on COVD_LINE_ID.
- OKS_BILLING_DTLS_V (D) — billing and invoice detail, joined via an outer join on COVD_LINE_ID = CLE_ID(+), so covered lines without invoices are retained.
The documented dependency metadata additionally lists the packages ARP_ADDR_LABEL_PKG, CSICUMPI_PUB, and OKC_UTIL, which supply address formatting, service contract utility logic, and API support used within the underlying views.
Key Columns
The view exposes columns in four logical groups:
- Header: CONTRACT_ID, CONTRACT_NUMBER, CONTRACT_NUMBER_MODIFIER, START_DATE, END_DATE, STATUS, SHORT_DESCRIPTION, PARTY_ID, PARTY_NUMBER, PARTY_NAME, HEADER_BTO_ADDRESS, CURRENCY, ORG_ID, INV_ORG_ID, LAST_UPDATE_DATE, ESTIMATED_AMOUNT.
- Line: LINE_ID, LINE_REFERENCE, SERVICE_LINE_NUMBER, SERVICE_NAME, SERVICE_START_DATE, SERVICE_END_DATE, CUSTOMER_ACCOUNT_NAME, LINE_BTO_ADDRESS, LINE_STO_ADDRESS.
- Covered product: COVD_LINE_ID, COVD_LINE_NUMBER, COVD_LINE_LSE_ID, COVERED_LEVEL, COVERED_SYSTEM, COVERED_SERIAL_NO, COVD_DESCRIPTION, OBJECT_ID, QUANTITY, QTY_UOM, PRICE.
- Billing/invoice: INVOICE_NUMBER, INVOICE_DATE, INVOICE_LINE_TAX_AMOUNT, INVOICE_LINE_AMOUNT, BILL_INSTANCE_NUMBER, BILL_FROM_DATE, BILL_TO_DATE.
Common Use Cases and Queries
Typical usage includes contract billing reconciliation, invoice-to-covered-product traceability, and reporting on bill-to versus ship-to addresses across service lines. Because the billing join is outer, records for unbilled covered products still return, with invoice columns null.
A representative query retrieving header and line bill-to/ship-to information:
- SELECT contract_number, party_name, header_bto_address, line_reference, service_name, line_bto_address, line_sto_address, invoice_number, invoice_line_amount FROM oks_contract_dtls_v WHERE contract_number = :p_contract;
To isolate covered products not yet invoiced, filter on INVOICE_NUMBER IS NULL. For address-focused analysis, project HEADER_BTO_ADDRESS alongside LINE_BTO_ADDRESS and LINE_STO_ADDRESS to compare header-level and line-level defaults. All queries should be executed with the appropriate ORG_ID operating unit context to respect multi-org security.
-
View: OKS_CONTRACT_DTLS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_CONTRACT_DTLS_V, object_name:OKS_CONTRACT_DTLS_V, status:VALID, product: OKS - Service Contracts , description: Service contracts invoice details view. , implementation_dba_data: APPS.OKS_CONTRACT_DTLS_V ,
-
View: OKS_HEADER_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_HEADER_DETAILS_V, object_name:OKS_HEADER_DETAILS_V, status:VALID, product: OKS - Service Contracts , description: Service contracts header details view , implementation_dba_data: APPS.OKS_HEADER_DETAILS_V ,
-
View: OKS_HEADER_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_HEADER_DETAILS_V, object_name:OKS_HEADER_DETAILS_V, status:VALID, product: OKS - Service Contracts , description: Service contracts header details view , implementation_dba_data: APPS.OKS_HEADER_DETAILS_V ,
-
VIEW: APPS.OKS_HEADER_DETAILS_V
12.1.1
-
VIEW: APPS.OKS_HEADER_DETAILS_V
12.2.2
-
VIEW: APPS.OKS_HEADER_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_HEADER_DETAILS_V, object_name:OKS_HEADER_DETAILS_V, status:VALID,
-
VIEW: APPS.OKS_HEADER_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_HEADER_DETAILS_V, object_name:OKS_HEADER_DETAILS_V, status:VALID,
-
View: OKS_CONTRACT_DTLS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_CONTRACT_DTLS_V, object_name:OKS_CONTRACT_DTLS_V, status:VALID, product: OKS - Service Contracts , description: Service contracts invoice details view. , implementation_dba_data: APPS.OKS_CONTRACT_DTLS_V ,
-
VIEW: APPS.OKS_CONTRACT_DTLS_V
12.1.1
-
VIEW: APPS.OKS_CONTRACT_DTLS_V
12.2.2
-
VIEW: APPS.OKS_CONTRACT_DTLS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_CONTRACT_DTLS_V, object_name:OKS_CONTRACT_DTLS_V, status:VALID,
-
VIEW: APPS.OKS_CONTRACT_DTLS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_CONTRACT_DTLS_V, object_name:OKS_CONTRACT_DTLS_V, status:VALID,
-
eTRM - OKS Tables and Views
12.2.2
-
eTRM - OKS Tables and Views
12.1.1
description: Stores the template set information. ,