I have customized the po_headers_xml which basically results in it finding no-data for certain PO'S (Based on a certain condition). The requirement is that these PO's should not be genereated /printed so I thought that would do the trick, only the CP ends with the below error.
So question is: How to I achieve what I need to do, if the program ends in error?
Thanks in advance
Error: genDoc() : Exceptionjava.lang.Exception: Error while generating PDF :null java.lang.Exception: Error while generating PDF :null rolling back the complete program