I need a help regarding the following query:
My requirement is one of my report needs to be schedule for every 8 hours, means 3 times per day. This report fetches the sales documents from database. After first run of the program , i want to fetch only documents which created or changed after the first run ( date & time ) of the program. Anyway in the first run it will pick all documents till that time. But i need to store date & time , after finishing the first run. And i need to use these values for second run , so that i will get only those records which are changed or created after first run. And this is same for third run of program, the finish time , date of second run needs to be store in Memory.
How i can achieve this? Is there any way we can store certain values in Memory and we can retrieve whenever we want?
Thanks in advance,