Business Service C1-DSQHHistoricSQ Report Error Either seasonal period or number of historical periods must be specified but not both (Doc ID 2123884.1)

Last updated on APRIL 08, 2016

Applies to:

Oracle Utilities Customer Care and Billing - Version 2.5.0.1.0 and later
Information in this document applies to any platform.

Symptoms

Description
===========
When using the business service C1-DSQHHistoricSQ (Derive SQ Helper - Historic SQ) with the season dates populated and the number of historical periods not populated, an error is encountered stating Either seasonal period or number of historical periods must be specified but not both.

Steps to Recreate
===========
Setup a rate schedule that references a Calculate Service Quantity (CSQ) calculation rule.
Ensure that this calculation rule references a CSQ calculation rule BO that has an Apply Calc Rule algorithm that invokes the business service C1-DSQHHistoricSQ (Derive SQ Helper - Historic SQ).
Script – Main: Plug-in script that will invoke business service C1-DSQHHistoricSQ (Derive SQ Helper - Historic SQ)
Given an account with a service agreement (SA) that refers to the created Rate Schedule, attempt to bill the account. Ensure that this account has sufficient history to satisfy the calculation rule setup.
An en error is encountered stating that either seasonal period or number of
historical periods must be specified but not both



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