Skip to main content

I have created a Processing screen, To process EMAIL and PRINT of multiple Payment and Application documents.

While Processing PRINT I am getting the following ERROR.

 

The Screen ID showing in the error message is the report screen ID which should pop up to print the report. but the Report is not popping up.

 

Following is my code :

 

We are getting error in line no 72, throw ex;

 

I am unable to find out where I am going wrong,

Thanks In Advance.

Hi, @Prosun48  Since you are working with the Combined Reports, can you please review the below links, which may help you.

https://stackoverflow.com/questions/6029142/merging-multiple-pdfs-using-itextsharp-in-c-net

 


hi @Prosun48 ,

To my thought, since the processing screen in-built has a Long run mechanism  and your logic is executing inside the long run operation you cannot open a popup message after process is completed. Rather you need to try downloading the report programmatically.  

Please reference the below link for reference. 

acumatica - Generate Report Programmatically - Stack Overflow


PXReportRequiredException is fancy version of PXException. Throwing any form of PXException in a long running operation will cause it to fail (as far as I know) unless you run the PXLongOperation inside of a try / catch statement and handle it. Since this doesn’t seem like the best solution in your case, I’d recommend trying a different approach.

 

 


Reply