IDEMPIERE-335 - Send Jasper Report email
(transplanted from 914c39015d963ae2f9d51bb2b9f3a18bf5a42678)
This commit is contained in:
parent
00f842dd67
commit
42fbf81e8e
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue