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 intm_C_BPartner_IDprotected intm_C_Invoice_IDprotected Timestampm_dateInvoiced_Fromprotected Timestampm_dateInvoiced_Toprotected Stringm_DocumentNo_Fromprotected Stringm_DocumentNo_Toprotected booleanp_EMailPDFMail PDFprotected intp_R_MailText_IDMail Templateprotected List<Object>paramsprotected StringBuffersql-
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 StringdoIt()Perform process.protected voidprepare()Prepare - e.g., get Parameters.protected voidsetSQLAndParams()-
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:
preparein classSvrProcess
-
doIt
protected String doIt() throws Exception
Perform process.- Specified by:
doItin classSvrProcess- Returns:
- Message
- Throws:
Exception
-
setSQLAndParams
protected void setSQLAndParams()
-
-