Class X_AD_Process

    • Field Detail

      • ACCESSLEVEL_AD_Reference_ID

        public static final int ACCESSLEVEL_AD_Reference_ID
        AccessLevel AD_Reference_ID=5
        See Also:
        Constant Field Values
      • ACCESSLEVEL_ClientPlusOrganization

        public static final String ACCESSLEVEL_ClientPlusOrganization
        Client+Organization = 3
        See Also:
        Constant Field Values
      • ACCESSLEVEL_SystemPlusClient

        public static final String ACCESSLEVEL_SystemPlusClient
        System+Client = 6
        See Also:
        Constant Field Values
      • ALLOWMULTIPLEEXECUTION_AD_Reference_ID

        public static final int ALLOWMULTIPLEEXECUTION_AD_Reference_ID
        AllowMultipleExecution AD_Reference_ID=200158
        See Also:
        Constant Field Values
      • ALLOWMULTIPLEEXECUTION_DisallowMultipleExecutions

        public static final String ALLOWMULTIPLEEXECUTION_DisallowMultipleExecutions
        Disallow multiple executions = N
        See Also:
        Constant Field Values
      • ALLOWMULTIPLEEXECUTION_DisallowMultipleExecutionsWithTheSameParameters

        public static final String ALLOWMULTIPLEEXECUTION_DisallowMultipleExecutionsWithTheSameParameters
        Disallow multiple executions with the same parameters = P
        See Also:
        Constant Field Values
      • ENTITYTYPE_AD_Reference_ID

        public static final int ENTITYTYPE_AD_Reference_ID
        EntityType AD_Reference_ID=389
        See Also:
        Constant Field Values
      • EXECUTIONTYPE_AD_Reference_ID

        public static final int EXECUTIONTYPE_AD_Reference_ID
        ExecutionType AD_Reference_ID=200157
        See Also:
        Constant Field Values
      • EXECUTIONTYPE_ForceBackground

        public static final String EXECUTIONTYPE_ForceBackground
        Force Background = B
        See Also:
        Constant Field Values
      • EXECUTIONTYPE_ForceForeground

        public static final String EXECUTIONTYPE_ForceForeground
        Force Foreground = F
        See Also:
        Constant Field Values
      • SHOWHELP_AD_Reference_ID

        public static final int SHOWHELP_AD_Reference_ID
        ShowHelp AD_Reference_ID=50007
        See Also:
        Constant Field Values
      • SHOWHELP_AskUserForFutureUse

        public static final String SHOWHELP_AskUserForFutureUse
        Ask user (for future use) = A
        See Also:
        Constant Field Values
      • SHOWHELP_RunSilently_TakeDefaults

        public static final String SHOWHELP_RunSilently_TakeDefaults
        Run silently - Take Defaults = S
        See Also:
        Constant Field Values
    • Constructor Detail

      • X_AD_Process

        public X_AD_Process​(Properties ctx,
                            int AD_Process_ID,
                            String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        4 - System
      • initPO

        protected POInfo initPO​(Properties ctx)
        Load Meta Data
        Specified by:
        initPO in class PO
        Parameters:
        ctx - context
        Returns:
        POInfo
      • toString

        public String toString()
        Description copied from class: PO
        String representation
        Overrides:
        toString in class PO
        Returns:
        String representation
      • setAccessLevel

        public void setAccessLevel​(String AccessLevel)
        Set Data Access Level.
        Specified by:
        setAccessLevel in interface I_AD_Process
        Parameters:
        AccessLevel - Access Level required
      • getAccessLevel

        public String getAccessLevel()
        Get Data Access Level.
        Specified by:
        getAccessLevel in interface I_AD_Process
        Returns:
        Access Level required
      • setAD_CtxHelp_ID

        public void setAD_CtxHelp_ID​(int AD_CtxHelp_ID)
        Set Context Help.
        Specified by:
        setAD_CtxHelp_ID in interface I_AD_Process
        Parameters:
        AD_CtxHelp_ID - Context Help
      • getAD_CtxHelp_ID

        public int getAD_CtxHelp_ID()
        Get Context Help.
        Specified by:
        getAD_CtxHelp_ID in interface I_AD_Process
        Returns:
        Context Help
      • setAD_Form_ID

        public void setAD_Form_ID​(int AD_Form_ID)
        Set Special Form.
        Specified by:
        setAD_Form_ID in interface I_AD_Process
        Parameters:
        AD_Form_ID - Special Form
      • getAD_Form_ID

        public int getAD_Form_ID()
        Get Special Form.
        Specified by:
        getAD_Form_ID in interface I_AD_Process
        Returns:
        Special Form
      • setAD_PrintFormat_ID

        public void setAD_PrintFormat_ID​(int AD_PrintFormat_ID)
        Set Print Format.
        Specified by:
        setAD_PrintFormat_ID in interface I_AD_Process
        Parameters:
        AD_PrintFormat_ID - Data Print Format
      • getAD_PrintFormat_ID

        public int getAD_PrintFormat_ID()
        Get Print Format.
        Specified by:
        getAD_PrintFormat_ID in interface I_AD_Process
        Returns:
        Data Print Format
      • setAD_Process_ID

        public void setAD_Process_ID​(int AD_Process_ID)
        Set Process.
        Specified by:
        setAD_Process_ID in interface I_AD_Process
        Parameters:
        AD_Process_ID - Process or Report
      • getAD_Process_ID

        public int getAD_Process_ID()
        Get Process.
        Specified by:
        getAD_Process_ID in interface I_AD_Process
        Returns:
        Process or Report
      • setAD_Process_UU

        public void setAD_Process_UU​(String AD_Process_UU)
        Set AD_Process_UU.
        Specified by:
        setAD_Process_UU in interface I_AD_Process
        Parameters:
        AD_Process_UU - AD_Process_UU
      • setAD_ReportView_ID

        public void setAD_ReportView_ID​(int AD_ReportView_ID)
        Set Report View.
        Specified by:
        setAD_ReportView_ID in interface I_AD_Process
        Parameters:
        AD_ReportView_ID - View used to generate this report
      • getAD_ReportView_ID

        public int getAD_ReportView_ID()
        Get Report View.
        Specified by:
        getAD_ReportView_ID in interface I_AD_Process
        Returns:
        View used to generate this report
      • setAD_Workflow_ID

        public void setAD_Workflow_ID​(int AD_Workflow_ID)
        Set Workflow.
        Specified by:
        setAD_Workflow_ID in interface I_AD_Process
        Parameters:
        AD_Workflow_ID - Workflow or combination of tasks
      • getAD_Workflow_ID

        public int getAD_Workflow_ID()
        Get Workflow.
        Specified by:
        getAD_Workflow_ID in interface I_AD_Process
        Returns:
        Workflow or combination of tasks
      • setAllowMultipleExecution

        public void setAllowMultipleExecution​(String AllowMultipleExecution)
        Set Multiple Execution.
        Specified by:
        setAllowMultipleExecution in interface I_AD_Process
        Parameters:
        AllowMultipleExecution - Allow or disallow executing a process/report multiple times.
      • getAllowMultipleExecution

        public String getAllowMultipleExecution()
        Get Multiple Execution.
        Specified by:
        getAllowMultipleExecution in interface I_AD_Process
        Returns:
        Allow or disallow executing a process/report multiple times.
      • setClassname

        public void setClassname​(String Classname)
        Set Classname.
        Specified by:
        setClassname in interface I_AD_Process
        Parameters:
        Classname - Java Classname
      • setCopyFromProcess

        public void setCopyFromProcess​(String CopyFromProcess)
        Set Copy From Report and Process.
        Specified by:
        setCopyFromProcess in interface I_AD_Process
        Parameters:
        CopyFromProcess - Copy settings from one report and process to another.
      • getCopyFromProcess

        public String getCopyFromProcess()
        Get Copy From Report and Process.
        Specified by:
        getCopyFromProcess in interface I_AD_Process
        Returns:
        Copy settings from one report and process to another.
      • setDescription

        public void setDescription​(String Description)
        Set Description.
        Specified by:
        setDescription in interface I_AD_Process
        Parameters:
        Description - Optional short description of the record
      • getDescription

        public String getDescription()
        Get Description.
        Specified by:
        getDescription in interface I_AD_Process
        Returns:
        Optional short description of the record
      • setEntityType

        public void setEntityType​(String EntityType)
        Set Entity Type.
        Specified by:
        setEntityType in interface I_AD_Process
        Parameters:
        EntityType - Dictionary Entity Type; Determines ownership and synchronization
      • getEntityType

        public String getEntityType()
        Get Entity Type.
        Specified by:
        getEntityType in interface I_AD_Process
        Returns:
        Dictionary Entity Type; Determines ownership and synchronization
      • setExecutionType

        public void setExecutionType​(String ExecutionType)
        Set Execution Type.
        Specified by:
        setExecutionType in interface I_AD_Process
        Parameters:
        ExecutionType - Execution Type defines whether the report/process will always run in background or foreground.
      • getExecutionType

        public String getExecutionType()
        Get Execution Type.
        Specified by:
        getExecutionType in interface I_AD_Process
        Returns:
        Execution Type defines whether the report/process will always run in background or foreground.
      • setHelp

        public void setHelp​(String Help)
        Set Comment/Help.
        Specified by:
        setHelp in interface I_AD_Process
        Parameters:
        Help - Comment or Hint
      • getHelp

        public String getHelp()
        Get Comment/Help.
        Specified by:
        getHelp in interface I_AD_Process
        Returns:
        Comment or Hint
      • setIsBetaFunctionality

        public void setIsBetaFunctionality​(boolean IsBetaFunctionality)
        Set Beta Functionality.
        Specified by:
        setIsBetaFunctionality in interface I_AD_Process
        Parameters:
        IsBetaFunctionality - This functionality is considered Beta
      • isBetaFunctionality

        public boolean isBetaFunctionality()
        Get Beta Functionality.
        Specified by:
        isBetaFunctionality in interface I_AD_Process
        Returns:
        This functionality is considered Beta
      • setIsDirectPrint

        public void setIsDirectPrint​(boolean IsDirectPrint)
        Set Direct print.
        Specified by:
        setIsDirectPrint in interface I_AD_Process
        Parameters:
        IsDirectPrint - Print without dialog
      • isDirectPrint

        public boolean isDirectPrint()
        Get Direct print.
        Specified by:
        isDirectPrint in interface I_AD_Process
        Returns:
        Print without dialog
      • setIsReport

        public void setIsReport​(boolean IsReport)
        Set Report.
        Specified by:
        setIsReport in interface I_AD_Process
        Parameters:
        IsReport - Indicates a Report record
      • isReport

        public boolean isReport()
        Get Report.
        Specified by:
        isReport in interface I_AD_Process
        Returns:
        Indicates a Report record
      • setJasperReport

        public void setJasperReport​(String JasperReport)
        Set Jasper Report.
        Specified by:
        setJasperReport in interface I_AD_Process
        Parameters:
        JasperReport - Jasper Report
      • setName

        public void setName​(String Name)
        Set Name.
        Specified by:
        setName in interface I_AD_Process
        Parameters:
        Name - Alphanumeric identifier of the entity
      • getName

        public String getName()
        Get Name.
        Specified by:
        getName in interface I_AD_Process
        Returns:
        Alphanumeric identifier of the entity
      • getKeyNamePair

        public KeyNamePair getKeyNamePair()
        Get Record ID/ColumnName
        Returns:
        ID/ColumnName pair
      • setProcedureName

        public void setProcedureName​(String ProcedureName)
        Set Procedure.
        Specified by:
        setProcedureName in interface I_AD_Process
        Parameters:
        ProcedureName - Name of the Database Procedure
      • setShowHelp

        public void setShowHelp​(String ShowHelp)
        Set Show Help.
        Specified by:
        setShowHelp in interface I_AD_Process
        Parameters:
        ShowHelp - Show Help
      • setStatistic_Count

        public void setStatistic_Count​(int Statistic_Count)
        Set Statistic Count.
        Specified by:
        setStatistic_Count in interface I_AD_Process
        Parameters:
        Statistic_Count - Internal statistics how often the entity was used
      • getStatistic_Count

        public int getStatistic_Count()
        Get Statistic Count.
        Specified by:
        getStatistic_Count in interface I_AD_Process
        Returns:
        Internal statistics how often the entity was used
      • setStatistic_Seconds

        public void setStatistic_Seconds​(int Statistic_Seconds)
        Set Statistic Seconds.
        Specified by:
        setStatistic_Seconds in interface I_AD_Process
        Parameters:
        Statistic_Seconds - Internal statistics how many seconds a process took
      • getStatistic_Seconds

        public int getStatistic_Seconds()
        Get Statistic Seconds.
        Specified by:
        getStatistic_Seconds in interface I_AD_Process
        Returns:
        Internal statistics how many seconds a process took
      • setValue

        public void setValue​(String Value)
        Set Search Key.
        Specified by:
        setValue in interface I_AD_Process
        Parameters:
        Value - Search key for the record in the format required - must be unique
      • getValue

        public String getValue()
        Get Search Key.
        Specified by:
        getValue in interface I_AD_Process
        Returns:
        Search key for the record in the format required - must be unique
      • setWorkflowValue

        public void setWorkflowValue​(String WorkflowValue)
        Set Workflow Key.
        Specified by:
        setWorkflowValue in interface I_AD_Process
        Parameters:
        WorkflowValue - Key of the Workflow to start