IDEMPIERE-335 - Send Jasper Report email

(transplanted from 914c39015d963ae2f9d51bb2b9f3a18bf5a42678)
This commit is contained in:
Hesham S. Ahmed 2012-07-11 17:53:24 +03:00
parent 00f842dd67
commit 42fbf81e8e
3 changed files with 3 additions and 3 deletions

View File

@ -625,7 +625,7 @@ public class MInOut extends X_M_InOut implements DocAction
if(format.getJasperProcess_ID() > 0) if(format.getJasperProcess_ID() > 0)
{ {
ProcessInfo pi = new ProcessInfo ("", format.getJasperProcess_ID()); ProcessInfo pi = new ProcessInfo ("", format.getJasperProcess_ID());
pi.setRecord_ID ( getC_Order_ID() ); pi.setRecord_ID ( getM_InOut_ID() );
pi.setIsBatch(true); pi.setIsBatch(true);
ServerProcessCtl.process(null, pi, null); ServerProcessCtl.process(null, pi, null);

View File

@ -1281,7 +1281,7 @@ public class MInvoice extends X_C_Invoice implements DocAction
if(format.getJasperProcess_ID() > 0) if(format.getJasperProcess_ID() > 0)
{ {
ProcessInfo pi = new ProcessInfo ("", format.getJasperProcess_ID()); ProcessInfo pi = new ProcessInfo ("", format.getJasperProcess_ID());
pi.setRecord_ID ( getC_Order_ID() ); pi.setRecord_ID ( getC_Invoice_ID() );
pi.setIsBatch(true); pi.setIsBatch(true);
ServerProcessCtl.process(null, pi, null); ServerProcessCtl.process(null, pi, null);

View File

@ -295,7 +295,7 @@ public class MRfQResponse extends X_C_RfQResponse
if(format.getJasperProcess_ID() > 0) if(format.getJasperProcess_ID() > 0)
{ {
ProcessInfo pi = new ProcessInfo ("", format.getJasperProcess_ID()); ProcessInfo pi = new ProcessInfo ("", format.getJasperProcess_ID());
pi.setRecord_ID ( getC_Order_ID() ); pi.setRecord_ID ( getC_RfQResponse_ID() );
pi.setIsBatch(true); pi.setIsBatch(true);
ServerProcessCtl.process(null, pi, null); ServerProcessCtl.process(null, pi, null);