Hi Michael,
1) After getting all the entries by passing location and product (where current date GE start date from AND current date LT start date to), then
2) I have to check the entries which have overlapping dates for a same product which i have shown in the above example and
3) thendeleting oldest date interval entry and keeping the latest date interval entry.
I saw your code and i understood how to get all the entries by
passing location and product (where current date GE start date from AND current date LT start date to).
I can't understand from the beginning of SORT statement.
Thank you for helping me and hope you can solve my issue.
Regards
Priyabrat