Modified the application to add the filter in the top summary report, the filter is the same as the filter in the discrepancy report, there should be a selection by all or range, in all the only field that enabled is the location and by range, regardless if there are no inputted value for some field, the application should be able to select the data based on the inputted filter.
The filter form has been added, and it has been linked to the top summary report. Created the query for the filter for the condition and selection of data, the query is now created and will be tested tomorrow.