Class X_M_CostElement

    • Constructor Detail

      • X_M_CostElement

        public X_M_CostElement​(Properties ctx,
                               int M_CostElement_ID,
                               String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        2 - 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
      • setCostElementType

        public void setCostElementType​(String CostElementType)
        Set Cost Element Type.
        Specified by:
        setCostElementType in interface I_M_CostElement
        Parameters:
        CostElementType - Type of Cost Element
      • setCostingMethod

        public void setCostingMethod​(String CostingMethod)
        Set Costing Method.
        Specified by:
        setCostingMethod in interface I_M_CostElement
        Parameters:
        CostingMethod - Indicates how Costs will be calculated
      • setDescription

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

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

        public void setIsCalculated​(boolean IsCalculated)
        Set Calculated.
        Specified by:
        setIsCalculated in interface I_M_CostElement
        Parameters:
        IsCalculated - The value is calculated by the system
      • isCalculated

        public boolean isCalculated()
        Get Calculated.
        Specified by:
        isCalculated in interface I_M_CostElement
        Returns:
        The value is calculated by the system
      • setM_CostElement_ID

        public void setM_CostElement_ID​(int M_CostElement_ID)
        Set Cost Element.
        Specified by:
        setM_CostElement_ID in interface I_M_CostElement
        Parameters:
        M_CostElement_ID - Product Cost Element
      • setM_CostElement_UU

        public void setM_CostElement_UU​(String M_CostElement_UU)
        Set M_CostElement_UU.
        Specified by:
        setM_CostElement_UU in interface I_M_CostElement
        Parameters:
        M_CostElement_UU - M_CostElement_UU
      • setName

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

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

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