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
  • Constructor Details

    • DocumentTypeVerify

      public DocumentTypeVerify()
  • Method Details

    • prepare

      protected void prepare()
      No Parameters (Nop)
      Specified by:
      prepare in class SvrProcess
      See Also:
    • 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