Close #165 Logic to retrieve report data