Class X_M_Cost

java.lang.Object
org.compiere.model.PO
org.compiere.model.X_M_Cost
All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_M_Cost, I_Persistent, Evaluatee
Direct Known Subclasses:
MCost

public class X_M_Cost extends PO implements I_M_Cost, I_Persistent
Generated Model for M_Cost
Version:
Release 11 - $Id$
Author:
iDempiere (generated)
See Also:
  • Field Details

  • Constructor Details

  • Method Details

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

      public I_C_AcctSchema getC_AcctSchema() throws RuntimeException
      Specified by:
      getC_AcctSchema in interface I_M_Cost
      Throws:
      RuntimeException
    • 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
    • getCumulatedAmt

      public BigDecimal getCumulatedAmt()
      Get Accumulated Amt.
      Specified by:
      getCumulatedAmt in interface I_M_Cost
      Returns:
      Total Amount
    • setCumulatedQty

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

      public BigDecimal getCumulatedQty()
      Get Accumulated Qty.
      Specified by:
      getCumulatedQty in interface I_M_Cost
      Returns:
      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
    • getCurrentCostPrice

      public BigDecimal getCurrentCostPrice()
      Get Current Cost Price.
      Specified by:
      getCurrentCostPrice in interface I_M_Cost
      Returns:
      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
    • getCurrentQty

      public BigDecimal getCurrentQty()
      Get Current Quantity.
      Specified by:
      getCurrentQty in interface I_M_Cost
      Returns:
      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
    • getFutureCostPrice

      public BigDecimal getFutureCostPrice()
      Get Future Cost Price.
      Specified by:
      getFutureCostPrice in interface I_M_Cost
      Returns:
      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
    • getM_AttributeSetInstance

      public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException
      Specified by:
      getM_AttributeSetInstance in interface I_M_Cost
      Throws:
      RuntimeException
    • 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
    • getM_CostElement

      public I_M_CostElement getM_CostElement() throws RuntimeException
      Specified by:
      getM_CostElement in interface I_M_Cost
      Throws:
      RuntimeException
    • 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
    • getM_CostType

      public I_M_CostType getM_CostType() throws RuntimeException
      Specified by:
      getM_CostType in interface I_M_Cost
      Throws:
      RuntimeException
    • 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
    • getM_Product

      public I_M_Product getM_Product() throws RuntimeException
      Specified by:
      getM_Product in interface I_M_Cost
      Throws:
      RuntimeException
    • 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