Package org.compiere.process
Class DocumentTypeVerify
java.lang.Object
org.compiere.process.SvrProcess
org.compiere.process.DocumentTypeVerify
- All Implemented Interfaces:
ProcessCall
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreateDocumentTypes(Properties ctx, int AD_Client_ID, SvrProcess sp, String trxName) Create Missing Document Typesstatic voidcreatePeriodControls(Properties ctx, int AD_Client_ID, SvrProcess sp, String trxName) Create Period Controlsprotected StringdoIt()Execute processprotected voidprepare()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, getRecord_UU, getRecord_UUs, getTable_ID, isLocked, lockObject, postProcess, rollback, saveProgress, saveStatus, setProcessUI, startProcess, statusUpdate, unlockObject, updateProgress
-
Constructor Details
-
DocumentTypeVerify
public DocumentTypeVerify()
-
-
Method Details
-
prepare
protected void prepare()No Parameters (Nop)- Specified by:
preparein classSvrProcess- See Also:
-
doIt
Execute process- Specified by:
doItin 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
-