Class X_M_Product_PO

    • Constructor Detail

      • X_M_Product_PO

        public X_M_Product_PO​(Properties ctx,
                              int M_Product_PO_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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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.
      • 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