Class X_M_Cost

    • 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
      • setC_AcctSchema_ID

        public void setC_AcctSchema_ID​(int C_AcctSchema_ID)
        Set Accounting Schema.
        Specified by:
        setC_AcctSchema_ID in interface I_M_Cost
        Parameters:
        C_AcctSchema_ID - Rules for accounting
      • getC_AcctSchema_ID

        public int getC_AcctSchema_ID()
        Get Accounting Schema.
        Specified by:
        getC_AcctSchema_ID in interface I_M_Cost
        Returns:
        Rules for accounting
      • setCostingMethod

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

        public String getCostingMethod()
        Get Costing Method.
        Specified by:
        getCostingMethod in interface I_M_Cost
        Returns:
        Indicates how Costs will be calculated
      • setCumulatedAmt

        public void setCumulatedAmt​(BigDecimal CumulatedAmt)
        Set Accumulated Amt.
        Specified by:
        setCumulatedAmt in interface I_M_Cost
        Parameters:
        CumulatedAmt - Total Amount
      • setCumulatedQty

        public void setCumulatedQty​(BigDecimal CumulatedQty)
        Set Accumulated Qty.
        Specified by:
        setCumulatedQty in interface I_M_Cost
        Parameters:
        CumulatedQty - Total Quantity
      • setCurrentCostPrice

        public void setCurrentCostPrice​(BigDecimal CurrentCostPrice)
        Set Current Cost Price.
        Specified by:
        setCurrentCostPrice in interface I_M_Cost
        Parameters:
        CurrentCostPrice - The currently used cost price
      • setCurrentCostPriceLL

        public void setCurrentCostPriceLL​(BigDecimal CurrentCostPriceLL)
        Set Current Cost Price Lower Level.
        Specified by:
        setCurrentCostPriceLL in interface I_M_Cost
        Parameters:
        CurrentCostPriceLL - Current Price Lower Level Is the sum of the costs of the components of this product manufactured for this level.
      • getCurrentCostPriceLL

        public BigDecimal getCurrentCostPriceLL()
        Get Current Cost Price Lower Level.
        Specified by:
        getCurrentCostPriceLL in interface I_M_Cost
        Returns:
        Current Price Lower Level Is the sum of the costs of the components of this product manufactured for this level.
      • setCurrentQty

        public void setCurrentQty​(BigDecimal CurrentQty)
        Set Current Quantity.
        Specified by:
        setCurrentQty in interface I_M_Cost
        Parameters:
        CurrentQty - Current Quantity
      • setDescription

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

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

        public void setFutureCostPrice​(BigDecimal FutureCostPrice)
        Set Future Cost Price.
        Specified by:
        setFutureCostPrice in interface I_M_Cost
        Parameters:
        FutureCostPrice - Future Cost Price
      • setFutureCostPriceLL

        public void setFutureCostPriceLL​(BigDecimal FutureCostPriceLL)
        Set Future Cost Price Lower Level.
        Specified by:
        setFutureCostPriceLL in interface I_M_Cost
        Parameters:
        FutureCostPriceLL - Future Cost Price Lower Level
      • getFutureCostPriceLL

        public BigDecimal getFutureCostPriceLL()
        Get Future Cost Price Lower Level.
        Specified by:
        getFutureCostPriceLL in interface I_M_Cost
        Returns:
        Future Cost Price Lower Level
      • setIsCostFrozen

        public void setIsCostFrozen​(boolean IsCostFrozen)
        Set Cost Frozen.
        Specified by:
        setIsCostFrozen in interface I_M_Cost
        Parameters:
        IsCostFrozen - Indicated that the Standard Cost is frozen
      • isCostFrozen

        public boolean isCostFrozen()
        Get Cost Frozen.
        Specified by:
        isCostFrozen in interface I_M_Cost
        Returns:
        Indicated that the Standard Cost is frozen
      • setM_AttributeSetInstance_ID

        public void setM_AttributeSetInstance_ID​(int M_AttributeSetInstance_ID)
        Set Attribute Set Instance.
        Specified by:
        setM_AttributeSetInstance_ID in interface I_M_Cost
        Parameters:
        M_AttributeSetInstance_ID - Product Attribute Set Instance
      • getM_AttributeSetInstance_ID

        public int getM_AttributeSetInstance_ID()
        Get Attribute Set Instance.
        Specified by:
        getM_AttributeSetInstance_ID in interface I_M_Cost
        Returns:
        Product Attribute Set Instance
      • setM_CostElement_ID

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

        public int getM_CostElement_ID()
        Get Cost Element.
        Specified by:
        getM_CostElement_ID in interface I_M_Cost
        Returns:
        Product Cost Element
      • setM_CostType_ID

        public void setM_CostType_ID​(int M_CostType_ID)
        Set Cost Type.
        Specified by:
        setM_CostType_ID in interface I_M_Cost
        Parameters:
        M_CostType_ID - Type of Cost (e.g. Current, Plan, Future)
      • getM_CostType_ID

        public int getM_CostType_ID()
        Get Cost Type.
        Specified by:
        getM_CostType_ID in interface I_M_Cost
        Returns:
        Type of Cost (e.g. Current, Plan, Future)
      • setM_Cost_UU

        public void setM_Cost_UU​(String M_Cost_UU)
        Set M_Cost_UU.
        Specified by:
        setM_Cost_UU in interface I_M_Cost
        Parameters:
        M_Cost_UU - M_Cost_UU
      • getM_Cost_UU

        public String getM_Cost_UU()
        Get M_Cost_UU.
        Specified by:
        getM_Cost_UU in interface I_M_Cost
        Returns:
        M_Cost_UU
      • setM_Product_ID

        public void setM_Product_ID​(int M_Product_ID)
        Set Product.
        Specified by:
        setM_Product_ID in interface I_M_Cost
        Parameters:
        M_Product_ID - Product, Service, Item
      • getM_Product_ID

        public int getM_Product_ID()
        Get Product.
        Specified by:
        getM_Product_ID in interface I_M_Cost
        Returns:
        Product, Service, Item
      • setPercent

        public void setPercent​(int Percent)
        Set Percent.
        Specified by:
        setPercent in interface I_M_Cost
        Parameters:
        Percent - Percentage
      • getPercent

        public int getPercent()
        Get Percent.
        Specified by:
        getPercent in interface I_M_Cost
        Returns:
        Percentage
      • setProcessed

        public void setProcessed​(boolean Processed)
        Set Processed.
        Specified by:
        setProcessed in interface I_M_Cost
        Parameters:
        Processed - The document has been processed
      • isProcessed

        public boolean isProcessed()
        Get Processed.
        Specified by:
        isProcessed in interface I_M_Cost
        Returns:
        The document has been processed