Class X_AD_Workflow

    • Constructor Detail

      • X_AD_Workflow

        public X_AD_Workflow​(Properties ctx,
                             int AD_Workflow_ID,
                             String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        6 - System - Client
      • 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_Workflow
        Parameters:
        AccessLevel - 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_Workflow
        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_Workflow
        Returns:
        Context Help
      • setAD_Table_ID

        public void setAD_Table_ID​(int AD_Table_ID)
        Set Table.
        Specified by:
        setAD_Table_ID in interface I_AD_Workflow
        Parameters:
        AD_Table_ID - Database Table information
      • getAD_Table_ID

        public int getAD_Table_ID()
        Get Table.
        Specified by:
        getAD_Table_ID in interface I_AD_Workflow
        Returns:
        Database Table information
      • setAD_WF_Node_ID

        public void setAD_WF_Node_ID​(int AD_WF_Node_ID)
        Set Node.
        Specified by:
        setAD_WF_Node_ID in interface I_AD_Workflow
        Parameters:
        AD_WF_Node_ID - Workflow Node (activity), step or process
      • getAD_WF_Node_ID

        public int getAD_WF_Node_ID()
        Get Node.
        Specified by:
        getAD_WF_Node_ID in interface I_AD_Workflow
        Returns:
        Workflow Node (activity), step or process
      • setAD_WF_Responsible_ID

        public void setAD_WF_Responsible_ID​(int AD_WF_Responsible_ID)
        Set Workflow Responsible.
        Specified by:
        setAD_WF_Responsible_ID in interface I_AD_Workflow
        Parameters:
        AD_WF_Responsible_ID - Responsible for Workflow Execution
      • getAD_WF_Responsible_ID

        public int getAD_WF_Responsible_ID()
        Get Workflow Responsible.
        Specified by:
        getAD_WF_Responsible_ID in interface I_AD_Workflow
        Returns:
        Responsible for Workflow Execution
      • setAD_Workflow_ID

        public void setAD_Workflow_ID​(int AD_Workflow_ID)
        Set Workflow.
        Specified by:
        setAD_Workflow_ID in interface I_AD_Workflow
        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_Workflow
        Returns:
        Workflow or combination of tasks
      • setAD_WorkflowProcessor_ID

        public void setAD_WorkflowProcessor_ID​(int AD_WorkflowProcessor_ID)
        Set Workflow Processor.
        Specified by:
        setAD_WorkflowProcessor_ID in interface I_AD_Workflow
        Parameters:
        AD_WorkflowProcessor_ID - Workflow Processor Server
      • getAD_WorkflowProcessor_ID

        public int getAD_WorkflowProcessor_ID()
        Get Workflow Processor.
        Specified by:
        getAD_WorkflowProcessor_ID in interface I_AD_Workflow
        Returns:
        Workflow Processor Server
      • setAD_Workflow_UU

        public void setAD_Workflow_UU​(String AD_Workflow_UU)
        Set AD_Workflow_UU.
        Specified by:
        setAD_Workflow_UU in interface I_AD_Workflow
        Parameters:
        AD_Workflow_UU - AD_Workflow_UU
      • setAuthor

        public void setAuthor​(String Author)
        Set Author.
        Specified by:
        setAuthor in interface I_AD_Workflow
        Parameters:
        Author - Author/Creator of the Entity
      • getAuthor

        public String getAuthor()
        Get Author.
        Specified by:
        getAuthor in interface I_AD_Workflow
        Returns:
        Author/Creator of the Entity
      • setDescription

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

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

        public void setDocumentNo​(String DocumentNo)
        Set Document No.
        Specified by:
        setDocumentNo in interface I_AD_Workflow
        Parameters:
        DocumentNo - Document sequence number of the document
      • getDocumentNo

        public String getDocumentNo()
        Get Document No.
        Specified by:
        getDocumentNo in interface I_AD_Workflow
        Returns:
        Document sequence number of the document
      • setDocValueLogic

        public void setDocValueLogic​(String DocValueLogic)
        Set Document Value Logic.
        Specified by:
        setDocValueLogic in interface I_AD_Workflow
        Parameters:
        DocValueLogic - Logic to determine Workflow Start - If true, a workflow process is started for the document
      • getDocValueLogic

        public String getDocValueLogic()
        Get Document Value Logic.
        Specified by:
        getDocValueLogic in interface I_AD_Workflow
        Returns:
        Logic to determine Workflow Start - If true, a workflow process is started for the document
      • setDuration

        public void setDuration​(int Duration)
        Set Duration.
        Specified by:
        setDuration in interface I_AD_Workflow
        Parameters:
        Duration - Normal Duration in Duration Unit
      • getDuration

        public int getDuration()
        Get Duration.
        Specified by:
        getDuration in interface I_AD_Workflow
        Returns:
        Normal Duration in Duration Unit
      • setDurationUnit

        public void setDurationUnit​(String DurationUnit)
        Set Duration Unit.
        Specified by:
        setDurationUnit in interface I_AD_Workflow
        Parameters:
        DurationUnit - Unit of Duration
      • setEntityType

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

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

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

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

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

        public void setIsDefault​(boolean IsDefault)
        Set Default.
        Specified by:
        setIsDefault in interface I_AD_Workflow
        Parameters:
        IsDefault - Default value
      • isDefault

        public boolean isDefault()
        Get Default.
        Specified by:
        isDefault in interface I_AD_Workflow
        Returns:
        Default value
      • setIsValid

        public void setIsValid​(boolean IsValid)
        Set Valid.
        Specified by:
        setIsValid in interface I_AD_Workflow
        Parameters:
        IsValid - Element is valid
      • isValid

        public boolean isValid()
        Get Valid.
        Specified by:
        isValid in interface I_AD_Workflow
        Returns:
        Element is valid
      • setLimit

        public void setLimit​(int Limit)
        Set Duration Limit.
        Specified by:
        setLimit in interface I_AD_Workflow
        Parameters:
        Limit - Maximum Duration in Duration Unit
      • getLimit

        public int getLimit()
        Get Duration Limit.
        Specified by:
        getLimit in interface I_AD_Workflow
        Returns:
        Maximum Duration in Duration Unit
      • setMovingTime

        public void setMovingTime​(int MovingTime)
        Set Moving Time.
        Specified by:
        setMovingTime in interface I_AD_Workflow
        Parameters:
        MovingTime - Moving Time
      • getMovingTime

        public int getMovingTime()
        Get Moving Time.
        Specified by:
        getMovingTime in interface I_AD_Workflow
        Returns:
        Moving Time
      • setName

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

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

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

        public void setOverlapUnits​(BigDecimal OverlapUnits)
        Set Overlap Units.
        Specified by:
        setOverlapUnits in interface I_AD_Workflow
        Parameters:
        OverlapUnits - Overlap Units are number of units that must be completed before they are moved the next activity
      • getOverlapUnits

        public BigDecimal getOverlapUnits()
        Get Overlap Units.
        Specified by:
        getOverlapUnits in interface I_AD_Workflow
        Returns:
        Overlap Units are number of units that must be completed before they are moved the next activity
      • setPriority

        public void setPriority​(int Priority)
        Set Priority.
        Specified by:
        setPriority in interface I_AD_Workflow
        Parameters:
        Priority - Indicates if this request is of a high, medium or low priority.
      • getPriority

        public int getPriority()
        Get Priority.
        Specified by:
        getPriority in interface I_AD_Workflow
        Returns:
        Indicates if this request is of a high, medium or low priority.
      • setProcessType

        public void setProcessType​(String ProcessType)
        Set Process Type.
        Specified by:
        setProcessType in interface I_AD_Workflow
        Parameters:
        ProcessType - Process Type
      • setPublishStatus

        public void setPublishStatus​(String PublishStatus)
        Set Publication Status.
        Specified by:
        setPublishStatus in interface I_AD_Workflow
        Parameters:
        PublishStatus - Status of Publication
      • setQtyBatchSize

        public void setQtyBatchSize​(BigDecimal QtyBatchSize)
        Set Qty Batch Size.
        Specified by:
        setQtyBatchSize in interface I_AD_Workflow
        Parameters:
        QtyBatchSize - Qty Batch Size
      • setQueuingTime

        public void setQueuingTime​(int QueuingTime)
        Set Queuing Time.
        Specified by:
        setQueuingTime in interface I_AD_Workflow
        Parameters:
        QueuingTime - Queue time is the time a job waits at a work center before begin handled.
      • getQueuingTime

        public int getQueuingTime()
        Get Queuing Time.
        Specified by:
        getQueuingTime in interface I_AD_Workflow
        Returns:
        Queue time is the time a job waits at a work center before begin handled.
      • setSetupTime

        public void setSetupTime​(int SetupTime)
        Set Setup Time.
        Specified by:
        setSetupTime in interface I_AD_Workflow
        Parameters:
        SetupTime - Setup time before starting Production
      • getSetupTime

        public int getSetupTime()
        Get Setup Time.
        Specified by:
        getSetupTime in interface I_AD_Workflow
        Returns:
        Setup time before starting Production
      • setS_Resource_ID

        public void setS_Resource_ID​(int S_Resource_ID)
        Set Resource.
        Specified by:
        setS_Resource_ID in interface I_AD_Workflow
        Parameters:
        S_Resource_ID - Resource
      • setUnitsCycles

        public void setUnitsCycles​(BigDecimal UnitsCycles)
        Set Units by Cycles.
        Specified by:
        setUnitsCycles in interface I_AD_Workflow
        Parameters:
        UnitsCycles - The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.
      • getUnitsCycles

        public BigDecimal getUnitsCycles()
        Get Units by Cycles.
        Specified by:
        getUnitsCycles in interface I_AD_Workflow
        Returns:
        The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.
      • setValidateWorkflow

        public void setValidateWorkflow​(String ValidateWorkflow)
        Set Validate Workflow.
        Specified by:
        setValidateWorkflow in interface I_AD_Workflow
        Parameters:
        ValidateWorkflow - Validate Workflow
      • setValidFrom

        public void setValidFrom​(Timestamp ValidFrom)
        Set Valid from.
        Specified by:
        setValidFrom in interface I_AD_Workflow
        Parameters:
        ValidFrom - Valid from including this date (first day)
      • getValidFrom

        public Timestamp getValidFrom()
        Get Valid from.
        Specified by:
        getValidFrom in interface I_AD_Workflow
        Returns:
        Valid from including this date (first day)
      • setValidTo

        public void setValidTo​(Timestamp ValidTo)
        Set Valid to.
        Specified by:
        setValidTo in interface I_AD_Workflow
        Parameters:
        ValidTo - Valid to including this date (last day)
      • getValidTo

        public Timestamp getValidTo()
        Get Valid to.
        Specified by:
        getValidTo in interface I_AD_Workflow
        Returns:
        Valid to including this date (last day)
      • setValue

        public void setValue​(String Value)
        Set Search Key.
        Specified by:
        setValue in interface I_AD_Workflow
        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_Workflow
        Returns:
        Search key for the record in the format required - must be unique
      • setVersion

        public void setVersion​(int Version)
        Set Version.
        Specified by:
        setVersion in interface I_AD_Workflow
        Parameters:
        Version - Version of the table definition
      • getVersion

        public int getVersion()
        Get Version.
        Specified by:
        getVersion in interface I_AD_Workflow
        Returns:
        Version of the table definition
      • setWaitingTime

        public void setWaitingTime​(int WaitingTime)
        Set Waiting Time.
        Specified by:
        setWaitingTime in interface I_AD_Workflow
        Parameters:
        WaitingTime - Workflow Simulation Waiting time
      • getWaitingTime

        public int getWaitingTime()
        Get Waiting Time.
        Specified by:
        getWaitingTime in interface I_AD_Workflow
        Returns:
        Workflow Simulation Waiting time
      • setWorkflowType

        public void setWorkflowType​(String WorkflowType)
        Set Workflow Type.
        Specified by:
        setWorkflowType in interface I_AD_Workflow
        Parameters:
        WorkflowType - Type of Workflow
      • setWorkingTime

        public void setWorkingTime​(int WorkingTime)
        Set Working Time.
        Specified by:
        setWorkingTime in interface I_AD_Workflow
        Parameters:
        WorkingTime - Workflow Simulation Execution Time
      • getWorkingTime

        public int getWorkingTime()
        Get Working Time.
        Specified by:
        getWorkingTime in interface I_AD_Workflow
        Returns:
        Workflow Simulation Execution Time
      • setYield

        public void setYield​(int Yield)
        Set Yield %.
        Specified by:
        setYield in interface I_AD_Workflow
        Parameters:
        Yield - The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
      • getYield

        public int getYield()
        Get Yield %.
        Specified by:
        getYield in interface I_AD_Workflow
        Returns:
        The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent