Quantcast
Channel: SCN : Discussion List - SAP for Utilities
Viewing all articles
Browse latest Browse all 2484

QUANTI19 prorate the accumulated quantity?

$
0
0

Hi all,

I have a problem in my project as we are using quanti19 variant in order to keep track f the accumulated consumption over the year.

But the problem is that, if I have two or more different time slices in the same billing period that causes the tariff step to be executed with different time slices, QUANTI19 input operant "Accumulate quantity" is prorating the cumulative consumption instead of keeping it at the beginning of the period as expected.

 

To give you a dummy example:

 

consumption till 31/03 --> 300

 

billing period is april with 400 kwh consumption:

 

two different time slices caused by changing of price:

 

01/04 -> 20/04

21/04 -> 30/04

 

The variant is executed (checked in debug), with:

 

01/04 -> 20/04 -> Acc. qty = 200

21/04 -> 30/04 -> Acc. qty = 100

 

This causes bad behavior when I have to compute folowing steps.

 

I would rather have expected something like:

 

01/04 -> 20/04 -> Acc. qty = 300

21/04 -> 30/04 -> Acc. qty = 300 + prorated consumption taken from the second operand "Current quantity"

 

Can anybody tell me if there's something wrong in the way I'm thinking on the variant and there's an alternative way to get the result I want?

 

Thanks

Gabriele


Viewing all articles
Browse latest Browse all 2484

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>