Package org.compiere.process
Class DocumentTypeVerify
- java.lang.Object
-
- org.compiere.process.SvrProcess
-
- org.compiere.process.DocumentTypeVerify
-
- All Implemented Interfaces:
ProcessCall
public class DocumentTypeVerify extends SvrProcess
Verify Document Types. - Make sure that there is a DocumentType for all Document Base Types - Create missing Period Controls for Document Type- Version:
- $Id: DocumentTypeVerify.java,v 1.2 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
Constructors Constructor Description DocumentTypeVerify()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
createDocumentTypes(Properties ctx, int AD_Client_ID, SvrProcess sp, String trxName)
Create Missing Document Typesstatic void
createPeriodControls(Properties ctx, int AD_Client_ID, SvrProcess sp, String trxName)
Create Period Controlsprotected String
doIt()
Execute processprotected void
prepare()
No Parameters (Nop)-
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
-
-
-
-
Method Detail
-
prepare
protected void prepare()
No Parameters (Nop)- Specified by:
prepare
in classSvrProcess
-
doIt
protected String doIt() throws Exception
Execute process- Specified by:
doIt
in classSvrProcess
- Returns:
- info
- Throws:
Exception
-
createDocumentTypes
public static void createDocumentTypes(Properties ctx, int AD_Client_ID, SvrProcess sp, String trxName)
Create Missing Document Types- Parameters:
ctx
- contextAD_Client_ID
- clientsp
- server processtrxName
- transaction
-
createPeriodControls
public static void createPeriodControls(Properties ctx, int AD_Client_ID, SvrProcess sp, String trxName)
Create Period Controls- Parameters:
ctx
- contextAD_Client_ID
- clientsp
- server processtrxName
- transaction
-
-