Search Results estimate_counter_reading
Overview
The APPS.CSI_CTR_EST_CTR_READING_GRP package body is a member of the Oracle E-Business Suite Enterprise Asset Management (EAM) and Enterprise Installation/Counter Management family, delivered under the CSI (Customer Intelligence/Install Base) schema prefix. Its documented business purpose is the estimation of counter and meter readings for an installed asset or counter when actual readings are missing or unavailable for a given period. Within Oracle EBS 12.1.1 and 12.2.2, this package supports service contract billing, preventive maintenance scheduling, and usage-based charge calculation by deriving statistically reasonable estimates of usage quantity and meter values between two dates based on historical readings.
The package is classified as a GRP (group) API and follows Oracle's standard PL/SQL API conventions, including the FND_API compatibility check, savepoint management, and message list handling. The source header indicates version control under csigectb.pls, reflecting an Oracle-published, supported code unit rather than a customization.
Key Procedures and Functions
- ESTIMATE_COUNTER_READING — The single documented procedure. It is used to estimate a counter reading for a specified counter over a defined estimation period. Based on the parameter names exposed in the source metadata, the procedure accepts an API version number, initialization and commit flags, a validation level, a counter identifier, estimation period start and end dates, an averaging calculation start date, and a number of readings to consider. It returns the estimated usage quantity, the estimated meter reading, the estimated period-start reading, the return status, message count, and message data. Internally it performs a standard savepoint, verifies that the installation is active via
CSI_CTR_GEN_UTILITY_PVT.CHECK_IB_ACTIVE, and validates API compatibility before performing the estimation logic. The calculation typically extrapolates from historical counter readings within the averaging window to project the reading at the estimation period boundaries.
Tables Accessed
The ETRM metadata for this object does not enumerate specific base tables accessed through APPS synonyms. Functionally, given its purpose, the package reads counter and meter reading history (such as the CSI counter reading and counter definition entities), installation parameters controlling whether the Install Base is active, and reference data needed to compute average daily usage. It does not appear to maintain persistent tables of its own; the estimated values are returned to the caller through OUT parameters rather than written back by this procedure. Any persistence of the estimate is the responsibility of the invoking program or API.
Usage Notes
This package is typically invoked programmatically rather than through a dedicated form or concurrent program. Callers include service contract and maintenance modules that need projected meter readings for billing or planning when actual readings are absent, as well as custom code that must replicate Oracle's estimation logic. The metadata notes that it is referenced by one other package, indicating it participates in a broader orchestration layer within the CSI counter reading group of APIs.
Because the procedure follows the standard Oracle API pattern, callers should pass FND_API.G_TRUE for message list initialization when they intend to inspect returned messages, and should set the commit flag appropriately for their transaction context. The documented API version (1.0) should be supplied in the version parameter to pass the compatibility check. Exceptions are raised through FND_API.G_EXC_UNEXPECTED_ERROR and should be handled by the caller to preserve the savepoint semantics. This package should be treated as a supported, upgrade-safe component of the EBS install base and counter management stack, and direct modification of its source is not advisable.
-
PACKAGE BODY: APPS.CSI_CTR_EST_CTR_READING_GRP
12.1.1
-
PACKAGE BODY: APPS.CSI_CTR_EST_CTR_READING_GRP
12.2.2
-
PACKAGE: APPS.CSI_CTR_EST_CTR_READING_GRP
12.2.2
-
PACKAGE: APPS.CSI_CTR_EST_CTR_READING_GRP
12.1.1
-
PACKAGE: APPS.CSI_COUNTER_READINGS_PVT
12.2.2
-
PACKAGE: APPS.CSI_COUNTER_READINGS_PVT
12.1.1
-
PACKAGE: APPS.CS_CTR_CAPTURE_READING_PUB
12.2.2
-
PACKAGE: APPS.CS_CTR_CAPTURE_READING_PUB
12.1.1
-
APPS.CSI_CTR_EST_CTR_READING_GRP dependencies on CSI_CTR_GEN_UTILITY_PVT
12.2.2
-
APPS.CSI_CTR_EST_CTR_READING_GRP dependencies on CSI_CTR_GEN_UTILITY_PVT
12.1.1
-
APPS.CSI_CTR_EST_CTR_READING_GRP dependencies on FND_API
12.1.1
-
APPS.CSI_CTR_EST_CTR_READING_GRP dependencies on FND_API
12.2.2
-
APPS.CSI_CTR_EST_CTR_READING_GRP dependencies on CSI_CTR_EST_CTR_READING_GRP
12.1.1
-
APPS.CSI_CTR_EST_CTR_READING_GRP dependencies on FND_MSG_PUB
12.1.1
-
APPS.CSI_CTR_EST_CTR_READING_GRP dependencies on FND_MSG_PUB
12.2.2
-
APPS.CSI_CTR_EST_CTR_READING_GRP dependencies on CSI_CTR_EST_CTR_READING_GRP
12.2.2
-
APPS.CSI_CTR_EST_CTR_READING_GRP dependencies on FND_API
12.1.1
-
APPS.CSI_CTR_EST_CTR_READING_GRP dependencies on FND_API
12.2.2
-
APPS.CSI_CTR_EST_CTR_READING_GRP dependencies on STANDARD
12.2.2
-
APPS.CSI_CTR_EST_CTR_READING_GRP dependencies on STANDARD
12.1.1
-
PACKAGE BODY: APPS.CSI_COUNTER_READINGS_PVT
12.1.1
-
PACKAGE BODY: APPS.CSI_COUNTER_READINGS_PVT
12.2.2
-
APPS.CSI_COUNTER_READINGS_PVT dependencies on FND_PROFILE
12.2.2
-
APPS.CSI_COUNTER_READINGS_PVT dependencies on FND_GLOBAL
12.2.2
-
APPS.CSI_COUNTER_READINGS_PVT dependencies on FND_MSG_PUB
12.1.1
-
APPS.CSI_COUNTER_READINGS_PVT dependencies on FND_MSG_PUB
12.2.2
-
APPS.CSI_COUNTER_READINGS_PVT dependencies on STANDARD
12.1.1
-
APPS.CSI_COUNTER_READINGS_PVT dependencies on STANDARD
12.2.2
-
APPS.CSI_COUNTER_READINGS_PVT dependencies on FND_API
12.1.1
-
APPS.CSI_COUNTER_READINGS_PVT dependencies on FND_API
12.2.2
-
APPS.CS_CTR_CAPTURE_READING_PUB dependencies on FND_API
12.1.1
-
APPS.CS_CTR_CAPTURE_READING_PUB dependencies on FND_API
12.2.2
-
APPS.CSI_COUNTER_READINGS_PVT dependencies on CSI_CTR_GEN_UTILITY_PVT
12.1.1
-
APPS.CSI_COUNTER_READINGS_PVT dependencies on CSI_CTR_GEN_UTILITY_PVT
12.2.2