Search Results customer_view




Overview

CS_COUNTERS_V is a Service (CS) module reporting view that presents service counter definitions in a fully joined, denormalized form. Counters in Oracle EBS Service represent metered readings taken against customer products, service contracts, and installed base instances — for example meter readings on copiers, run-hours on machinery, or cycle counts on leased equipment. The base configuration is stored in CS_COUNTERS, but a counter record alone is of limited interpretive value: its unit of measure, counter group, derived values, source counter, usage item, and estimation method all reside in separate tables. CS_COUNTERS_V resolves those dependencies in a single query, exposing both the raw attributes and the descriptive names of the related entities.

The view is defined with outer joins to most of its lookup tables, meaning a counter row is returned even when the optional relationships are not populated. This makes it suitable for reporting over partially configured counters, particularly during implementation or data cleanup exercises. Note that in the reference ETRM environment, the view is documented as not implemented in the database; the definition below reflects the shipped Oracle EBS 12.1.1 / 12.2.2 form of the view.

Underlying Base Objects

The view is defined over eight objects:

Key Columns

Common Use Cases and Queries

Typical scenarios include auditing counter configuration ahead of a rollout, validating that tolerances and units are populated correctly, listing derived counters and their formulas, and joining counter metadata to actual readings for usage-based billing or contract entitlement reporting. Because counters are frequently referenced from contract and installed base reporting, the view is a convenient single-source lookup for counter name and group.

List active counters with their group and unit of measure:

  • SELECT counter_id, name, counter_group_name, unit_of_measure, type FROM cs_counters_v WHERE valid_flag = 'Y' ORDER BY counter_group_name, name;

Identify derived counters and their sources:

  • SELECT counter_id, name, type, derive_counter_id, derive_function, formula_text FROM cs_counters_v WHERE derive_counter_id IS NOT NULL;

Join counters to items for metered-asset reporting:

  • SELECT c.counter_id, c.name, c.usage_item_name, c.unit_of_measure FROM cs_counters_v c WHERE c.usage_item_id IS NOT NULL ORDER BY c.usage_item_name;

Report customer-facing and estimated counters:

  • SELECT counter_id, name, customer_view, duration, duration_uom_name, direction, estimation_name FROM cs_counters_v WHERE customer_view = 'Y';