Error On Rating Event With CUSTOM RUM Due To Daylight Saving Time (Doc ID 1471563.1)

Last updated on SEPTEMBER 26, 2016

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.4.0.0.0 to 7.4.0.0.0 [Release 7.4.0]
Oracle Solaris on SPARC (64-bit)

Symptoms

Error on rating event with CUSTOM RUM :

The problem is the wrong balance impact of a session event with a custom RUM. Normally the rating works fine but if the same session event has a particular start time the cost
computed by the rating engine is wrong. The problem is related to the fact that the event starts before the change of Daylight Saving Time (DST we are in Italy) and ends after the
change of the time. The test has been simulated from 25 March 2012 01:30 AM and 25 March 2012 02:30, the time change exactly on 25 March at 02:00 AM, the time goes ahead of
an hour.


Steps to re-produce :
1) Load pin_rum with command "load_pin_rum pin_rum" the pin_rum file containing a definition of a custom Rum
1.1) Stop and Start the services.
2) Due to the fact that the error is related to the Europe/Rome timezone change the following line of the pin.conf file:

- fm_rate rating_timezone Europe/Rome

3)Create your own Plan, Deal & Product with the Custom RUM
3.1) Stop and Start the services.
4) Set pin_virtual_time at 20 March 2012 time 18.00
5) Create a new customer with the Plan
6) Change the pin_virtual_time to 25 March 2012 time 22.00
7) Load the first event with opcode 161 (nap LOAD_SESSION_OK). Naturally you need to change the account and the service poid into the nap file. Rating happenes correctly, the RUM has to return 1 and the cost 0.14 * 1 (example)
8) Load the second event with opcode 161 (nap LOAD_SESSION), after you have changed the account and the service poid that you have read from your environment. In this case the rating engine computes a wrong amount. The correct value should be 3 and the total amount 0.14 * 3 (example). There is also a strange negative UNRATED_QUANTITY

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms