Package org.compiere.process
Class ProjectGenOrder
java.lang.Object
org.compiere.process.SvrProcess
org.compiere.process.ProjectGenOrder
- All Implemented Interfaces:
ProcessCall
Generate Sales Order from Project.
- Version:
- $Id: ProjectGenOrder.java,v 1.3 2006/07/30 00:51:01 jjanke Exp $
- Author:
- Jorg Janke
-
Field Summary
Fields inherited from class org.compiere.process.SvrProcess
log, MSG_InvalidArguments, MSG_SaveErrorRowNotFound, PROCESS_INFO_CTX_KEY, PROCESS_UI_CTX_KEY, processUI
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
doIt()
Perform process.protected static MProject
getProject
(Properties ctx, int C_Project_ID, String trxName) Get and validate Projectprotected void
prepare()
Prepare - e.g., get Parameters.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, getRecord_UU, getRecord_UUs, getTable_ID, isLocked, lockObject, postProcess, rollback, saveProgress, saveStatus, setProcessUI, startProcess, statusUpdate, unlockObject, updateProgress
-
Constructor Details
-
ProjectGenOrder
public ProjectGenOrder()
-
-
Method Details
-
prepare
protected void prepare()Prepare - e.g., get Parameters.- Specified by:
prepare
in classSvrProcess
- See Also:
-
doIt
Perform process.- Specified by:
doIt
in classSvrProcess
- Returns:
- Message (clear text)
- Throws:
Exception
- if not successful
-
getProject
Get and validate Project- Parameters:
ctx
- contextC_Project_ID
- idtrxName
- transaction- Returns:
- valid project
-