org.compiere.process
Class ProjectGenOrder
java.lang.Object
org.compiere.process.SvrProcess
org.compiere.process.ProjectGenOrder
- All Implemented Interfaces:
- ProcessCall
public class ProjectGenOrder
- extends SvrProcess
Generate Sales Order from Project.
- Version:
- $Id: ProjectGenOrder.java,v 1.3 2006/07/30 00:51:01 jjanke Exp $
- Author:
- Jorg Janke
| Methods inherited from class org.compiere.process.SvrProcess |
addLog, addLog, commit, doIt, get_Trx, get_TrxName, getAD_Client_ID, getAD_PInstance_ID, getAD_User_ID, getCtx, getName, getParameter, getProcessInfo, getRecord_ID, getTable_ID, isLocked, lockObject, rollback, startProcess, unlockObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectGenOrder
public ProjectGenOrder()
prepare
protected void prepare()
- Prepare - e.g., get Parameters.
- Specified by:
prepare in class SvrProcess
doIt
protected String doIt()
throws Exception
- Perrform process.
- Specified by:
doIt in class SvrProcess
- Returns:
- Message (clear text)
- Throws:
Exception - if not successful
getProject
protected static MProject getProject(Ctx ctx,
int C_Project_ID,
String trxName)
- Get and validate Project
- Parameters:
ctx - contextC_Project_ID - idtrxName - transaction
- Returns:
- valid project
Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.