My Oracle Support Banner

Usage Transactions Stuck In Calc Deferred Status (Doc ID 2612190.1)

Last updated on NOVEMBER 21, 2019

Applies to:

Oracle Utilities Meter Data Management - Version 2.1.0.3 and later
Information in this document applies to any platform.

Symptoms

On : 2.1.0.3 version, Usage

ACTUAL BEHAVIOR
---------------
Usage Transactions Stuck in Calc Deferred Status

Usage Transaction are stuck in Calc Deferred status.
They created bill segments in Awaiting Bill Determinant status but they didn't error out when the billing window closed

Following are the issue description and date setup steps
1 Create V structure entities at CC&B and Sync to MDM.
2. SA Type has minimum days for Billing is 7
3 CCB account has Bill Cycle 14 having
Window Start Date 08-20-2019
Window End Date 08-26-2019
Estimate Date 08-23-2019
4 Service Point at MDM has Measurement Cycle 14 and has following measurement Cycle schedules with
  Expected Work date as 07-19-2019,08-19-2019,09-19-2019 and so on
5. Create Usage group having GetScalar Usage Rule.
6. Attach usage created above to the usage subscription.
7. Add Start Read of 0 for 08-19-2019
5 CCB Usage Request gets created on 08-26-2019 with Use Schedule Option
6 MDM UT get stuck into Cal-Defer mode

Expected Result - UT should get discarded with skip reason so that CCB usage gets cancelled and C1-NSRD characteristic should gets populate on SA char.

Actual Result - UT get stuck and log shows the following error
Input request field Start Date/Time has an invalid value. Invalid DateTime value null, expected in format YYYY-MM-DD-HH.MM.SS.

On diffing the log further,it has been observed that GetScalar has correctly populated UT with skipDetials but the after applying the usage rule, during updation of UT, and gets populated as null through base script 'D2-CalcUsg' and throws the above error.

The null values gets populated through following script code in D2-CalcUsg after applying usage rule.
  move "$tmpStartDateTime" to "bo_schema/startDateTime";
  move "$tmpEndDateTime" to "bo_schema/endDateTime";


Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.