Class X_S_Resource

    • Field Detail

      • MANUFACTURINGRESOURCETYPE_AD_Reference_ID

        public static final int MANUFACTURINGRESOURCETYPE_AD_Reference_ID
        ManufacturingResourceType AD_Reference_ID=53223
        See Also:
        Constant Field Values
      • MANUFACTURINGRESOURCETYPE_ProductionLine

        public static final String MANUFACTURINGRESOURCETYPE_ProductionLine
        Production Line = PL
        See Also:
        Constant Field Values
      • MANUFACTURINGRESOURCETYPE_Plant

        public static final String MANUFACTURINGRESOURCETYPE_Plant
        Plant = PT
        See Also:
        Constant Field Values
      • MANUFACTURINGRESOURCETYPE_WorkCenter

        public static final String MANUFACTURINGRESOURCETYPE_WorkCenter
        Work Center = WC
        See Also:
        Constant Field Values
      • MANUFACTURINGRESOURCETYPE_WorkStation

        public static final String MANUFACTURINGRESOURCETYPE_WorkStation
        Work Station = WS
        See Also:
        Constant Field Values
    • Constructor Detail

      • X_S_Resource

        public X_S_Resource​(Properties ctx,
                            int S_Resource_ID,
                            String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        3 - Client - Org
      • 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
      • setAD_User_ID

        public void setAD_User_ID​(int AD_User_ID)
        Set User/Contact.
        Specified by:
        setAD_User_ID in interface I_S_Resource
        Parameters:
        AD_User_ID - User within the system - Internal or Business Partner Contact
      • getAD_User_ID

        public int getAD_User_ID()
        Get User/Contact.
        Specified by:
        getAD_User_ID in interface I_S_Resource
        Returns:
        User within the system - Internal or Business Partner Contact
      • setChargeableQty

        public void setChargeableQty​(BigDecimal ChargeableQty)
        Set Chargeable Quantity.
        Specified by:
        setChargeableQty in interface I_S_Resource
        Parameters:
        ChargeableQty - Chargeable Quantity
      • setDailyCapacity

        public void setDailyCapacity​(BigDecimal DailyCapacity)
        Set Daily Capacity.
        Specified by:
        setDailyCapacity in interface I_S_Resource
        Parameters:
        DailyCapacity - Daily Capacity
      • setDescription

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

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

        public void setIsAvailable​(boolean IsAvailable)
        Set Available.
        Specified by:
        setIsAvailable in interface I_S_Resource
        Parameters:
        IsAvailable - Resource is available
      • isAvailable

        public boolean isAvailable()
        Get Available.
        Specified by:
        isAvailable in interface I_S_Resource
        Returns:
        Resource is available
      • setIsManufacturingResource

        public void setIsManufacturingResource​(boolean IsManufacturingResource)
        Set Manufacturing Resource.
        Specified by:
        setIsManufacturingResource in interface I_S_Resource
        Parameters:
        IsManufacturingResource - Manufacturing Resource
      • isManufacturingResource

        public boolean isManufacturingResource()
        Get Manufacturing Resource.
        Specified by:
        isManufacturingResource in interface I_S_Resource
        Returns:
        Manufacturing Resource
      • setManufacturingResourceType

        public void setManufacturingResourceType​(String ManufacturingResourceType)
        Set Manufacturing Resource Type.
        Specified by:
        setManufacturingResourceType in interface I_S_Resource
        Parameters:
        ManufacturingResourceType - Manufacturing Resource Type
      • setM_Warehouse_ID

        public void setM_Warehouse_ID​(int M_Warehouse_ID)
        Set Warehouse.
        Specified by:
        setM_Warehouse_ID in interface I_S_Resource
        Parameters:
        M_Warehouse_ID - Storage Warehouse and Service Point
      • getM_Warehouse_ID

        public int getM_Warehouse_ID()
        Get Warehouse.
        Specified by:
        getM_Warehouse_ID in interface I_S_Resource
        Returns:
        Storage Warehouse and Service Point
      • setName

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

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

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

        public void setPercentUtilization​(BigDecimal PercentUtilization)
        Set % Utilization.
        Specified by:
        setPercentUtilization in interface I_S_Resource
        Parameters:
        PercentUtilization - % Utilization
      • setPlanningHorizon

        public void setPlanningHorizon​(int PlanningHorizon)
        Set Planning Horizon.
        Specified by:
        setPlanningHorizon in interface I_S_Resource
        Parameters:
        PlanningHorizon - The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.
      • getPlanningHorizon

        public int getPlanningHorizon()
        Get Planning Horizon.
        Specified by:
        getPlanningHorizon in interface I_S_Resource
        Returns:
        The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.
      • setQueuingTime

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

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

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

        public int getS_Resource_ID()
        Get Resource.
        Specified by:
        getS_Resource_ID in interface I_S_Resource
        Returns:
        Resource
      • setS_ResourceType_ID

        public void setS_ResourceType_ID​(int S_ResourceType_ID)
        Set Resource Type.
        Specified by:
        setS_ResourceType_ID in interface I_S_Resource
        Parameters:
        S_ResourceType_ID - Resource Type
      • getS_ResourceType_ID

        public int getS_ResourceType_ID()
        Get Resource Type.
        Specified by:
        getS_ResourceType_ID in interface I_S_Resource
        Returns:
        Resource Type
      • setS_Resource_UU

        public void setS_Resource_UU​(String S_Resource_UU)
        Set S_Resource_UU.
        Specified by:
        setS_Resource_UU in interface I_S_Resource
        Parameters:
        S_Resource_UU - S_Resource_UU
      • setValue

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

        public void setWaitingTime​(BigDecimal WaitingTime)
        Set Waiting Time.
        Specified by:
        setWaitingTime in interface I_S_Resource
        Parameters:
        WaitingTime - Workflow Simulation Waiting time