Class X_M_BP_Price

java.lang.Object
org.compiere.model.PO
org.compiere.model.X_M_BP_Price
All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_M_BP_Price, I_Persistent, Evaluatee

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

    • PRICEOVERRIDETYPE_AD_Reference_ID

      public static final int PRICEOVERRIDETYPE_AD_Reference_ID
      PriceOverrideType AD_Reference_ID=53410
      See Also:
    • PRICEOVERRIDETYPE_Discount

      public static final String PRICEOVERRIDETYPE_Discount
      Discount = D
      See Also:
    • PRICEOVERRIDETYPE_FixedPrice

      public static final String PRICEOVERRIDETYPE_FixedPrice
      Fixed Price = P
      See Also:
  • Constructor Details

    • X_M_BP_Price

      public X_M_BP_Price(Properties ctx, int M_BP_Price_ID, String trxName)
      Standard Constructor
    • X_M_BP_Price

      public X_M_BP_Price(Properties ctx, int M_BP_Price_ID, String trxName, String... virtualColumns)
      Standard Constructor
    • X_M_BP_Price

      public X_M_BP_Price(Properties ctx, String M_BP_Price_UU, String trxName)
      Standard Constructor
    • X_M_BP_Price

      public X_M_BP_Price(Properties ctx, String M_BP_Price_UU, String trxName, String... virtualColumns)
      Standard Constructor
    • X_M_BP_Price

      public X_M_BP_Price(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
  • 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
    • setBreakValue

      public void setBreakValue(BigDecimal BreakValue)
      Set Break Value.
      Specified by:
      setBreakValue in interface I_M_BP_Price
      Parameters:
      BreakValue - Low Value of trade discount break level
    • getBreakValue

      public BigDecimal getBreakValue()
      Get Break Value.
      Specified by:
      getBreakValue in interface I_M_BP_Price
      Returns:
      Low Value of trade discount break level
    • getC_BPartner

      public I_C_BPartner getC_BPartner() throws RuntimeException
      Specified by:
      getC_BPartner in interface I_M_BP_Price
      Throws:
      RuntimeException
    • setC_BPartner_ID

      public void setC_BPartner_ID(int C_BPartner_ID)
      Set Business Partner.
      Specified by:
      setC_BPartner_ID in interface I_M_BP_Price
      Parameters:
      C_BPartner_ID - Identifies a Business Partner
    • getC_BPartner_ID

      public int getC_BPartner_ID()
      Get Business Partner.
      Specified by:
      getC_BPartner_ID in interface I_M_BP_Price
      Returns:
      Identifies a Business Partner
    • getC_Currency

      public I_C_Currency getC_Currency() throws RuntimeException
      Specified by:
      getC_Currency in interface I_M_BP_Price
      Throws:
      RuntimeException
    • setC_Currency_ID

      public void setC_Currency_ID(int C_Currency_ID)
      Set Currency.
      Specified by:
      setC_Currency_ID in interface I_M_BP_Price
      Parameters:
      C_Currency_ID - The Currency for this record
    • getC_Currency_ID

      public int getC_Currency_ID()
      Get Currency.
      Specified by:
      getC_Currency_ID in interface I_M_BP_Price
      Returns:
      The Currency for this record
    • setComments

      public void setComments(String Comments)
      Set Comments.
      Specified by:
      setComments in interface I_M_BP_Price
      Parameters:
      Comments - Comments or additional information
    • getComments

      public String getComments()
      Get Comments.
      Specified by:
      getComments in interface I_M_BP_Price
      Returns:
      Comments or additional information
    • setDiscount

      public void setDiscount(BigDecimal Discount)
      Set Discount %.
      Specified by:
      setDiscount in interface I_M_BP_Price
      Parameters:
      Discount - Discount in percent
    • getDiscount

      public BigDecimal getDiscount()
      Get Discount %.
      Specified by:
      getDiscount in interface I_M_BP_Price
      Returns:
      Discount in percent
    • setIsNetPrice

      public void setIsNetPrice(boolean IsNetPrice)
      Set Net Price.
      Specified by:
      setIsNetPrice in interface I_M_BP_Price
      Parameters:
      IsNetPrice - Net Price including all discounts
    • isNetPrice

      public boolean isNetPrice()
      Get Net Price.
      Specified by:
      isNetPrice in interface I_M_BP_Price
      Returns:
      Net Price including all discounts
    • setM_BP_Price_ID

      public void setM_BP_Price_ID(int M_BP_Price_ID)
      Set Business Partner Price.
      Specified by:
      setM_BP_Price_ID in interface I_M_BP_Price
      Parameters:
      M_BP_Price_ID - Business Partner Price
    • getM_BP_Price_ID

      public int getM_BP_Price_ID()
      Get Business Partner Price.
      Specified by:
      getM_BP_Price_ID in interface I_M_BP_Price
      Returns:
      Business Partner Price
    • setM_BP_Price_UU

      public void setM_BP_Price_UU(String M_BP_Price_UU)
      Set M_BP_Price_UU.
      Specified by:
      setM_BP_Price_UU in interface I_M_BP_Price
      Parameters:
      M_BP_Price_UU - M_BP_Price_UU
    • getM_BP_Price_UU

      public String getM_BP_Price_UU()
      Get M_BP_Price_UU.
      Specified by:
      getM_BP_Price_UU in interface I_M_BP_Price
      Returns:
      M_BP_Price_UU
    • getM_Product

      public I_M_Product getM_Product() throws RuntimeException
      Specified by:
      getM_Product in interface I_M_BP_Price
      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_BP_Price
      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_BP_Price
      Returns:
      Product, Service, Item
    • getKeyNamePair

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

      public void setPriceLimit(BigDecimal PriceLimit)
      Set Limit Price.
      Specified by:
      setPriceLimit in interface I_M_BP_Price
      Parameters:
      PriceLimit - Lowest price for a product
    • getPriceLimit

      public BigDecimal getPriceLimit()
      Get Limit Price.
      Specified by:
      getPriceLimit in interface I_M_BP_Price
      Returns:
      Lowest price for a product
    • setPriceList

      public void setPriceList(BigDecimal PriceList)
      Set List Price.
      Specified by:
      setPriceList in interface I_M_BP_Price
      Parameters:
      PriceList - List Price
    • getPriceList

      public BigDecimal getPriceList()
      Get List Price.
      Specified by:
      getPriceList in interface I_M_BP_Price
      Returns:
      List Price
    • setPriceOverrideType

      public void setPriceOverrideType(String PriceOverrideType)
      Set Price Override Type.
      Specified by:
      setPriceOverrideType in interface I_M_BP_Price
      Parameters:
      PriceOverrideType - Type of price override, fixed price or discount off list
    • getPriceOverrideType

      public String getPriceOverrideType()
      Get Price Override Type.
      Specified by:
      getPriceOverrideType in interface I_M_BP_Price
      Returns:
      Type of price override, fixed price or discount off list
    • setPriceStd

      public void setPriceStd(BigDecimal PriceStd)
      Set Standard Price.
      Specified by:
      setPriceStd in interface I_M_BP_Price
      Parameters:
      PriceStd - Standard Price
    • getPriceStd

      public BigDecimal getPriceStd()
      Get Standard Price.
      Specified by:
      getPriceStd in interface I_M_BP_Price
      Returns:
      Standard Price
    • setValidFrom

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

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

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

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