nms_schema_customer_sum_view.sql Fails If Values In the CU_SERVICE_LOCATIONS.SERV_REVENUE_CLASS Column are Not Null
(Doc ID 2870724.1)
Last updated on MAY 19, 2022
Oracle Utilities Network Management System - Version 22.214.171.124.0 to 126.96.36.199.0 [Release 2.5] Oracle Network Management for Utilities - DMS - Version 188.8.131.52.0 to 184.108.40.206.0 [Release 2.5] Information in this document applies to any platform.
On : 220.127.116.11.0 version, Installation
nms_schema_customer_sum_view.sql fails when cu_service_locations.serv_revenue_class is populated
The nms_schema_customer_sum_view.sql errors out when the cu_service_locations.serv_revenue_class is populated. This is because serv_revenue_class is defined as a VARCHAR2(30) and the SQL to build the customer_sum view tries to do an AVG on that value, which is not a number. I suspect this hasn't been caught because the OPAL customer population has serv_revenue_class as NULL.
ORA-01722: invalid number
The issue can be reproduced at will with the following steps: 1. Run "nms-setup -clean" on a system that has non-null values for cu_service_locations.serv_revenue_class 2. Observe the errors
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!