Tested the modified application to see if the changes on one report take effect and resolve the error, limited into 20 only the generated data, as per checking, this resolved the error and after multiple times of checking, there are no error encountered and after comparing, the data is correct. Modified other reports function to apply the same code applied in the report by resource to fix the problem, tested the modified report to see if no error will be encountered as well, as per checking, no error is encountered and the generated data in the files is correct.
Deployed the changes in pat-test for checking and approval, tested the deployed changes, and as per checking, no error is encountered as well and the data generated is correct versus the data is displayed on the web page.
After approval from Sir Chris, deployed the changes into prod as well, tested the deployed changes for checking if it is successful and if the file generated is correct. As per checking, all is correct, working properly and the data is correct versus the data in the UI.