Search Results value_timestamp
Overview
APPS.CSI_COUNTER_READINGS_BC_V is a Business Component (BC) view within the Oracle E-Business Suite Customer Intelligence / Installed Base (CSI) module. It presents counter reading data captured against tracked instances and counters, exposing a flattened, business-friendly projection of the CSI_COUNTER_READINGS table. The view is intended for use by servicing, telemetry, and meter-management screens and by integration layer components that need to surface counter values without directly accessing the base entity table.
In EBS 12.1.1 and 12.2.2 the view is defined for APPS and is commonly consumed through the Oracle Application Framework (OAF) or through PL/SQL APIs that reference the CSI_COUNTER_READINGS_PVT package. Its naming convention (_BC_V) identifies it as a Business Component view, meaning it is designed to support entity object queries and validation logic rather than ad-hoc operational reporting, though it is frequently used for both.
Underlying Base Objects
The view is defined directly over the synonym CSI_COUNTER_READINGS, which resolves to the physical counter readings table. It additionally references the package CSI_COUNTER_READINGS_PVT, whose functions are invoked inside the SELECT list to derive calculated columns.
- CSI_COUNTER_READINGS — the primary source of counter value rows, including the reading, timestamp, adjustment and reset metadata, and descriptive flexfield attributes.
- CSI_COUNTER_READINGS_PVT — supplies GET_READING_BEFORE_RESET, which returns the last reading prior to a reset, and GET_PREVIOUS_NET_READING, which returns the prior net reading for the same counter. Both are resolved per COUNTER_ID and VALUE_TIMESTAMP.
Because two function calls execute for every row returned, the view is not a simple projection and can be costly against counters with large reading histories.
Key Columns
- COUNTER_VALUE_ID — primary key of the counter reading record.
- COUNTER_ID — foreign key to the counter definition; the anchor for prior-reading calculations.
- VALUE_TIMESTAMP — the effective date and time of the reading; the ordering key used by both package functions to locate prior readings.
- COUNTER_READING — the reading value captured; surfaced as POST_RESET_FIRST_RDG when a reset is present.
- RESET_FLAG — derived via DECODE(RESET_MODE, NULL, 'N', 'Y'); indicates whether the counter was reset at this reading.
- PRE_RESET_LAST_RDG / POST_RESET_FIRST_RDG — the reading before and after a reset, computed only when RESET_MODE is not null.
- PREV_NET_READING / NET_READING — prior and current net usage, supporting consumption calculations.
- COUNTER_GRP_LOG_ID — sourced from TRANSACTION_ID, linking the reading to a counter group log transaction.
- MISC_READING_TYPE / MISC_READING — adjustment type and value from ADJUSTMENT_TYPE and ADJUSTMENT_READING.
- VALID_FLAG / OVERRIDE_VALID_FLAG — both mapped from DISABLED_FLAG.
- CONTEXT — the descriptive flexfield context, with ATTRIBUTE1 through ATTRIBUTE15.
- Standard WHO columns (CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN) and OBJECT_VERSION_NUMBER support auditing and optimistic locking.
Common Use Cases and Queries
The view is used to reconstruct meter and counter consumption, particularly where resets or adjustments must be accounted for. A typical query lists ordered readings for a counter:
SELECT counter_id, value_timestamp, counter_reading,
net_reading, prev_net_reading, reset_flag
FROM apps.csi_counter_readings_bc_v
WHERE counter_id = :p_counter_id
ORDER BY value_timestamp;
Integration components query the view to publish latest readings to external telemetry systems, filtering on VALUE_TIMESTAMP to return only recent values. Analysts use PRE_RESET_LAST_RDG and POST_RESET_FIRST_RDG to explain discontinuities in consumption reports, and NET_READING minus PREV_NET_READING to compute incremental usage. Because the derived columns depend on package function calls, restricting by COUNTER_ID and a bounded VALUE_TIMESTAMP range materially improves performance.
-
VIEW: APPS.CSI_COUNTER_READINGS_BC_V
12.2.2
-
VIEW: APPS.CSI_COUNTER_READINGS_BC_V
12.1.1
-
VIEW: CSM.CSM_COUNTER_PROP_VALUES_INQ#
12.2.2
-
VIEW: CSL.CSL_CS_COUNTER_VALUES_INQ#
12.2.2
-
VIEW: CSL.CSL_CS_COUNTER_PROP_VALS_INQ#
12.2.2
-
APPS.EAM_METERS_UTIL SQL Statements
12.2.2
-
VIEW: APPS.CSI_CTR_PROP_READINGS_BC_V
12.2.2
-
VIEW: CS.CS_COUNTER_GRP_LOG#
12.2.2
-
VIEW: APPS.CSI_CTR_ESTIMATED_READINGS_V
12.2.2
-
VIEW: CSI.CSI_CTR_READ_PROP_INTERFACE#
12.2.2
-
APPS.EAM_METERS_UTIL SQL Statements
12.1.1
-
View: CSI_COUNTER_READINGS_BC_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CSI.CSI_COUNTER_READINGS_BC_V, object_name:CSI_COUNTER_READINGS_BC_V, status:VALID, product: CSI - Install Base , description: Backward compatible view for CS_COUNTER_VALUES , implementation_dba_data: APPS.CSI_COUNTER_READINGS_BC_V ,
-
VIEW: APPS.CSI_CTR_PROP_READINGS_BC_V
12.1.1
-
VIEW: APPS.CSI_CTR_ESTIMATED_READINGS_V
12.1.1
-
VIEW: CSI.CSI_CTR_ESTIMATED_READINGS#
12.2.2
-
APPS.CSI_CTR_INTERFACE_PUB SQL Statements
12.2.2
-
VIEW: CS.CS_COUNTER_PROP_VALUES_OLD#
12.2.2
-
View: CSI_COUNTER_READINGS_BC_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CSI.CSI_COUNTER_READINGS_BC_V, object_name:CSI_COUNTER_READINGS_BC_V, status:VALID, product: CSI - Install Base , description: Backward compatible view for CS_COUNTER_VALUES , implementation_dba_data: APPS.CSI_COUNTER_READINGS_BC_V ,
-
VIEW: CS.CS_CTR_ESTIMATED_READINGS#
12.2.2
-
VIEW: CSI.CSI_CTR_PROPERTY_READINGS#
12.2.2
-
VIEW: CS.CS_COUNTER_VALUES_OLD#
12.2.2
-
View: CSI_CTR_PROP_READINGS_BC_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CSI.CSI_CTR_PROP_READINGS_BC_V, object_name:CSI_CTR_PROP_READINGS_BC_V, status:VALID, product: CSI - Install Base , description: Backward compatible view for CS_COUNTER_PROP_VALUES , implementation_dba_data: APPS.CSI_CTR_PROP_READINGS_BC_V ,
-
View: CSI_CTR_ESTIMATED_READINGS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CSI.CSI_CTR_ESTIMATED_READINGS_V, object_name:CSI_CTR_ESTIMATED_READINGS_V, status:VALID, product: CSI - Install Base , description: Counter estimated readings view , implementation_dba_data: APPS.CSI_CTR_ESTIMATED_READINGS_V ,
-
VIEW: APPS.OKX_COUNTER_GRP_LOG_V
12.1.1
-
APPS.CSI_COUNTER_READINGS_PVT SQL Statements
12.2.2
-
APPS.CSI_CTR_INTERFACE_PUB SQL Statements
12.1.1
-
View: CSI_CTR_ESTIMATED_READINGS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CSI.CSI_CTR_ESTIMATED_READINGS_V, object_name:CSI_CTR_ESTIMATED_READINGS_V, status:VALID, product: CSI - Install Base , description: Counter estimated readings view , implementation_dba_data: APPS.CSI_CTR_ESTIMATED_READINGS_V ,
-
View: CSI_CTR_PROP_READINGS_BC_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CSI.CSI_CTR_PROP_READINGS_BC_V, object_name:CSI_CTR_PROP_READINGS_BC_V, status:VALID, product: CSI - Install Base , description: Backward compatible view for CS_COUNTER_PROP_VALUES , implementation_dba_data: APPS.CSI_CTR_PROP_READINGS_BC_V ,
-
VIEW: CSM.CSF_M_COUNTER_VALUES_INQ#
12.2.2
-
View: OKS_USAGE_COUNTERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_USAGE_COUNTERS_V, object_name:OKS_USAGE_COUNTERS_V, status:VALID, product: OKS - Service Contracts , description: View for Usage Counters for Service Contracts , implementation_dba_data: APPS.OKS_USAGE_COUNTERS_V ,
-
VIEW: APPS.OKS_USAGE_COUNTERS_V
12.1.1
-
VIEW: CSI.CSI_COUNTER_READINGS#
12.2.2
-
View: OKS_USAGE_COUNTERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_USAGE_COUNTERS_V, object_name:OKS_USAGE_COUNTERS_V, status:VALID, product: OKS - Service Contracts , description: View for Usage Counters for Service Contracts , implementation_dba_data: APPS.OKS_USAGE_COUNTERS_V ,
-
View: OKS_COUNTERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_COUNTERS_V, object_name:OKS_COUNTERS_V, status:VALID, product: OKS - Service Contracts , description: Counters View for Service Contracts , implementation_dba_data: APPS.OKS_COUNTERS_V ,
-
VIEW: APPS.OKX_COUNTER_GRP_LOG_V
12.2.2
-
View: OKS_TEMPLATE_COUNTERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_TEMPLATE_COUNTERS_V, object_name:OKS_TEMPLATE_COUNTERS_V, status:VALID, product: OKS - Service Contracts , description: View for Service Contracts Counter Templates , implementation_dba_data: APPS.OKS_TEMPLATE_COUNTERS_V ,
-
APPS.CSI_COUNTER_READINGS_PVT SQL Statements
12.1.1
-
View: OKX_COUNTER_GRP_LOG_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_COUNTER_GRP_LOG_V, object_name:OKX_COUNTER_GRP_LOG_V, status:VALID, product: OKX - Contracts Integration , description: Counter group log of counter updates within a group , implementation_dba_data: APPS.OKX_COUNTER_GRP_LOG_V ,
-
View: OKX_COUNTER_GRP_LOG_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_COUNTER_GRP_LOG_V, object_name:OKX_COUNTER_GRP_LOG_V, status:VALID, product: OKX - Contracts Integration , description: Counter group log of counter updates within a group , implementation_dba_data: APPS.OKX_COUNTER_GRP_LOG_V ,
-
VIEW: APPS.OKS_COUNTERS_V
12.2.2
-
View: OKS_TEMPLATE_COUNTERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_TEMPLATE_COUNTERS_V, object_name:OKS_TEMPLATE_COUNTERS_V, status:VALID, product: OKS - Service Contracts , description: View for Service Contracts Counter Templates , implementation_dba_data: APPS.OKS_TEMPLATE_COUNTERS_V ,
-
VIEW: APPS.OKS_TEMPLATE_COUNTERS_V
12.1.1
-
View: OKX_COUNTER_VALUES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_COUNTER_VALUES_V, object_name:OKX_COUNTER_VALUES_V, status:VALID, product: OKX - Contracts Integration , description: Historical readings of counters , implementation_dba_data: APPS.OKX_COUNTER_VALUES_V ,
-
VIEW: APPS.OKS_TEMPLATE_COUNTERS_V
12.2.2
-
VIEW: APPS.OKS_COUNTERS_V
12.1.1
-
VIEW: CSI.CSI_CTR_READINGS_INTERFACE#
12.2.2
-
View: OKS_COUNTERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_COUNTERS_V, object_name:OKS_COUNTERS_V, status:VALID, product: OKS - Service Contracts , description: Counters View for Service Contracts , implementation_dba_data: APPS.OKS_COUNTERS_V ,
-
VIEW: APPS.OKS_USAGE_COUNTERS_V
12.2.2
-
VIEW: APPS.CSI_COUNTER_VALUES_V
12.1.1
-
View: OKX_COUNTER_VALUES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_COUNTER_VALUES_V, object_name:OKX_COUNTER_VALUES_V, status:VALID, product: OKX - Contracts Integration , description: Historical readings of counters , implementation_dba_data: APPS.OKX_COUNTER_VALUES_V ,