Excel File Corrupted

Hi,

Based on the input of the report parameter supplied my report sometimes returns a corrupted excel file not sure why since they all use the same query and structure to get the same result. The input I give is the section in the facility to get a report of all item quantities in the specific section.

Quantity.zip (16.0 KB)

Thanks