Search Results history
The OKS_K_LINES_BH
table is a critical component within Oracle E-Business Suite (EBS) versions 12.1.1 and 12.2.2, specifically designed to support the Oracle Service Contracts module. This table serves as a repository for historical data related to contract lines, capturing changes over time to facilitate auditing, reporting, and compliance requirements. Below is a detailed analysis of its structure, purpose, and integration within Oracle EBS.
1. Overview and Purpose
TheOKS_K_LINES_BH
table is part of the Oracle Service Contracts schema, which manages contractual agreements, renewals, and service entitlements. It functions as a "before-image" history table, storing snapshots of contract line records before modifications are applied. This ensures traceability of changes made to contract lines, such as updates to terms, pricing, or coverage periods. Key use cases include:
- Audit Compliance: Tracks modifications for regulatory or internal audits.
- Change Analysis: Enables comparison of contract line versions over time.
- Data Recovery: Provides a fallback mechanism to restore prior states if errors occur.
2. Table Structure and Key Columns
The table mirrors the structure of its base table,OKS_K_LINES_B
, with additional columns to record historical metadata. Notable columns include:
- ID: Primary key of the contract line.
- CHR_ID: References the contract header (
OKS_K_HEADERS_B
). - CLE_ID: Contract line identifier.
- LINE_NUMBER: Sequence number of the line within the contract.
- START_DATE/END_DATE: Defines the active period of the line.
- OBJECT_VERSION_NUMBER: Tracks versioning for optimistic locking.
- CREATED_BY/CREATION_DATE: Captures original record creation details.
- LAST_UPDATED_BY/LAST_UPDATE_DATE: Logs the most recent modification.
- HISTORY_TYPE: Indicates the operation triggering the history record (e.g., UPDATE, DELETE).
- HISTORY_DATE: Timestamp of the historical snapshot.
3. Integration with Oracle EBS Modules
The table interacts with several EBS modules:- Oracle Service Contracts: Core module for managing contract lifecycle.
- Oracle Advanced Pricing: Links to pricing adjustments on contract lines.
- Oracle Receivables: Ties invoicing and revenue recognition to contract terms.
- Oracle Install Base: Associates covered assets with contract lines.
4. Technical Considerations
- Triggers: Database triggers on
OKS_K_LINES_B
populateOKS_K_LINES_BH
upon data changes. - Indexing: Optimized for queries on
ID
,CHR_ID
, andHISTORY_DATE
. - Partitioning: In large deployments, partitioning by
HISTORY_DATE
improves performance. - Purge Policies: Historical data may be archived or purged based on retention rules.
5. Customization and Extensions
Customers often extend the table via:- Descriptive Flexfields (DFFs): Adding context-sensitive attributes.
- API Integrations: Custom scripts to synchronize history with external systems.
- Reports: Leveraging historical data for trend analysis.
Conclusion
TheOKS_K_LINES_BH
table is a foundational element in Oracle EBS Service Contracts, ensuring data integrity and transparency. Its design supports robust auditing capabilities while seamlessly integrating with other EBS modules. Proper configuration and maintenance of this table are essential for organizations relying on accurate contract lifecycle management.
-
Lookup Type: OKS_HISTORY_TYPE
12.2.2
product: OKS - Service Contracts , meaning: Service Contract History Types , description: Service Contract History Types ,
-
Lookup Type: OKS_HISTORY_TYPE
12.1.1
product: OKS - Service Contracts , meaning: Service Contract History Types , description: Service Contract History Types ,
-
Lookup Type: OKS_VAL_LOOKUP
12.1.1
product: OKS - Service Contracts , meaning: OKS_VAL_LOOKUP , description: Level lookup used in Service Contracts Validate Upgrade Data ,
-
Lookup Type: OKS_VAL_LOOKUP
12.2.2
product: OKS - Service Contracts , meaning: OKS_VAL_LOOKUP , description: Level lookup used in Service Contracts Validate Upgrade Data ,
-
Concurrent Program: OKS_VALIDATE_LINEH_RULE_DATA1
12.2.2
execution_filename: OKS_RULE_MIGRATE.VALIDATE_LINE_HIST_RULE , product: OKS - Service Contracts , user_name: OKS_VALIDATE_LINEH_RULE_DATA1 , description: Validates Line History Data , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: OKSTAXHMGR
12.2.2
execution_filename: OKS_TAX_UTIL_PVT.Update_Tax_HMGR , product: OKS - Service Contracts , user_name: OKSTAXHMGR , description: Service Contracts Update History Tax Columns Manager , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: OKS_VALIDATE_ALL_HISTORY
12.1.1
execution_filename: OKS_RULE_MIGRATE.VALIDATE_ALLH_RULE , product: OKS - Service Contracts , user_name: OKS_VALIDATE_ALL_RULEHIST_DATA , description: Subrequest for validating all history rules , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: OKSTAXHWKR
12.1.1
execution_filename: OKS_TAX_UTIL_PVT.Update_Tax_HWKR , product: OKS - Service Contracts , user_name: OKSTAXHWKR , description: Service Contracts Update History Tax Columns Worker , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: OKS_VALIDATE_HDRH_RULE_DATA1
12.1.1
execution_filename: OKS_RULE_MIGRATE.VALIDATE_HDR_HIST_RULE , product: OKS - Service Contracts , user_name: OKS_VALIDATE_HDRH_RULE_DATA1 , description: Validates Header History Rule Data , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: OKS_VALIDATE_ALL_HISTORY
12.2.2
execution_filename: OKS_RULE_MIGRATE.VALIDATE_ALLH_RULE , product: OKS - Service Contracts , user_name: OKS_VALIDATE_ALL_RULEHIST_DATA , description: Subrequest for validating all history rules , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: OKS_VALIDATE_HDRH_RULE_DATA1
12.2.2
execution_filename: OKS_RULE_MIGRATE.VALIDATE_HDR_HIST_RULE , product: OKS - Service Contracts , user_name: OKS_VALIDATE_HDRH_RULE_DATA1 , description: Validates Header History Rule Data , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: OKSTAXHWKR
12.2.2
execution_filename: OKS_TAX_UTIL_PVT.Update_Tax_HWKR , product: OKS - Service Contracts , user_name: OKSTAXHWKR , description: Service Contracts Update History Tax Columns Worker , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: OKS_VALIDATE_LINEH_RULE_DATA1
12.1.1
execution_filename: OKS_RULE_MIGRATE.VALIDATE_LINE_HIST_RULE , product: OKS - Service Contracts , user_name: OKS_VALIDATE_LINEH_RULE_DATA1 , description: Validates Line History Data , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: OKSTAXHMGR
12.1.1
execution_filename: OKS_TAX_UTIL_PVT.Update_Tax_HMGR , product: OKS - Service Contracts , user_name: OKSTAXHMGR , description: Service Contracts Update History Tax Columns Manager , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Lookup Type: OKS_INTERACT_HIST_TYPE
12.2.2
product: OKS - Service Contracts , meaning: Service Contract Interaction History Type , description: Service Contract Interaction History Type ,
-
Lookup Type: OKS_INTERACT_HIST_TYPE
12.1.1
product: OKS - Service Contracts , meaning: Service Contract Interaction History Type , description: Service Contract Interaction History Type ,
-
Concurrent Program: OKS_UPDCC_HDRH
12.2.2
execution_filename: OKS_CCMIGRATE_PVT.UPDATE_CC_HEADERH , product: OKS - Service Contracts , user_name: OKSUPDCC_HDRH_SUBREQ , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: OKSUHAFWKR
12.2.2
execution_filename: OKS_SETUP_UTIL_PUB.Update_Annualized_Factor_HWKR , product: OKS - Service Contracts , user_name: OKSUHAFWKR , description: Service Contracts Update History Annualized Factor Worker , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: OKSUHAFMGR
12.2.2
execution_filename: OKS_SETUP_UTIL_PUB.Update_Annualized_Factor_HMGR , product: OKS - Service Contracts , user_name: OKSUHAFMGR , description: Service Contracts Update History Annualized Factor Manager , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: OKS_UPDCC_HDRH
12.1.1
execution_filename: OKS_CCMIGRATE_PVT.UPDATE_CC_HEADERH , product: OKS - Service Contracts , user_name: OKSUPDCC_HDRH_SUBREQ , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: OKSUHAFMGR
12.1.1
execution_filename: OKS_SETUP_UTIL_PUB.Update_Annualized_Factor_HMGR , product: OKS - Service Contracts , user_name: OKSUHAFMGR , description: Service Contracts Update History Annualized Factor Manager , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: OKSUHAFWKR
12.1.1
execution_filename: OKS_SETUP_UTIL_PUB.Update_Annualized_Factor_HWKR , product: OKS - Service Contracts , user_name: OKSUHAFWKR , description: Service Contracts Update History Annualized Factor Worker , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: OKS_VALIDATE_ALL
12.1.1
execution_filename: OKS_RULE_MIGRATE.VALIDATE_ALL_RULE , product: OKS - Service Contracts , user_name: OKS_VALIDATE_ALL_RULE_DATA , description: Subrequest for Validating all line and header rules except history , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: OKS_VALIDATE_ALL
12.2.2
execution_filename: OKS_RULE_MIGRATE.VALIDATE_ALL_RULE , product: OKS - Service Contracts , user_name: OKS_VALIDATE_ALL_RULE_DATA , description: Subrequest for Validating all line and header rules except history , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Table: OKS_K_LINES_BH
12.2.2
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_K_LINES_BH, object_name:OKS_K_LINES_BH, status:VALID, product: OKS - Service Contracts , description: Service Contracts Line Attributes History , implementation_dba_data: OKS.OKS_K_LINES_BH ,
-
Table: OKS_K_LINES_TLH
12.1.1
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_K_LINES_TLH, object_name:OKS_K_LINES_TLH, status:VALID, product: OKS - Service Contracts , description: Service Contracts Line Text Attributes History , implementation_dba_data: OKS.OKS_K_LINES_TLH ,
-
Table: OKS_K_LINES_BH
12.1.1
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_K_LINES_BH, object_name:OKS_K_LINES_BH, status:VALID, product: OKS - Service Contracts , description: Service Contracts Line Attributes History , implementation_dba_data: OKS.OKS_K_LINES_BH ,
-
Table: OKS_K_LINES_TLH
12.2.2
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_K_LINES_TLH, object_name:OKS_K_LINES_TLH, status:VALID, product: OKS - Service Contracts , description: Service Contracts Line Text Attributes History , implementation_dba_data: OKS.OKS_K_LINES_TLH ,
-
Table: OKS_K_HEADERS_BH
12.1.1
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_K_HEADERS_BH, object_name:OKS_K_HEADERS_BH, status:VALID, product: OKS - Service Contracts , description: Service Contracts Header Attributes History , implementation_dba_data: OKS.OKS_K_HEADERS_BH ,
-
Table: OKS_K_HEADERS_BH
12.2.2
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_K_HEADERS_BH, object_name:OKS_K_HEADERS_BH, status:VALID, product: OKS - Service Contracts , description: Service Contracts Header Attributes History , implementation_dba_data: OKS.OKS_K_HEADERS_BH ,
-
Table: OKS_BILLING_HIST_INT_ALL
12.1.1
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_BILLING_HIST_INT_ALL, object_name:OKS_BILLING_HIST_INT_ALL, status:VALID, product: OKS - Service Contracts , description: This Interface table is used to import Billing History Information for the Contract lines and covered level lines. , implementation_dba_data: OKS.OKS_BILLING_HIST_INT_ALL ,
-
Table: OKS_BILLING_HIST_INT_ALL
12.2.2
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_BILLING_HIST_INT_ALL, object_name:OKS_BILLING_HIST_INT_ALL, status:VALID, product: OKS - Service Contracts , description: This Interface table is used to import Billing History Information for the Contract lines and covered level lines. , implementation_dba_data: OKS.OKS_BILLING_HIST_INT_ALL ,
-
Table: OKS_INTERACTION_HISTORY
12.1.1
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_INTERACTION_HISTORY, object_name:OKS_INTERACTION_HISTORY, status:VALID, product: OKS - Service Contracts , description: Interaction history table for auto renewal. , implementation_dba_data: OKS.OKS_INTERACTION_HISTORY ,
-
Table: OKS_INTERACTION_HISTORY
12.2.2
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_INTERACTION_HISTORY, object_name:OKS_INTERACTION_HISTORY, status:VALID, product: OKS - Service Contracts , description: Interaction history table for auto renewal. , implementation_dba_data: OKS.OKS_INTERACTION_HISTORY ,
-
Concurrent Program: OKS_MIGCC_HDRH
12.1.1
execution_filename: OKS_CCMIGRATE_PVT.MIGRATE_CC_HDRH , product: OKS - Service Contracts , user_name: OKS_MIGCC_HDRH , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: OKS_MIGCC_LINEH
12.1.1
execution_filename: OKS_CCMIGRATE_PVT.MIGRATE_CC_LINEH , product: OKS - Service Contracts , user_name: OKS_MIGCC_LINEH , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: OKS_MIGCC_HDRH
12.2.2
execution_filename: OKS_CCMIGRATE_PVT.MIGRATE_CC_HDRH , product: OKS - Service Contracts , user_name: OKS_MIGCC_HDRH , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: OKS_MIGCC_LINEH
12.2.2
execution_filename: OKS_CCMIGRATE_PVT.MIGRATE_CC_LINEH , product: OKS - Service Contracts , user_name: OKS_MIGCC_LINEH , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: OKS_UPDCC_LINEH
12.2.2
execution_filename: OKS_CCMIGRATE_PVT.UPDATE_CC_LINEH , product: OKS - Service Contracts , user_name: OKSUPDCC_LINEH_SUBREQ , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: OKS_UPDCC_LINEH
12.1.1
execution_filename: OKS_CCMIGRATE_PVT.UPDATE_CC_LINEH , product: OKS - Service Contracts , user_name: OKSUPDCC_LINEH_SUBREQ , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
View: OKS_RESOURCES_HV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_RESOURCES_HV, object_name:OKS_RESOURCES_HV, status:VALID, product: OKS - Service Contracts , description: History View for Coverage Resources , implementation_dba_data: APPS.OKS_RESOURCES_HV ,
-
View: OKS_RESOURCES_HV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_RESOURCES_HV, object_name:OKS_RESOURCES_HV, status:VALID, product: OKS - Service Contracts , description: History View for Coverage Resources , implementation_dba_data: APPS.OKS_RESOURCES_HV ,
-
View: OKS_BILLING_HIST_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_BILLING_HIST_LINES_V, object_name:OKS_BILLING_HIST_LINES_V, status:VALID, product: OKS - Service Contracts , description: View for Service Contracts Billing History Lines , implementation_dba_data: APPS.OKS_BILLING_HIST_LINES_V ,
-
View: OKS_BILLING_HIST_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_BILLING_HIST_LINES_V, object_name:OKS_BILLING_HIST_LINES_V, status:VALID, product: OKS - Service Contracts , description: View for Service Contracts Billing History Lines , implementation_dba_data: APPS.OKS_BILLING_HIST_LINES_V ,
-
View: OKS_BUS_PROCESSES_HV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_BUS_PROCESSES_HV, object_name:OKS_BUS_PROCESSES_HV, status:VALID, product: OKS - Service Contracts , description: History View for Coverage Business Process , implementation_dba_data: APPS.OKS_BUS_PROCESSES_HV ,
-
View: OKS_COVERAGES_HV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_COVERAGES_HV, object_name:OKS_COVERAGES_HV, status:VALID, product: OKS - Service Contracts , description: History View for Coverage , implementation_dba_data: APPS.OKS_COVERAGES_HV ,
-
View: OKS_BUS_PROCESSES_HV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_BUS_PROCESSES_HV, object_name:OKS_BUS_PROCESSES_HV, status:VALID, product: OKS - Service Contracts , description: History View for Coverage Business Process , implementation_dba_data: APPS.OKS_BUS_PROCESSES_HV ,
-
View: OKS_COVERAGES_HV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_COVERAGES_HV, object_name:OKS_COVERAGES_HV, status:VALID, product: OKS - Service Contracts , description: History View for Coverage , implementation_dba_data: APPS.OKS_COVERAGES_HV ,
-
View: OKS_REACTION_TIMES_HV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_REACTION_TIMES_HV, object_name:OKS_REACTION_TIMES_HV, status:VALID, product: OKS - Service Contracts , description: History View for Coverage Reaction Times , implementation_dba_data: APPS.OKS_REACTION_TIMES_HV ,
-
View: OKS_REACTION_TIMES_HV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_REACTION_TIMES_HV, object_name:OKS_REACTION_TIMES_HV, status:VALID, product: OKS - Service Contracts , description: History View for Coverage Reaction Times , implementation_dba_data: APPS.OKS_REACTION_TIMES_HV ,