Class X_M_BP_Price

    • Field Detail

      • PRICEOVERRIDETYPE_AD_Reference_ID

        public static final int PRICEOVERRIDETYPE_AD_Reference_ID
        PriceOverrideType AD_Reference_ID=53410
        See Also:
        Constant Field Values
      • PRICEOVERRIDETYPE_FixedPrice

        public static final String PRICEOVERRIDETYPE_FixedPrice
        Fixed Price = P
        See Also:
        Constant Field Values
    • Constructor Detail

      • X_M_BP_Price

        public X_M_BP_Price​(Properties ctx,
                            int M_BP_Price_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
      • 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
      • 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
      • 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
      • 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
      • 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
      • setPriceList

        public void setPriceList​(BigDecimal PriceList)
        Set List Price.
        Specified by:
        setPriceList in interface I_M_BP_Price
        Parameters:
        PriceList - 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
      • 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)