Search Results cc_auth_code
Overview
OKS_K_HEADERS_V is a public view owned by the APPS schema in Oracle E-Business Suite. It belongs to the OKS (Service Contracts) product family and exposes service contract header attributes that are required by the Oracle Service Contracts pricing, billing, and renewal engines. The view is flagged VALID in the documented 12.2.2 environment and is present in both 12.1.1 and 12.2.2 releases as part of the standard Service Contracts seed data and API support layer.
The view presents attributes held in the OKS_K_HEADERS_B table, which stores pricing and billing header information keyed to a service contract through the CHR_ID (contract header reference) column. The suffix convention (_V) indicates a view, and the naming pattern is consistent with other OKS pricing-related data objects.
Underlying Base Objects
The documented metadata for the ETRM 12.2.2 release lists a single referenced base object: the synonym OKS_K_HEADERS_B owned by APPS. In practice, that synonym points to the underlying OKS_OKS_K_HEADERS_B table, which is the entity that physically stores the service contract header pricing and billing records.
The view is a straight projection of columns from that base object, using KHR as the driving alias. It does not perform joins to other tables in the documented excerpt, which makes it a low-cost access path for retrieving pricing header attributes. The ROWID of the base row is exposed through the ROW_ID column, allowing applications that use the view for updateable operations to resolve the underlying row.
The primary keys exposed are ID (the K_HEADERS row identifier) and CHR_ID (the associated contract header reference). ACCT_RULE_ID links the pricing header to accounting rules, while COMMITMENT_ID and BILLING_PROFILE_ID link to procurement and billing profile configuration respectively.
Key Columns
- ROW_ID — ROWID of the base OKS_K_HEADERS_B row.
- ID / CHR_ID — Primary identifiers for the pricing header record and the parent contract.
- PAYMENT_TYPE, CC_NO, CC_EXPIRY_DATE, CC_BANK_ACCT_ID, CC_AUTH_CODE — Payment instrument attributes, including credit card details.
- GRACE_DURATION, GRACE_PERIOD — Grace period definitions applied to the contract.
- EST_REV_PERCENT, EST_REV_DATE — Estimated revenue recognition percentage and date.
- TAX_AMOUNT, TAX_STATUS, TAX_CODE, TAX_EXEMPTION_ID — Tax determination and exemption attributes.
- BILLING_PROFILE_ID, ACCT_RULE_ID, COMMITMENT_ID — Foreign references to billing, accounting, and procurement configuration.
- RENEWAL_STATUS, ELECTRONIC_RENEWAL_FLAG — Renewal processing state.
- RENEWAL_PO_REQUIRED, RENEWAL_PO_NUMBER, RENEWAL_PRICE_LIST, RENEWAL_PRICING_TYPE, RENEWAL_MARKUP_PERCENT — Renewal quoting and pricing controls.
- QUOTE_TO_CONTACT_ID, QUOTE_TO_SITE_ID, QUOTE_TO_EMAIL_ID, QUOTE_TO_PHONE_ID, QUOTE_TO_FAX_ID — Renewal notification destination identifiers.
- RENEWAL_GRACE_DURATION, RENEWAL_GRACE_PERIOD — Grace periods specific to renewals.
- REV_EST_PERCENT_USED, REV_EST_DURATION_USED, REV_EST_PERIOD_USED — Actual revenue estimation values applied.
- RENEWAL_*_USED columns — Flags showing which renewal attributes were actually applied on the contract.
Common Use Cases and Queries
The view is used primarily in Service Contracts reporting, renewals processing, and integration extracts. Because the user query referenced ar_interface_yn, note that this particular column is not present in the documented view text; that attribute belongs to other OKS contract header or interface views and is commonly joined through CHR_ID. The following patterns apply:
- Retrieve pricing and billing header details for a specific contract:
SELECT id, chr_id, payment_type, tax_status, billing_profile_id FROM oks_k_headers_v WHERE chr_id = :chr_id; - Renewal workbench and notification extracts:
SELECT chr_id, renewal_status, electronic_renewal_flag, renewal_po_required, renewal_price_list FROM oks_k_headers_v WHERE renewal_status = 'PENDING'; - Revenue recognition reconciliation:
SELECT chr_id, est_rev_percent, est_rev_date, rev_est_percent_used FROM oks_k_headers_v; - Tax exception reporting, joining to contractual headers via CHR_ID to resolve contract numbers.
Updates should be performed through the supported Service Contracts APIs rather than directly against this view, although ROW_ID is exposed to support row-based updates when necessary.
-
View: OKS_K_HEADERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_K_HEADERS_V, object_name:OKS_K_HEADERS_V, status:VALID, product: OKS - Service Contracts , description: Service Contracts Header Attributes , implementation_dba_data: APPS.OKS_K_HEADERS_V ,
-
View: OKS_K_HEADERS_HV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_K_HEADERS_HV, object_name:OKS_K_HEADERS_HV, status:VALID, product: OKS - Service Contracts , description: Service Contracts Header Attributes History , implementation_dba_data: APPS.OKS_K_HEADERS_HV ,
-
View: OKS_K_HEADERS_HV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_K_HEADERS_HV, object_name:OKS_K_HEADERS_HV, status:VALID, product: OKS - Service Contracts , description: Service Contracts Header Attributes History , implementation_dba_data: APPS.OKS_K_HEADERS_HV ,
-
View: OKS_K_HEADERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_K_HEADERS_V, object_name:OKS_K_HEADERS_V, status:VALID, product: OKS - Service Contracts , description: Service Contracts Header Attributes , implementation_dba_data: APPS.OKS_K_HEADERS_V ,
-
View: OKS_K_LINES_HV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_K_LINES_HV, object_name:OKS_K_LINES_HV, status:VALID, product: OKS - Service Contracts , description: Service Contracts Line Attributes History , implementation_dba_data: APPS.OKS_K_LINES_HV ,
-
View: OKS_K_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_K_LINES_V, object_name:OKS_K_LINES_V, status:VALID, product: OKS - Service Contracts , description: Service Contracts Line Attributes , implementation_dba_data: APPS.OKS_K_LINES_V ,
-
View: OKS_K_LINES_HV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_K_LINES_HV, object_name:OKS_K_LINES_HV, status:VALID, product: OKS - Service Contracts , description: Service Contracts Line Attributes History , implementation_dba_data: APPS.OKS_K_LINES_HV ,
-
View: OKS_K_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_K_LINES_V, object_name:OKS_K_LINES_V, status:VALID, product: OKS - Service Contracts , description: Service Contracts Line Attributes , implementation_dba_data: APPS.OKS_K_LINES_V ,
-
View: OKS_AUTH_LINES_HV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_AUTH_LINES_HV, object_name:OKS_AUTH_LINES_HV, status:VALID, product: OKS - Service Contracts , implementation_dba_data: APPS.OKS_AUTH_LINES_HV ,
-
View: OKS_AUTH_HEADERS_HV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_AUTH_HEADERS_HV, object_name:OKS_AUTH_HEADERS_HV, status:VALID, product: OKS - Service Contracts , implementation_dba_data: APPS.OKS_AUTH_HEADERS_HV ,
-
View: OKS_AUTH_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_AUTH_LINES_V, object_name:OKS_AUTH_LINES_V, status:VALID, product: OKS - Service Contracts , implementation_dba_data: APPS.OKS_AUTH_LINES_V ,
-
View: OKS_AUTH_HEADERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_AUTH_HEADERS_V, object_name:OKS_AUTH_HEADERS_V, status:VALID, product: OKS - Service Contracts , implementation_dba_data: APPS.OKS_AUTH_HEADERS_V ,
-
View: OKS_AUTH_HEADERS_HV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_AUTH_HEADERS_HV, object_name:OKS_AUTH_HEADERS_HV, status:VALID, product: OKS - Service Contracts , implementation_dba_data: APPS.OKS_AUTH_HEADERS_HV ,
-
View: OKS_AUTH_LINES_HV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_AUTH_LINES_HV, object_name:OKS_AUTH_LINES_HV, status:VALID, product: OKS - Service Contracts , implementation_dba_data: APPS.OKS_AUTH_LINES_HV ,
-
View: OKS_AUTH_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_AUTH_LINES_V, object_name:OKS_AUTH_LINES_V, status:VALID, product: OKS - Service Contracts , implementation_dba_data: APPS.OKS_AUTH_LINES_V ,
-
View: OKS_AUTH_HEADERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_AUTH_HEADERS_V, object_name:OKS_AUTH_HEADERS_V, status:VALID, product: OKS - Service Contracts , implementation_dba_data: APPS.OKS_AUTH_HEADERS_V ,