Search Results reset_mode
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.1.1
-
VIEW: APPS.CSI_COUNTER_READINGS_BC_V
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: CSM.CSF_M_COUNTER_VALUES_INQ#
12.2.2
-
VIEW: CSI.CSI_CTR_READINGS_INTERFACE#
12.2.2
-
APPS.EAM_METERS_UTIL SQL Statements
12.1.1
-
VIEW: CSI.CSI_COUNTER_READINGS#
12.2.2
-
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 ,
-
APPS.EAM_METERS_UTIL SQL Statements
12.2.2
-
View: CSI_COUNTER_READINGS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CSI.CSI_COUNTER_READINGS_V, object_name:CSI_COUNTER_READINGS_V, status:VALID, product: CSI - Install Base , description: Counter readings view , implementation_dba_data: APPS.CSI_COUNTER_READINGS_V ,
-
VIEW: CSM.CSF_M_COUNTER_VALUES_INQ#
12.2.2
owner:CSM, object_type:VIEW, object_name:CSF_M_COUNTER_VALUES_INQ#, status:VALID,
-
VIEW: APPS.CSI_COUNTER_READINGS_V
12.2.2
-
VIEW: CSI.CSI_COUNTER_READINGS#
12.2.2
owner:CSI, object_type:VIEW, object_name:CSI_COUNTER_READINGS#, status:VALID,
-
VIEW: CSI.CSI_CTR_READINGS_INTERFACE#
12.2.2
owner:CSI, object_type:VIEW, object_name:CSI_CTR_READINGS_INTERFACE#, status:VALID,
-
VIEW: APPS.CSI_COUNTER_READINGS_V
12.1.1
-
View: CSI_COUNTER_READINGS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CSI.CSI_COUNTER_READINGS_V, object_name:CSI_COUNTER_READINGS_V, status:VALID, product: CSI - Install Base , description: Counter readings view , implementation_dba_data: APPS.CSI_COUNTER_READINGS_V ,
-
APPS.CSI_CTR_INTERFACE_PUB SQL Statements
12.1.1
-
VIEW: APPS.CSI_COUNTER_VALUES_V
12.2.2
-
APPS.CSI_CTR_INTERFACE_PUB SQL Statements
12.2.2
-
VIEW: APPS.CSF_M_COUNTER_VALUES_V
12.1.1
owner:APPS, object_type:VIEW, object_name:CSF_M_COUNTER_VALUES_V, status:VALID,
-
VIEW: APPS.CSF_M_COUNTER_VALUES_V
12.2.2
owner:APPS, object_type:VIEW, object_name:CSF_M_COUNTER_VALUES_V, status:VALID,
-
VIEW: APPS.CSI_COUNTER_VALUES_V
12.1.1
-
TABLE: CSM.CSF_M_COUNTER_VALUES_INQ
12.1.1
owner:CSM, object_type:TABLE, object_name:CSF_M_COUNTER_VALUES_INQ, status:VALID,
-
TABLE: CSM.CSF_M_COUNTER_VALUES_INQ
12.2.2
owner:CSM, object_type:TABLE, object_name:CSF_M_COUNTER_VALUES_INQ, status:VALID,
-
View: EAM_CFR_COUNTER_READINGS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:EAM.EAM_CFR_COUNTER_READINGS_V, object_name:EAM_CFR_COUNTER_READINGS_V, status:VALID, product: EAM - Enterprise Asset Management , description: Work Order Completion Counter readings , implementation_dba_data: APPS.EAM_CFR_COUNTER_READINGS_V ,
-
TABLE: CSI.CSI_COUNTER_READINGS
12.1.1
owner:CSI, object_type:TABLE, fnd_design_data:CSI.CSI_COUNTER_READINGS, object_name:CSI_COUNTER_READINGS, status:VALID,
-
PACKAGE BODY: APPS.EAM_METERS_UTIL
12.1.1
-
VIEW: APPS.CSI_COUNTER_READINGS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CSI.CSI_COUNTER_READINGS_V, object_name:CSI_COUNTER_READINGS_V, status:VALID,
-
VIEW: APPS.CSI_COUNTER_VALUES_V
12.2.2
owner:APPS, object_type:VIEW, object_name:CSI_COUNTER_VALUES_V, status:VALID,
-
VIEW: APPS.EAM_CFR_COUNTER_READINGS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:EAM.EAM_CFR_COUNTER_READINGS_V, object_name:EAM_CFR_COUNTER_READINGS_V, status:VALID,
-
TABLE: CSI.CSI_CTR_READINGS_INTERFACE
12.2.2
owner:CSI, object_type:TABLE, fnd_design_data:CSI.CSI_CTR_READINGS_INTERFACE, object_name:CSI_CTR_READINGS_INTERFACE, status:VALID,
-
VIEW: APPS.CSI_COUNTER_VALUES_V
12.1.1
owner:APPS, object_type:VIEW, object_name:CSI_COUNTER_VALUES_V, status:VALID,
-
VIEW: APPS.EAM_CFR_COUNTER_READINGS_V
12.1.1
owner:APPS, object_type:VIEW, object_name:EAM_CFR_COUNTER_READINGS_V, status:VALID,
-
TABLE: CSI.CSI_COUNTER_READINGS
12.2.2
owner:CSI, object_type:TABLE, fnd_design_data:CSI.CSI_COUNTER_READINGS, object_name:CSI_COUNTER_READINGS, status:VALID,
-
PACKAGE BODY: APPS.EAM_METERS_UTIL
12.2.2
-
TABLE: CSI.CSI_CTR_READINGS_INTERFACE
12.1.1
owner:CSI, object_type:TABLE, fnd_design_data:CSI.CSI_CTR_READINGS_INTERFACE, object_name:CSI_CTR_READINGS_INTERFACE, status:VALID,
-
VIEW: APPS.CSI_COUNTER_READINGS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CSI.CSI_COUNTER_READINGS_V, object_name:CSI_COUNTER_READINGS_V, status:VALID,
-
PACKAGE BODY: APPS.CS_CTR_CAPTURE_READING_PUB
12.1.1
-
PACKAGE BODY: APPS.CS_CTR_CAPTURE_READING_PUB
12.2.2
-
APPS.CSI_COUNTER_READINGS_PKG SQL Statements
12.1.1
-
APPS.CSI_COUNTER_READINGS_PKG SQL Statements
12.2.2
-
APPS.CSI_CTR_READING_INTERFACE_PKG SQL Statements
12.1.1
-
APPS.CSI_CTR_READING_INTERFACE_PKG SQL Statements
12.2.2
-
APPS.CSI_COUNTER_READINGS_PUB SQL Statements
12.1.1
-
APPS.CSI_COUNTER_READINGS_PUB SQL Statements
12.2.2
-
PACKAGE BODY: APPS.CSI_COUNTER_READINGS_PKG
12.1.1
-
PACKAGE BODY: APPS.CSI_CTR_READING_INTERFACE_PKG
12.1.1
-
PACKAGE BODY: APPS.CSI_COUNTER_READINGS_PKG
12.2.2
-
APPS.CSI_COUNTER_READINGS_PVT SQL Statements
12.1.1
-
PACKAGE BODY: APPS.CSI_CTR_READING_INTERFACE_PKG
12.2.2