Scheduling a Request with incremental date range
Hi All,
We have to schedule a program to run every day to get all eligible journals which posted into system.
the Program has parameters like below
From Date:
To Date:
Ledger:
When ever we run the Prgoram we are selecting From date (First date of month) and To date (system date).
If it run tomorrow i.e 1st April
Parameter should be from 1 March to 31 March
If it run on 2nd April
Then From 1 April to 1 April
If it run on 3rd April
Then From 1 April to 2 April
If it run on 4rd April
Then From 1 April to 3 April ……..until last day of month