Search Results ahl_unit_thresholds




Overview

The CS_COUNTERS table is a foundational data object within the Oracle E-Business Suite Service (CS) module, specifically for versions 12.1.1 and 12.2.2. It serves as the central repository for defining and storing both counter templates and counter instances. In the context of service management, counters are critical for tracking measurable usage or performance metrics of serviceable items, such as equipment hours, mileage, or production cycles. This table enables the configuration of counter hierarchies, derivation rules, and estimation methods, forming the backbone for proactive maintenance, warranty management, and service contract fulfillment based on actual item usage.

Key Information Stored

The table's structure is defined by its primary and foreign keys, which reveal its core data relationships. The primary identifier is COUNTER_ID. The COUNTER_GROUP_ID column links a counter to its logical grouping within the CS_COUNTER_GROUPS table. The NAME column stores the unique identifier for a counter within its group. A critical functional column is USAGE_ITEM_ID, which ties the counter to a specific inventory item, establishing what is being measured. The table also manages counter derivation and templating through columns like SOURCE_COUNTER_ID, DERIVE_COUNTER_ID, CREATED_FROM_COUNTER_TMPL_ID, and DERIVE_PROPERTY_ID, allowing for complex counter relationships and inheritance. The ESTIMATION_ID links to the CS_CTR_ESTIMATION_METHODS table, defining how counter values can be projected when direct readings are unavailable.

Common Use Cases and Queries

Primary use cases revolve around service lifecycle management. Technicians and planners use counter data to determine when maintenance is due, to validate warranty coverage based on usage thresholds, and to bill for services tied to measured consumption. Common reporting and integration queries include fetching all counters for a specific item or group, and tracing counter derivation chains. Sample SQL patterns include:

  • Fetching active counter instances for a serviceable item: SELECT * FROM CS_COUNTERS WHERE USAGE_ITEM_ID = <item_id> AND SYSDATE BETWEEN START_DATE_ACTIVE AND NVL(END_DATE_ACTIVE, SYSDATE);
  • Identifying the template source for a counter instance: SELECT c1.name AS instance_name, c2.name AS template_name FROM CS_COUNTERS c1 LEFT JOIN CS_COUNTERS c2 ON c1.CREATED_FROM_COUNTER_TMPL_ID = c2.COUNTER_ID WHERE c1.COUNTER_ID = <instance_id>;

Related Objects

The extensive foreign key relationships highlight CS_COUNTERS as a hub table. It has a recursive relationship with itself for templating and derivation. Key dependent tables include CS_COUNTER_VALUES (where actual reading data is stored), CS_COUNTER_PROPERTIES (for additional counter attributes), and CS_COUNTER_DER_FILTERS (for derivation logic). Its integration with the Complex Maintenance, Repair, and Overhaul (CMRO) module, part of the Advanced Service offerings, is evidenced by foreign keys from AHL_MR_INTERVALS, AHL_UNIT_EFFECTIVITIES_B, and AHL_UNIT_THRESHOLDS, linking counters to maintenance schedules and unit configurations.