Hi Deepak, I tested in a new installation and found an issue in the code. I submited a patch in the ticket
https://idempiere.atlassian.net/browse/IDEMPIERE-2697
Just for reference and easier review, while debugging ReportStarter.java, near line 1063, I was getting these values:
- entries[i].getName() == \opt\idempiere-storage\\0\0\284\1000042\CustomerStatement.jrxml
- name == CustomerStatement.jrxml
This way, the IF block (comparing both variables) never finds the attached file.
I've proposed changing "entries[i].getName()" by "attachment.getEntryName(i)"
Alan