Rec Period Year Period Number Start Date End Date
PL 5-4-4 2010 6 20100403 20100430
PL 5-4-4 2010 7 20100501 20100604 2010 fiscal period 3
PL 5-4-4 2010 8 20100605 20100702
PL 5-4-4 2010 9 20100703 20100730
PL 5-4-4 2010 10 20100731 20100903 2010 fiscal period 4
PL 5-4-4 2010 11 20100904 20101001
PL 5-4-4 2010 12 20101002 20101029
PL 5-4-4 2011 1 20101030 20101203 2011 fiscal period 1
Hi,
I need to develop an application that gets the start and ending dates from the last two fiscal periods. If I have the current date I want to go to the current fiscal period. If my current date = 20101201 then I am in 2011 fiscal period 1. I want to read previous the 6 records and load varibles for the start and ending dates.
Does anyone have a better mether than the read previous command?
Thanks,
DAC
PL 5-4-4 2010 6 20100403 20100430
PL 5-4-4 2010 7 20100501 20100604 2010 fiscal period 3
PL 5-4-4 2010 8 20100605 20100702
PL 5-4-4 2010 9 20100703 20100730
PL 5-4-4 2010 10 20100731 20100903 2010 fiscal period 4
PL 5-4-4 2010 11 20100904 20101001
PL 5-4-4 2010 12 20101002 20101029
PL 5-4-4 2011 1 20101030 20101203 2011 fiscal period 1
Hi,
I need to develop an application that gets the start and ending dates from the last two fiscal periods. If I have the current date I want to go to the current fiscal period. If my current date = 20101201 then I am in 2011 fiscal period 1. I want to read previous the 6 records and load varibles for the start and ending dates.
Does anyone have a better mether than the read previous command?
Thanks,
DAC
Comment