Compiere 3.1

org.compiere.print
Class ReportCtl

java.lang.Object
  extended by org.compiere.print.ReportCtl

public class ReportCtl
extends Object

Report Controller.

Version:
$Id: ReportCtl.java,v 1.3 2006/10/08 07:05:08 comdivision Exp $
Author:
Jorg Janke

Method Summary
static ReportEngine start(Ctx ctx, ProcessInfo pi, boolean IsDirectPrint)
          Create Report.
static ReportEngine startCheckPrint(Ctx ctx, int C_Payment_ID, boolean IsDirectPrint)
          Start Check Print.
static ReportEngine startDocumentPrint(Ctx ctx, int type, int Record_ID, boolean IsDirectPrint)
          Start Document Print for Type.
static ReportEngine startFinReport(Ctx ctx, ProcessInfo pi)
          Start Financial Report.
static ReportEngine startStandardReport(Ctx ctx, ProcessInfo pi, boolean IsDirectPrint)
          Start Standard Report
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

start

public static ReportEngine start(Ctx ctx,
                                 ProcessInfo pi,
                                 boolean IsDirectPrint)
Create Report. Called from ProcessCtl. - Check special reports first, if not, create standard Report

Parameters:
pi - process info
IsDirectPrint - if true, prints directly - otherwise View
Returns:
true if created

startStandardReport

public static ReportEngine startStandardReport(Ctx ctx,
                                               ProcessInfo pi,
                                               boolean IsDirectPrint)
Start Standard Report. - Get Table Info & submit

Parameters:
pi - Process Info
IsDirectPrint - if true, prints directly - otherwise View
Returns:
true if OK

startFinReport

public static ReportEngine startFinReport(Ctx ctx,
                                          ProcessInfo pi)
Start Financial Report.

Parameters:
pi - Process Info
Returns:
true if OK

startDocumentPrint

public static ReportEngine startDocumentPrint(Ctx ctx,
                                              int type,
                                              int Record_ID,
                                              boolean IsDirectPrint)
Start Document Print for Type. Called also directly from ProcessDialog, VInOutGen, VInvoiceGen, VPayPrint

Parameters:
type - document type in ReportEngine
Record_ID - id
IsDirectPrint - if true, prints directly - otherwise View
Returns:
true if success

startCheckPrint

public static ReportEngine startCheckPrint(Ctx ctx,
                                           int C_Payment_ID,
                                           boolean IsDirectPrint)
Start Check Print. Find/Create

Parameters:
C_Payment_ID - Payment
IsDirectPrint - if true, prints directly - otherwise View
Returns:
true if success

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.