Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9024

Re: Time Type Counting

$
0
0

You've created Time Type ZTOL as a "Left Early Counter".  Create Time Type xxxx for the Left Early Counter Period.

Create a PCR that looks at "yesterday's" value of ZTOL.  If it is zero, look at today's value of ZTOL, and if it is 1 that means that "today" should count as the first day of the Left Early Counter Period (and create Time Type xxxx with value of 1).

Create a PCR that looks at "yesterday's" value of xxxx.  If the return value is 0, do nothing, if the return value is 183, do nothing unless ZTOL exists today with a value of 1, and if the return value is * (meaning anything else), then add 1 to yesterday's value and transfer the result in the DataBase for today.


Viewing all articles
Browse latest Browse all 9024

Trending Articles



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