Class ProductInfo


  • public class ProductInfo
    extends Object
    Product Costing Information.
    Version:
    $Id: ProductInfo.java,v 1.2 2006/07/30 00:53:33 jjanke Exp $
    Author:
    Jorg Janke
    • Constructor Detail

      • ProductInfo

        public ProductInfo​(int M_Product_ID,
                           String trxName)
        Constructor
        Parameters:
        M_Product_ID - Product
        trxName - transcation
    • Method Detail

      • isProduct

        public boolean isProduct()
        Is Product/Item
        Returns:
        true if product
      • isBOM

        public boolean isBOM()
        Is it a BOM
        Returns:
        true if BOM
      • isStocked

        public boolean isStocked()
        Is it stocked
        Returns:
        true if stocked
      • isService

        public boolean isService()
        Is Service
        Returns:
        true if service
      • getProductCategory

        public String getProductCategory()
        Get Product Category (Value)
        Returns:
        M_Product_Category_ID
      • isRevenueRecognition

        public boolean isRevenueRecognition()
        Has Revenue Recognition
        Returns:
        true if product/service has revenue recognition
      • getC_RevenueRecognition_ID

        public int getC_RevenueRecognition_ID()
        Get Revenue Recognition
        Returns:
        C_RevenueRecognition_ID
      • getC_UOM_ID

        public int getC_UOM_ID()
        Quantity UOM
        Returns:
        C_UOM_ID
      • setQty

        public void setQty​(BigDecimal qty)
        Set Quantity in Storage UOM
        Parameters:
        qty - quantity
      • setQty

        public void setQty​(BigDecimal qty,
                           int C_UOM_ID)
        Set Quantity in UOM
        Parameters:
        qty - quantity
        C_UOM_ID - UOM
      • getQty

        public BigDecimal getQty()
        Get Qty in Storage UOM
        Returns:
        qty