Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rolling Accounting Periods

Status
Not open for further replies.

tcimis

MIS
Jun 6, 2002
32
We have a report which we total certain information by accounting period. Example; if sysdate falls in period 2, the report would have Past, Period 2, Period 3, ..., Period 11, Period 12, Future.
The past column is not picking up information for the last week in January. We have had this report for 2 1/2 years but this is the first time someone has reported a problem.
We currently use Crystal 8.5 but the report was originally written in Crystal 6. We were using a 4-4-5 accounting period although it looks like they may be changing.

The code for the past is:

If{RCIIN038B.SCHED_DATE} <
If month({@Head0}) = 1 then date(year(currentdate),1,1) else
{@Period} + [0,28,63,91,119,154,182,210,245,273,301][month({@Head0})-1]+1
then {RCIIN038B.QTY_SCHEDULED} else 0

Any help would be greatly appreciated.

 
Thank you. I found the issue late Friday and corrected.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top