Search Results cs_counter_values
Overview
The CS_COUNTER_VALUES table is a core data object within the Oracle E-Business Suite (EBS) Service (CS) module, specifically designed for asset and service contract management. It serves as the central repository for storing historical meter or counter readings associated with serviceable items. This table is fundamental to the Counter and Metering functionality, enabling the tracking of usage-based service events, preventive maintenance scheduling, and billing for consumption. By maintaining a chronological record of readings, it provides the audit trail necessary for analyzing usage patterns, validating warranty coverage, and triggering service activities based on predefined thresholds.
Key Information Stored
The table's primary purpose is to record discrete instances of counter readings. While the specific column list is not fully detailed in the provided metadata, the documented primary and foreign keys reveal its critical structure. Each record is uniquely identified by the COUNTER_VALUE_ID (primary key). The COUNTER_ID column is a foreign key linking the reading to a specific counter definition in the CS_COUNTERS table. The SEQ_NO, combined with COUNTER_ID, forms a unique key (CS_COUNTER_VALUES_UK), ensuring the sequence of readings for a counter is maintained. The COUNTER_GRP_LOG_ID links the reading to a specific reading transaction log entry in CS_COUNTER_GRP_LOG, which is used when readings are uploaded or processed as a batch. A typical record would also store the actual reading value, the date and time of the reading, and potentially the source of the reading entry.
Common Use Cases and Queries
The primary use case is reporting and analysis of asset usage over time. Service managers run queries to determine usage rates, identify assets approaching maintenance intervals, or verify contract compliance. A common SQL pattern retrieves the reading history for a specific asset's counter, often joining to CS_COUNTERS and asset tables. For example:
- Usage Trend Analysis:
SELECT reading_date, reading_value FROM cs_counter_values WHERE counter_id = :counter_id ORDER BY seq_no; - Latest Reading for Service Check:
SELECT MAX(seq_no), reading_value FROM cs_counter_values WHERE counter_id = :counter_id GROUP BY counter_id; - Transaction Audit: Queries joining
CS_COUNTER_VALUEStoCS_COUNTER_GRP_LOGto audit all readings entered in a specific batch upload.
These queries support critical business processes like generating meter-based invoices, scheduling preventive maintenance, and analyzing equipment utilization.
Related Objects
The CS_COUNTER_VALUES table is a central node in the counter data model, with defined relationships to several key Service tables, as per the provided foreign key metadata.
- CS_COUNTERS: The parent table.
CS_COUNTER_VALUES.COUNTER_IDreferencesCS_COUNTERS. This join retrieves the counter's name, unit of measure, and the asset it is associated with. - CS_COUNTER_GRP_LOG: Provides transaction context.
CS_COUNTER_VALUES.COUNTER_GRP_LOG_IDreferences this log table, linking individual readings to a batch entry session. - CS_COUNTER_PROP_VALUES: A child table.
CS_COUNTER_PROP_VALUES.COUNTER_VALUE_IDreferencesCS_COUNTER_VALUES.COUNTER_VALUE_ID. This table stores additional user-defined properties or attributes specific to each counter reading instance.
These relationships are essential for constructing complete reports that combine counter definitions, historical values, transactional metadata, and extended attributes.
-
Table: CS_COUNTER_VALUES
12.2.2
product: CS - Service , description: Historical readings of the counter. , implementation_dba_data: Not implemented in this database ,
-
Table: CS_COUNTER_VALUES
12.1.1
product: CS - Service , description: Historical readings of the counter. , implementation_dba_data: Not implemented in this database ,
-
APPS.CSL_CS_COUNTER_VALS_ACC_PKG dependencies on CS_COUNTER_VALUES
12.1.1
-
APPS.CSL_COUNTER_PROP_VALUES_PKG dependencies on CS_COUNTER_VALUES
12.1.1
-
APPS.CSL_CS_COUNTER_VALS_ACC_PKG dependencies on CS_COUNTER_VALUES
12.2.2
-
APPS.CSM_COUNTER_VALUES_PKG dependencies on CS_COUNTER_VALUES
12.1.1
-
APPS.CSF_DEBRIEF_PVT dependencies on CS_COUNTER_VALUES
12.2.2
-
APPS.OKS_USAGE_SETTLE_PUB dependencies on CS_COUNTER_VALUES
12.2.2
-
APPS.CSM_COUNTER_VALUES_PKG dependencies on CS_COUNTER_VALUES
12.2.2
-
APPS.OKS_BILLING_PUB dependencies on CS_COUNTER_VALUES
12.2.2
-
APPS.CSF_DEBRIEF_PVT dependencies on CS_COUNTER_VALUES
12.1.1
-
APPS.OKS_BILLING_PUB dependencies on CS_COUNTER_VALUES
12.1.1
-
APPS.OKS_USAGE_SETTLE_PUB dependencies on CS_COUNTER_VALUES
12.1.1
-
APPS.CSL_COUNTER_PROP_VALUES_PKG dependencies on CS_COUNTER_VALUES
12.2.2
-
VIEW: APPS.OKL_CS_ASSET_COUNTERS_UV
12.1.1
-
VIEW: APPS.OKL_CS_ASSET_COUNTERS_UV
12.2.2
-
VIEW: APPS.CS_COUNTER_VALUES_DFV
12.2.2
-
VIEW: APPS.CS_COUNTER_VALUES_DFV
12.1.1
-
APPS.CSL_CS_COUNTER_VALS_ACC_PKG dependencies on JTM_HOOK_UTIL_PKG
12.2.2
-
APPS.CSF_DEBRIEF_PVT dependencies on CS_COUNTERS
12.1.1
-
View: OKL_CS_ASSET_COUNTERS_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_CS_ASSET_COUNTERS_UV, object_name:OKL_CS_ASSET_COUNTERS_UV, status:VALID, product: OKL - Leasing and Finance Management , implementation_dba_data: APPS.OKL_CS_ASSET_COUNTERS_UV ,
-
View: OKL_CS_ASSET_COUNTERS_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_CS_ASSET_COUNTERS_UV, object_name:OKL_CS_ASSET_COUNTERS_UV, status:VALID, product: OKL - Lease and Finance Management , implementation_dba_data: APPS.OKL_CS_ASSET_COUNTERS_UV ,
-
VIEW: APPS.JTM_CS_COUNTER_VALUES_V
12.2.2
-
VIEW: APPS.JTM_CS_COUNTER_VALUES_V
12.1.1
-
APPS.CSL_CS_COUNTER_VALS_ACC_PKG SQL Statements
12.2.2
-
VIEW: APPS.OKX_COUNTER_VALUES_V
12.1.1
-
VIEW: APPS.OKX_COUNTER_VALUES_V
12.2.2
-
APPS.CSF_DEBRIEF_PVT dependencies on CS_COUNTER_GROUPS
12.1.1
-
APPS.CSF_DEBRIEF_PVT dependencies on CS_INCIDENTS_ALL_B
12.1.1
-
APPS.CSL_CS_COUNTER_VALS_ACC_PKG dependencies on JTM_HOOK_UTIL_PKG
12.1.1
-
APPS.CSL_CS_COUNTER_VALS_ACC_PKG SQL Statements
12.1.1
-
APPS.CSM_COUNTER_EVENT_PKG dependencies on CSM_ACC_PKG
12.1.1
-
APPS.CSF_DEBRIEF_PVT dependencies on CS_INCIDENTS_ALL
12.1.1
-
APPS.CSM_COUNTER_EVENT_PKG dependencies on CSM_ACC_PKG
12.2.2
-
APPS.CSL_CS_COUNTER_VALS_ACC_PKG dependencies on FND_API
12.1.1
-
APPS.OKS_BILLING_PUB dependencies on OKC_K_ITEMS
12.2.2
-
TABLE: CS.CS_CTR_AUDIT_LINES
12.2.2
owner:CS, object_type:TABLE, fnd_design_data:CS.CS_CTR_AUDIT_LINES, object_name:CS_CTR_AUDIT_LINES, status:VALID,
-
Table: CS_COUNTER_GRP_LOG
12.1.1
owner:CS, object_type:TABLE, fnd_design_data:CS.CS_COUNTER_GRP_LOG, object_name:CS_COUNTER_GRP_LOG, status:VALID, product: CS - Service , description: Counter group log of counter updates within a group , implementation_dba_data: CS.CS_COUNTER_GRP_LOG ,
-
TABLE: CS.CS_CTR_AUDIT_LINES
12.1.1
owner:CS, object_type:TABLE, fnd_design_data:CS.CS_CTR_AUDIT_LINES, object_name:CS_CTR_AUDIT_LINES, status:VALID,
-
View: CS_CTR_COUNTER_READINGS_V
12.2.2
product: CS - Service , description: Counter reading view , implementation_dba_data: Not implemented in this database ,
-
APPS.CSL_SERVICEL_WRAPPER_PKG dependencies on CSL_COUNTER_VALUES_PKG
12.2.2
-
APPS.CSL_SERVICEL_WRAPPER_PKG dependencies on CSL_COUNTER_VALUES_PKG
12.1.1
-
Table: CS_COUNTER_PROP_VALUES
12.2.2
product: CS - Service , description: Historical values of the counter properties. , implementation_dba_data: Not implemented in this database ,
-
APPS.CSL_CS_COUNTER_VALS_ACC_PKG dependencies on FND_API
12.2.2
-
PACKAGE BODY: APPS.CSL_CS_COUNTER_VALS_ACC_PKG
12.2.2
-
View: CS_CTR_COUNTER_VALUES_V
12.1.1
product: CS - Service , description: Counter values view , implementation_dba_data: Not implemented in this database ,
-
APPS.CSL_CS_COUNTER_VALS_ACC_PKG dependencies on CS_COUNTER_PROP_VALUES
12.1.1
-
APPS.CSF_DEBRIEF_PVT dependencies on CSI_COUNTER_ASSOCIATIONS
12.2.2
-
PACKAGE BODY: APPS.CSL_CS_COUNTER_VALS_ACC_PKG
12.1.1
-
APPS.CSM_COUNTER_EVENT_PKG dependencies on CSM_COUNTER_VALUES_ACC
12.1.1