Class X_I_Product

    • Constructor Detail

      • X_I_Product

        public X_I_Product​(Properties ctx,
                           int I_Product_ID,
                           String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        2 - Client
      • 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
      • setBPartner_Value

        public void setBPartner_Value​(String BPartner_Value)
        Set Business Partner Key.
        Specified by:
        setBPartner_Value in interface I_I_Product
        Parameters:
        BPartner_Value - The Key of the Business Partner
      • getBPartner_Value

        public String getBPartner_Value()
        Get Business Partner Key.
        Specified by:
        getBPartner_Value in interface I_I_Product
        Returns:
        The Key of the Business Partner
      • setC_BPartner_ID

        public void setC_BPartner_ID​(int C_BPartner_ID)
        Set Business Partner.
        Specified by:
        setC_BPartner_ID in interface I_I_Product
        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_I_Product
        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_I_Product
        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_I_Product
        Returns:
        The Currency for this record
      • setClassification

        public void setClassification​(String Classification)
        Set Classification.
        Specified by:
        setClassification in interface I_I_Product
        Parameters:
        Classification - Classification for grouping
      • getClassification

        public String getClassification()
        Get Classification.
        Specified by:
        getClassification in interface I_I_Product
        Returns:
        Classification for grouping
      • setCostPerOrder

        public void setCostPerOrder​(BigDecimal CostPerOrder)
        Set Cost per Order.
        Specified by:
        setCostPerOrder in interface I_I_Product
        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_I_Product
        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_I_Product
        Returns:
        Unit of Measure
      • setCustomsTariffNumber

        public void setCustomsTariffNumber​(String CustomsTariffNumber)
        Set Customs Tariff Number.
        Specified by:
        setCustomsTariffNumber in interface I_I_Product
        Parameters:
        CustomsTariffNumber - Customs Tariff Number, usually the HS-Code
      • getCustomsTariffNumber

        public String getCustomsTariffNumber()
        Get Customs Tariff Number.
        Specified by:
        getCustomsTariffNumber in interface I_I_Product
        Returns:
        Customs Tariff Number, usually the HS-Code
      • setDeliveryTime_Promised

        public void setDeliveryTime_Promised​(int DeliveryTime_Promised)
        Set Promised Delivery Time.
        Specified by:
        setDeliveryTime_Promised in interface I_I_Product
        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_I_Product
        Returns:
        Promised days between order and delivery
      • setDescription

        public void setDescription​(String Description)
        Set Description.
        Specified by:
        setDescription in interface I_I_Product
        Parameters:
        Description - Optional short description of the record
      • getDescription

        public String getDescription()
        Get Description.
        Specified by:
        getDescription in interface I_I_Product
        Returns:
        Optional short description of the record
      • setDescriptionURL

        public void setDescriptionURL​(String DescriptionURL)
        Set Description URL.
        Specified by:
        setDescriptionURL in interface I_I_Product
        Parameters:
        DescriptionURL - URL for the description
      • setDiscontinued

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

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

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

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

        public void setDocumentNote​(String DocumentNote)
        Set Document Note.
        Specified by:
        setDocumentNote in interface I_I_Product
        Parameters:
        DocumentNote - Additional information for a Document
      • getDocumentNote

        public String getDocumentNote()
        Get Document Note.
        Specified by:
        getDocumentNote in interface I_I_Product
        Returns:
        Additional information for a Document
      • setGroup1

        public void setGroup1​(String Group1)
        Set Group1.
        Specified by:
        setGroup1 in interface I_I_Product
        Parameters:
        Group1 - Group1
      • setGroup2

        public void setGroup2​(String Group2)
        Set Group2.
        Specified by:
        setGroup2 in interface I_I_Product
        Parameters:
        Group2 - Group2
      • setHelp

        public void setHelp​(String Help)
        Set Comment/Help.
        Specified by:
        setHelp in interface I_I_Product
        Parameters:
        Help - Comment or Hint
      • getHelp

        public String getHelp()
        Get Comment/Help.
        Specified by:
        getHelp in interface I_I_Product
        Returns:
        Comment or Hint
      • setI_ErrorMsg

        public void setI_ErrorMsg​(String I_ErrorMsg)
        Set Import Error Message.
        Specified by:
        setI_ErrorMsg in interface I_I_Product
        Parameters:
        I_ErrorMsg - Messages generated from import process
      • getI_ErrorMsg

        public String getI_ErrorMsg()
        Get Import Error Message.
        Specified by:
        getI_ErrorMsg in interface I_I_Product
        Returns:
        Messages generated from import process
      • setI_IsImported

        public void setI_IsImported​(boolean I_IsImported)
        Set Imported.
        Specified by:
        setI_IsImported in interface I_I_Product
        Parameters:
        I_IsImported - Has this import been processed
      • isI_IsImported

        public boolean isI_IsImported()
        Get Imported.
        Specified by:
        isI_IsImported in interface I_I_Product
        Returns:
        Has this import been processed
      • setImageURL

        public void setImageURL​(String ImageURL)
        Set Image URL.
        Specified by:
        setImageURL in interface I_I_Product
        Parameters:
        ImageURL - URL of image
      • setI_Product_ID

        public void setI_Product_ID​(int I_Product_ID)
        Set Import Product.
        Specified by:
        setI_Product_ID in interface I_I_Product
        Parameters:
        I_Product_ID - Import Item or Service
      • getI_Product_ID

        public int getI_Product_ID()
        Get Import Product.
        Specified by:
        getI_Product_ID in interface I_I_Product
        Returns:
        Import Item or Service
      • setI_Product_UU

        public void setI_Product_UU​(String I_Product_UU)
        Set I_Product_UU.
        Specified by:
        setI_Product_UU in interface I_I_Product
        Parameters:
        I_Product_UU - I_Product_UU
      • setISO_Code

        public void setISO_Code​(String ISO_Code)
        Set ISO Currency Code.
        Specified by:
        setISO_Code in interface I_I_Product
        Parameters:
        ISO_Code - Three letter ISO 4217 Code of the Currency
      • getISO_Code

        public String getISO_Code()
        Get ISO Currency Code.
        Specified by:
        getISO_Code in interface I_I_Product
        Returns:
        Three letter ISO 4217 Code of the Currency
      • setManufacturer

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

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

        public void setM_Product_Category_ID​(int M_Product_Category_ID)
        Set Product Category.
        Specified by:
        setM_Product_Category_ID in interface I_I_Product
        Parameters:
        M_Product_Category_ID - Category of a Product
      • getM_Product_Category_ID

        public int getM_Product_Category_ID()
        Get Product Category.
        Specified by:
        getM_Product_Category_ID in interface I_I_Product
        Returns:
        Category of a Product
      • setM_Product_ID

        public void setM_Product_ID​(int M_Product_ID)
        Set Product.
        Specified by:
        setM_Product_ID in interface I_I_Product
        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_I_Product
        Returns:
        Product, Service, Item
      • setName

        public void setName​(String Name)
        Set Name.
        Specified by:
        setName in interface I_I_Product
        Parameters:
        Name - Alphanumeric identifier of the entity
      • getName

        public String getName()
        Get Name.
        Specified by:
        getName in interface I_I_Product
        Returns:
        Alphanumeric identifier of the entity
      • setOrder_Min

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

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

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

        public int getOrder_Pack()
        Get Order Pack Qty.
        Specified by:
        getOrder_Pack in interface I_I_Product
        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_I_Product
        Parameters:
        PriceEffective - Effective Date of Price
      • setPriceLimit

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

        public void setPriceList​(BigDecimal PriceList)
        Set List Price.
        Specified by:
        setPriceList in interface I_I_Product
        Parameters:
        PriceList - List Price
      • setPricePO

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

        public void setPriceStd​(BigDecimal PriceStd)
        Set Standard Price.
        Specified by:
        setPriceStd in interface I_I_Product
        Parameters:
        PriceStd - Standard Price
      • setProcessed

        public void setProcessed​(boolean Processed)
        Set Processed.
        Specified by:
        setProcessed in interface I_I_Product
        Parameters:
        Processed - The document has been processed
      • isProcessed

        public boolean isProcessed()
        Get Processed.
        Specified by:
        isProcessed in interface I_I_Product
        Returns:
        The document has been processed
      • setProcessing

        public void setProcessing​(boolean Processing)
        Set Process Now.
        Specified by:
        setProcessing in interface I_I_Product
        Parameters:
        Processing - Process Now
      • isProcessing

        public boolean isProcessing()
        Get Process Now.
        Specified by:
        isProcessing in interface I_I_Product
        Returns:
        Process Now
      • setProductCategory_Value

        public void setProductCategory_Value​(String ProductCategory_Value)
        Set Product Category Key.
        Specified by:
        setProductCategory_Value in interface I_I_Product
        Parameters:
        ProductCategory_Value - Product Category Key
      • setProductType

        public void setProductType​(String ProductType)
        Set Product Type.
        Specified by:
        setProductType in interface I_I_Product
        Parameters:
        ProductType - Type of product
      • setRoyaltyAmt

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

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

        public void setShelfDepth​(int ShelfDepth)
        Set Shelf Depth.
        Specified by:
        setShelfDepth in interface I_I_Product
        Parameters:
        ShelfDepth - Shelf depth required
      • getShelfDepth

        public int getShelfDepth()
        Get Shelf Depth.
        Specified by:
        getShelfDepth in interface I_I_Product
        Returns:
        Shelf depth required
      • setShelfHeight

        public void setShelfHeight​(BigDecimal ShelfHeight)
        Set Shelf Height.
        Specified by:
        setShelfHeight in interface I_I_Product
        Parameters:
        ShelfHeight - Shelf height required
      • setShelfWidth

        public void setShelfWidth​(int ShelfWidth)
        Set Shelf Width.
        Specified by:
        setShelfWidth in interface I_I_Product
        Parameters:
        ShelfWidth - Shelf width required
      • getShelfWidth

        public int getShelfWidth()
        Get Shelf Width.
        Specified by:
        getShelfWidth in interface I_I_Product
        Returns:
        Shelf width required
      • setSKU

        public void setSKU​(String SKU)
        Set SKU.
        Specified by:
        setSKU in interface I_I_Product
        Parameters:
        SKU - Stock Keeping Unit
      • getSKU

        public String getSKU()
        Get SKU.
        Specified by:
        getSKU in interface I_I_Product
        Returns:
        Stock Keeping Unit
      • setUnitsPerPallet

        public void setUnitsPerPallet​(int UnitsPerPallet)
        Set Units Per Pallet.
        Specified by:
        setUnitsPerPallet in interface I_I_Product
        Parameters:
        UnitsPerPallet - Units Per Pallet
      • getUnitsPerPallet

        public int getUnitsPerPallet()
        Get Units Per Pallet.
        Specified by:
        getUnitsPerPallet in interface I_I_Product
        Returns:
        Units Per Pallet
      • setUPC

        public void setUPC​(String UPC)
        Set UPC/EAN.
        Specified by:
        setUPC in interface I_I_Product
        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_I_Product
        Returns:
        Bar Code (Universal Product Code or its superset European Article Number)
      • setValue

        public void setValue​(String Value)
        Set Search Key.
        Specified by:
        setValue in interface I_I_Product
        Parameters:
        Value - Search key for the record in the format required - must be unique
      • getValue

        public String getValue()
        Get Search Key.
        Specified by:
        getValue in interface I_I_Product
        Returns:
        Search key for the record in the format required - must be unique
      • getKeyNamePair

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

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

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

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

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

        public void setVolume​(BigDecimal Volume)
        Set Volume.
        Specified by:
        setVolume in interface I_I_Product
        Parameters:
        Volume - Volume of a product
      • setWeight

        public void setWeight​(BigDecimal Weight)
        Set Weight.
        Specified by:
        setWeight in interface I_I_Product
        Parameters:
        Weight - Weight of a product
      • setX12DE355

        public void setX12DE355​(String X12DE355)
        Set UOM Code.
        Specified by:
        setX12DE355 in interface I_I_Product
        Parameters:
        X12DE355 - UOM EDI X12 Code