Hello All,
I need a help on handling the date range in my script.
I am working on application where data(like name, address etc) are populated for 30day(which is default). Sometime the vendor number which I am using might not have data for 30 days, so I need to change and select the last 4 months or 6 months of data.
So if select 30days and do scripting it works fine. But if select the vendor which does not have data for last 30days, my script fails. How can I handle this in my script to check first if data available for 30 days or nor, if not available go and execute the next request which has data(for 4mntohs or 6mtnht)?
Any help/suggestion on this?