Hi All,
I have created a custom entity for exporting warehouse items in released products similar to the OOTB EcoResReleasedProductWarehouseDefaultsEntity to be used in excel through open in excel feature.
I created a custom template and uploaded it in the document templates and checked the "apply current record filter" checkbox to yes.

now the problem is that when I go the warehouse items form to open it in excel i receive the following error.


and when I set the "apply current record filter" to No, the error is not coming. I only want to export the current record as this contains more than 100000 lines.
Any idea how to resolve this?
Thankyou