Class X_M_Product_PO

java.lang.Object
org.compiere.model.PO
org.compiere.model.X_M_Product_PO
All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_M_Product_PO, I_Persistent, Evaluatee
Direct Known Subclasses:
MProductPO

public class X_M_Product_PO extends PO implements I_M_Product_PO, I_Persistent
Generated Model for M_Product_PO
Version:
Release 11 - $Id$
Author:
iDempiere (generated)
See Also:
  • Constructor Details

    • X_M_Product_PO

      public X_M_Product_PO(Properties ctx, int M_Product_PO_ID, String trxName)
      Standard Constructor
    • X_M_Product_PO

      public X_M_Product_PO(Properties ctx, int M_Product_PO_ID, String trxName, String... virtualColumns)
      Standard Constructor
    • X_M_Product_PO

      public X_M_Product_PO(Properties ctx, String M_Product_PO_UU, String trxName)
      Standard Constructor
    • X_M_Product_PO

      public X_M_Product_PO(Properties ctx, String M_Product_PO_UU, String trxName, String... virtualColumns)
      Standard Constructor
    • X_M_Product_PO

      public X_M_Product_PO(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
    • getC_BPartner

      public I_C_BPartner getC_BPartner() throws RuntimeException
      Specified by:
      getC_BPartner in interface I_M_Product_PO
      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_Product_PO
      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_Product_PO
      Returns:
      Identifies a Business Partner
    • getC_Currency

      public I_C_Currency getC_Currency() throws RuntimeException
      Specified by:
      getC_Currency in interface I_M_Product_PO
      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_Product_PO
      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_Product_PO
      Returns:
      The Currency for this record
    • setCostPerOrder

      public void setCostPerOrder(BigDecimal CostPerOrder)
      Set Cost per Order.
      Specified by:
      setCostPerOrder in interface I_M_Product_PO
      Parameters:
      CostPerOrder - Fixed Cost Per Order
    • getCostPerOrder

      public BigDecimal getCostPerOrder()
      Get Cost per Order.
      Specified by:
      getCostPerOrder in interface I_M_Product_PO
      Returns:
      Fixed Cost Per Order
    • getC_UOM

      public I_C_UOM getC_UOM() throws RuntimeException
      Specified by:
      getC_UOM in interface I_M_Product_PO
      Throws:
      RuntimeException
    • setC_UOM_ID

      public void setC_UOM_ID(int C_UOM_ID)
      Set UOM.
      Specified by:
      setC_UOM_ID in interface I_M_Product_PO
      Parameters:
      C_UOM_ID - Unit of Measure
    • getC_UOM_ID

      public int getC_UOM_ID()
      Get UOM.
      Specified by:
      getC_UOM_ID in interface I_M_Product_PO
      Returns:
      Unit of Measure
    • setDeliveryTime_Actual

      public void setDeliveryTime_Actual(int DeliveryTime_Actual)
      Set Actual Delivery Time.
      Specified by:
      setDeliveryTime_Actual in interface I_M_Product_PO
      Parameters:
      DeliveryTime_Actual - Actual days between order and delivery
    • getDeliveryTime_Actual

      public int getDeliveryTime_Actual()
      Get Actual Delivery Time.
      Specified by:
      getDeliveryTime_Actual in interface I_M_Product_PO
      Returns:
      Actual days between order and delivery
    • setDeliveryTime_Promised

      public void setDeliveryTime_Promised(int DeliveryTime_Promised)
      Set Promised Delivery Time.
      Specified by:
      setDeliveryTime_Promised in interface I_M_Product_PO
      Parameters:
      DeliveryTime_Promised - Promised days between order and delivery
    • getDeliveryTime_Promised

      public int getDeliveryTime_Promised()
      Get Promised Delivery Time.
      Specified by:
      getDeliveryTime_Promised in interface I_M_Product_PO
      Returns:
      Promised days between order and delivery
    • setDiscontinued

      public void setDiscontinued(boolean Discontinued)
      Set Discontinued.
      Specified by:
      setDiscontinued in interface I_M_Product_PO
      Parameters:
      Discontinued - This product is no longer available
    • isDiscontinued

      public boolean isDiscontinued()
      Get Discontinued.
      Specified by:
      isDiscontinued in interface I_M_Product_PO
      Returns:
      This product is no longer available
    • setDiscontinuedAt

      public void setDiscontinuedAt(Timestamp DiscontinuedAt)
      Set Discontinued At.
      Specified by:
      setDiscontinuedAt in interface I_M_Product_PO
      Parameters:
      DiscontinuedAt - Discontinued At indicates Date when product was discontinued
    • getDiscontinuedAt

      public Timestamp getDiscontinuedAt()
      Get Discontinued At.
      Specified by:
      getDiscontinuedAt in interface I_M_Product_PO
      Returns:
      Discontinued At indicates Date when product was discontinued
    • setIsCurrentVendor

      public void setIsCurrentVendor(boolean IsCurrentVendor)
      Set Current vendor.
      Specified by:
      setIsCurrentVendor in interface I_M_Product_PO
      Parameters:
      IsCurrentVendor - Use this Vendor for pricing and stock replenishment
    • isCurrentVendor

      public boolean isCurrentVendor()
      Get Current vendor.
      Specified by:
      isCurrentVendor in interface I_M_Product_PO
      Returns:
      Use this Vendor for pricing and stock replenishment
    • setManufacturer

      public void setManufacturer(String Manufacturer)
      Set Manufacturer.
      Specified by:
      setManufacturer in interface I_M_Product_PO
      Parameters:
      Manufacturer - Manufacturer of the Product
    • getManufacturer

      public String getManufacturer()
      Get Manufacturer.
      Specified by:
      getManufacturer in interface I_M_Product_PO
      Returns:
      Manufacturer of the Product
    • getM_Product

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

      public void setM_Product_PO_UU(String M_Product_PO_UU)
      Set M_Product_PO_UU.
      Specified by:
      setM_Product_PO_UU in interface I_M_Product_PO
      Parameters:
      M_Product_PO_UU - M_Product_PO_UU
    • getM_Product_PO_UU

      public String getM_Product_PO_UU()
      Get M_Product_PO_UU.
      Specified by:
      getM_Product_PO_UU in interface I_M_Product_PO
      Returns:
      M_Product_PO_UU
    • setOrder_Min

      public void setOrder_Min(BigDecimal Order_Min)
      Set Minimum Order Qty.
      Specified by:
      setOrder_Min in interface I_M_Product_PO
      Parameters:
      Order_Min - Minimum order quantity in UOM
    • getOrder_Min

      public BigDecimal getOrder_Min()
      Get Minimum Order Qty.
      Specified by:
      getOrder_Min in interface I_M_Product_PO
      Returns:
      Minimum order quantity in UOM
    • setOrder_Pack

      public void setOrder_Pack(BigDecimal Order_Pack)
      Set Order Pack Qty.
      Specified by:
      setOrder_Pack in interface I_M_Product_PO
      Parameters:
      Order_Pack - Package order size in UOM (e.g. order set of 5 units)
    • getOrder_Pack

      public BigDecimal getOrder_Pack()
      Get Order Pack Qty.
      Specified by:
      getOrder_Pack in interface I_M_Product_PO
      Returns:
      Package order size in UOM (e.g. order set of 5 units)
    • setPriceEffective

      public void setPriceEffective(Timestamp PriceEffective)
      Set Price effective.
      Specified by:
      setPriceEffective in interface I_M_Product_PO
      Parameters:
      PriceEffective - Effective Date of Price
    • getPriceEffective

      public Timestamp getPriceEffective()
      Get Price effective.
      Specified by:
      getPriceEffective in interface I_M_Product_PO
      Returns:
      Effective Date of Price
    • setPriceLastInv

      public void setPriceLastInv(BigDecimal PriceLastInv)
      Set Last Invoice Price.
      Specified by:
      setPriceLastInv in interface I_M_Product_PO
      Parameters:
      PriceLastInv - Price of the last invoice for the product
    • getPriceLastInv

      public BigDecimal getPriceLastInv()
      Get Last Invoice Price.
      Specified by:
      getPriceLastInv in interface I_M_Product_PO
      Returns:
      Price of the last invoice for the product
    • setPriceLastPO

      public void setPriceLastPO(BigDecimal PriceLastPO)
      Set Last PO Price.
      Specified by:
      setPriceLastPO in interface I_M_Product_PO
      Parameters:
      PriceLastPO - Price of the last purchase order for the product
    • getPriceLastPO

      public BigDecimal getPriceLastPO()
      Get Last PO Price.
      Specified by:
      getPriceLastPO in interface I_M_Product_PO
      Returns:
      Price of the last purchase order for the product
    • setPriceList

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

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

      public void setPricePO(BigDecimal PricePO)
      Set PO Price.
      Specified by:
      setPricePO in interface I_M_Product_PO
      Parameters:
      PricePO - Price based on a purchase order
    • getPricePO

      public BigDecimal getPricePO()
      Get PO Price.
      Specified by:
      getPricePO in interface I_M_Product_PO
      Returns:
      Price based on a purchase order
    • setQualityRating

      public void setQualityRating(int QualityRating)
      Set Quality Rating.
      Specified by:
      setQualityRating in interface I_M_Product_PO
      Parameters:
      QualityRating - Method for rating vendors
    • getQualityRating

      public int getQualityRating()
      Get Quality Rating.
      Specified by:
      getQualityRating in interface I_M_Product_PO
      Returns:
      Method for rating vendors
    • setRoyaltyAmt

      public void setRoyaltyAmt(BigDecimal RoyaltyAmt)
      Set Royalty Amount.
      Specified by:
      setRoyaltyAmt in interface I_M_Product_PO
      Parameters:
      RoyaltyAmt - (Included) Amount for copyright, etc.
    • getRoyaltyAmt

      public BigDecimal getRoyaltyAmt()
      Get Royalty Amount.
      Specified by:
      getRoyaltyAmt in interface I_M_Product_PO
      Returns:
      (Included) Amount for copyright, etc.
    • setUPC

      public void setUPC(String UPC)
      Set UPC/EAN.
      Specified by:
      setUPC in interface I_M_Product_PO
      Parameters:
      UPC - Bar Code (Universal Product Code or its superset European Article Number)
    • getUPC

      public String getUPC()
      Get UPC/EAN.
      Specified by:
      getUPC in interface I_M_Product_PO
      Returns:
      Bar Code (Universal Product Code or its superset European Article Number)
    • setVendorCategory

      public void setVendorCategory(String VendorCategory)
      Set Partner Category.
      Specified by:
      setVendorCategory in interface I_M_Product_PO
      Parameters:
      VendorCategory - Product Category of the Business Partner
    • getVendorCategory

      public String getVendorCategory()
      Get Partner Category.
      Specified by:
      getVendorCategory in interface I_M_Product_PO
      Returns:
      Product Category of the Business Partner
    • setVendorProductNo

      public void setVendorProductNo(String VendorProductNo)
      Set Partner Product Key.
      Specified by:
      setVendorProductNo in interface I_M_Product_PO
      Parameters:
      VendorProductNo - Product Key of the Business Partner
    • getVendorProductNo

      public String getVendorProductNo()
      Get Partner Product Key.
      Specified by:
      getVendorProductNo in interface I_M_Product_PO
      Returns:
      Product Key of the Business Partner