Adempiere 3.5.2a

org.compiere.process
Class DocumentTypeVerify

java.lang.Object
  extended by org.compiere.process.SvrProcess
      extended by 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
 
Constructor Summary
DocumentTypeVerify()
           
 
Method Summary
static void createDocumentTypes(Properties ctx, int AD_Client_ID, SvrProcess sp, String trxName)
          Create Missing Document Types
static void createPeriodControls(Properties ctx, int AD_Client_ID, SvrProcess sp, String trxName)
          Create Period Controls
protected  String doIt()
          Execute process
protected  void prepare()
          No Parameters (Nop)
 
Methods inherited from class org.compiere.process.SvrProcess
addLog, addLog, commit, commitEx, doIt, get_TrxName, getAD_Client_ID, getAD_PInstance_ID, getAD_User_ID, getCtx, getName, getParameter, getProcessInfo, getRecord_ID, getTable_ID, isLocked, lockObject, postProcess, rollback, startProcess, unlockObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentTypeVerify

public DocumentTypeVerify()
Method Detail

prepare

protected void prepare()
No Parameters (Nop)

Specified by:
prepare in class SvrProcess

doIt

protected String doIt()
               throws Exception
Execute process

Specified by:
doIt in class SvrProcess
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 - context
AD_Client_ID - client
sp - server process
trxName - transaction

createPeriodControls

public static void createPeriodControls(Properties ctx,
                                        int AD_Client_ID,
                                        SvrProcess sp,
                                        String trxName)
Create Period Controls

Parameters:
ctx - context
AD_Client_ID - client
sp - server process
trxName - transaction

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.