Package org.adempiere.webui.process
Class InvoicePrint
- java.lang.Object
-
- org.compiere.process.SvrProcess
-
- org.adempiere.webui.process.InvoicePrint
-
- All Implemented Interfaces:
ProcessCall
public class InvoicePrint extends SvrProcess
Print Invoices on Paper or send PDFs- Version:
- $Id: InvoicePrint.java,v 1.2 2006/07/30 00:51:02 jjanke Exp $
- Author:
- Jorg Janke
-
-
Field Summary
Fields Modifier and Type Field Description protected int
m_C_BPartner_ID
protected int
m_C_Invoice_ID
protected Timestamp
m_dateInvoiced_From
protected Timestamp
m_dateInvoiced_To
protected String
m_DocumentNo_From
protected String
m_DocumentNo_To
protected boolean
p_EMailPDF
Mail PDFprotected int
p_R_MailText_ID
Mail Templateprotected List<Object>
params
protected StringBuffer
sql
-
Fields inherited from class org.compiere.process.SvrProcess
log, MSG_InvalidArguments, MSG_SaveErrorRowNotFound, PROCESS_INFO_CTX_KEY, PROCESS_UI_CTX_KEY, processUI
-
-
Constructor Summary
Constructors Constructor Description InvoicePrint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
doIt()
Perform process.protected void
prepare()
Prepare - e.g., get Parameters.protected void
setSQLAndParams()
-
Methods inherited from class org.compiere.process.SvrProcess
addBufferLog, addLog, addLog, addLog, commit, commitEx, doIt, get_TrxName, getAD_Client_ID, getAD_PInstance_ID, getAD_User_ID, getCtx, getName, getParameter, getProcessInfo, getRecord_ID, getRecord_IDs, getTable_ID, isLocked, lockObject, postProcess, rollback, setProcessUI, startProcess, statusUpdate, unlockObject
-
-
-
-
Field Detail
-
p_EMailPDF
protected boolean p_EMailPDF
Mail PDF
-
p_R_MailText_ID
protected int p_R_MailText_ID
Mail Template
-
m_dateInvoiced_From
protected Timestamp m_dateInvoiced_From
-
m_dateInvoiced_To
protected Timestamp m_dateInvoiced_To
-
m_C_BPartner_ID
protected int m_C_BPartner_ID
-
m_C_Invoice_ID
protected int m_C_Invoice_ID
-
m_DocumentNo_From
protected String m_DocumentNo_From
-
m_DocumentNo_To
protected String m_DocumentNo_To
-
sql
protected volatile StringBuffer sql
-
-
Method Detail
-
prepare
protected void prepare()
Prepare - e.g., get Parameters.- Specified by:
prepare
in classSvrProcess
-
doIt
protected String doIt() throws Exception
Perform process.- Specified by:
doIt
in classSvrProcess
- Returns:
- Message
- Throws:
Exception
-
setSQLAndParams
protected void setSQLAndParams()
-
-