Uses of Class
org.compiere.model.MProduct
Packages that use MProduct
Package
Description
Provide classes for posting of accounting document to the fact table (
MFactAcct
.This is the package that contains the majority of iDempiere's generated model class and interface.
Provide majority of iDempiere's extended model class (M*).
Provide majority of iDempiere's extended model class (M*).
Provide classes and interface for iDempiere process.
Provide iDempiere workflow engine implementation
Provide extended and generated model class and interface for tables.
-
Uses of MProduct in org.compiere.acct
Methods in org.compiere.acct that return MProduct -
Uses of MProduct in org.compiere.apps.form
Methods in org.compiere.apps.form with parameters of type MProductModifier and TypeMethodDescriptionTreeBOM.productSummary
(MProduct product, boolean isLeaf) get Product Summary -
Uses of MProduct in org.compiere.model
Fields in org.compiere.model declared as MProductModifier and TypeFieldDescriptionprotected MProduct
MInventoryLine.m_product
Productprotected MProduct
MInvoiceLine.m_product
protected MProduct
MOrderLine.m_product
Productprotected MProduct
MRMALine.m_product
ProductMethods in org.compiere.model that return MProductModifier and TypeMethodDescriptionstatic MProduct
MProduct.forS_Resource_ID
(Properties ctx, int S_Resource_ID) Deprecated.Since 3.5.3a.static MProduct
MProduct.forS_Resource_ID
(Properties ctx, int S_Resource_ID, String trxName) Get Product from Cache (immutable)static MProduct
MProduct.get
(int M_Product_ID) Get MProduct from Cache (immutable)static MProduct
MProduct.get
(Properties ctx, int M_Product_ID) Get MProduct from Cache (immutable)static MProduct
MProduct.get
(Properties ctx, int M_Product_ID, String trxName) Get MProduct from Cache (immutable)static MProduct[]
MProduct.get
(Properties ctx, String whereClause, String trxName) Get MProducts from DBstatic MProduct
MProduct.getCopy
(Properties ctx, int M_Product_ID, String trxName) Get updateable copy of MProduct from cacheMIFixedAsset.getCreateProduct()
Create / Load productMDistributionRunLine.getProduct()
Get ProductMExpenseType.getProduct()
Get ProductMIFixedAsset.getProduct()
MInOutLine.getProduct()
Get ProductMInventoryLine.getProduct()
Get ProductMInvoiceLine.getProduct()
Get ProductMMovementLine.getProduct()
Get ProductMOrderLine.getProduct()
Get ProductMProductBOM.getProduct()
Deprecated.Get BOM ProductMResource.getProduct()
Get Product (use cache)MRMALine.getProduct()
Get ProductProductCost.getProduct()
Get ProductMProduct.markImmutable()
Methods in org.compiere.model that return types with arguments of type MProductModifier and TypeMethodDescriptionMProduct.getByUPC
(Properties ctx, String upc, String trxName) Get MProduct using UPC/EAN (case sensitive)Methods in org.compiere.model with parameters of type MProductModifier and TypeMethodDescriptionstatic BigDecimal
MCostQueue.adjustQty
(MProduct product, int M_ASI_ID, MAcctSchema as, int Org_ID, MCostElement ce, BigDecimal Qty, String trxName) Adjust Qty based on in Lifo/Fifo orderprotected BigDecimal
MInOut.autoBalanceNegative
(MInOutLine line, MProduct product, BigDecimal qtyToReceive) static BigDecimal
MCost.calculateAverageInv
(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID) Calculate Average Invoice Cost from M_Transactionstatic BigDecimal
MCost.calculateAveragePO
(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID) Calculate Average PO from M_Transactionstatic BigDecimal
MCost.calculateFiFo
(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID) Calculate FiFo Cost from M_Transactionstatic BigDecimal
MCost.calculateLiFo
(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID) Calculate LiFo costs from M_Transactionstatic MAttributeSetInstance
MAttributeSetInstance.create
(Properties ctx, MProduct product, String trxName) Create and save a new ASI for given product.protected static void
Create standard Costing records for Productstatic MAssetAddition
MAssetAddition.createAsset
(MProject project, MProduct product) Create Asset and asset Addition from MProject.protected int
MProduction.createLines
(boolean mustBeStocked, MProduct finishedProduct, BigDecimal requiredQty, int PP_Product_BOM_ID) Create production lineprotected static void
Delete costing records for Product (for client and organization costing level)static MAttributeSetInstance
MAttributeSetInstance.generateLot
(Properties ctx, MProduct product, String trxName) AutoGenerate and save a new ASI for given product.static MCost
MCost.get
(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID, int M_CostElement_ID) Deprecated.static MCost
MCost.get
(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID, int M_CostElement_ID, String trxName) Get/Create Cost Record.static MCostQueue
MCostQueue.get
(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID, int M_CostElement_ID, String trxName) Get/Create Cost Queue Record.static MWarehousePrice
MWarehousePrice.get
(MProduct product, int M_PriceList_Version_ID, int M_Warehouse_ID, String trxName) Get MWarehouse Pricestatic MProductBOM[]
MProductBOM.getBOMLines
(MProduct product) Deprecated.Get BOM Lines for Productstatic BigDecimal
MCostQueue.getCosts
(MProduct product, int M_ASI_ID, MAcctSchema as, int Org_ID, MCostElement ce, BigDecimal Qty, String trxName) Calculate Cost based on Qty and in Lifo/Fifo orderstatic BigDecimal
MCost.getCurrentCost
(MProduct product, int M_AttributeSetInstance_ID, String trxName) protected static BigDecimal
MCost.getCurrentCost
(MProduct product, int M_ASI_ID, MAcctSchema as, int Org_ID, int M_CostType_ID, String costingMethod, BigDecimal qty, int C_OrderLine_ID, boolean zeroCostsOK, String trxName) Calculate and Get Current Cost Price for Costing Levelstatic BigDecimal
MCost.getCurrentCost
(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID, String costingMethod, BigDecimal qty, int C_OrderLine_ID, boolean zeroCostsOK, String trxName) Retrieve/Calculate Current Cost Pricestatic BigDecimal
MCost.getLastInvoicePrice
(MProduct product, int M_ASI_ID, int AD_Org_ID, int C_Currency_ID) Get Last Vendor Invoice Price in currencystatic BigDecimal
MCost.getLastPOPrice
(MProduct product, int M_ASI_ID, int AD_Org_ID, int C_Currency_ID) Get Last PO Price in currencystatic BigDecimal
MCost.getPOPrice
(MProduct product, int C_OrderLine_ID, int C_Currency_ID) Get PO Price in currencystatic MCostQueue[]
MCostQueue.getQueue
(MProduct product, int M_ASI_ID, MAcctSchema as, int Org_ID, MCostElement ce, String trxName) Get Cost Queue Records in Lifo/Fifo orderprotected static BigDecimal
MCost.getSeedCostFromPriceList
(MProduct product, MAcctSchema as, int orgID) Get seed cost from purchase price liststatic BigDecimal
MCost.getSeedCosts
(MProduct product, int M_ASI_ID, MAcctSchema as, int Org_ID, String costingMethod, int C_OrderLine_ID) Get Seed Costsprotected String
MInOut.moveOnHandToShipmentASI
(MProduct product, int M_Locator_ID, int M_AttributeSetInstance_ID, BigDecimal qty, Timestamp dateMaterialPolicy, int M_InOutLine_ID, boolean reversal, String trxName) For product with mix of No ASI and ASI inventory, this move Non ASI on hand to the new ASI created at shipment line or shipment line maprotected boolean
MCostDetail.process
(MAcctSchema as, MProduct product, MCostElement ce, int Org_ID, int M_ASI_ID) Process cost detail recordstatic boolean
MCostDetail.processProduct
(MProduct product, String trxName) Process Cost Details for productvoid
MIFixedAsset.setProduct
(MProduct product) void
MInOutLine.setProduct
(MProduct product) Set Productvoid
MInvoiceLine.setProduct
(MProduct product) Set Productvoid
MOrderLine.setProduct
(MProduct product) Set ProductConstructors in org.compiere.model with parameters of type MProductModifierConstructorDescriptionMCost
(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID, int M_CostElement_ID) Parent ConstructorMCostQueue
(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID, int M_CostElement_ID, String trxName) Parent ConstructorMProduct
(Properties ctx, MProduct copy) Copy constructorMProduct
(Properties ctx, MProduct copy, String trxName) Copy constructorCopy constructorMUOMConversion
(MProduct parent) Parent Constructor -
Uses of MProduct in org.compiere.process
Methods in org.compiere.process with parameters of type MProductModifier and TypeMethodDescriptionprotected int
ImportInventory.generateASI
(MProduct product, X_I_Inventory imp) protected void
ImportInventory.updateCosting
(X_I_Inventory imp, MProduct product, MInventoryLine line) -
Uses of MProduct in org.compiere.wf
Methods in org.compiere.wf with parameters of type MProductModifier and TypeMethodDescriptionstatic int
MWorkflow.getWorkflowSearchKey
(MProduct product) Get AD_Workflow_ID for given M_Product_ID -
Uses of MProduct in org.eevolution.model
Methods in org.eevolution.model that return MProductModifier and TypeMethodDescriptionMDDOrderLine.getProduct()
Get ProductMPPProductBOMLine.getProduct()
Get updateable copy of component productMethods in org.eevolution.model with parameters of type MProductModifier and TypeMethodDescriptionstatic MPPProductBOM
Get BOM for Productstatic MPPProductBOM
Get BOM with valid dates for Productstatic MPPProductBOMLine[]
MPPProductBOMLine.getBOMLines
(MProduct product) Get all the BOM lines for a Productstatic int
MPPProductBOM.getBOMSearchKey
(MProduct product) Get PP_Product_BOM_ID for given M_Product_IDstatic List<MPPProductBOMLine>
MPPProductBOMLine.getByProduct
(MProduct product) Get all the Product BOM line for a Component Productstatic MPPProductBOM
MPPProductBOM.getDefault
(MProduct product, String trxName) Get BOM with Default Logic (Product = BOM Product and BOM Value = Product Value)static List<MPPProductBOM>
MPPProductBOM.getProductBOMs
(MProduct product) Get the Product BOM for a productvoid
MDDOrderLine.setProduct
(MProduct product) Set Product -
Uses of MProduct in org.idempiere.apps.form
Methods in org.idempiere.apps.form that return MProductMethods in org.idempiere.apps.form with parameters of type MProductModifier and TypeMethodDescriptionvoid
BOMDrop.addBOMLines
(MProduct product, BigDecimal qty, Callback<BOMDrop.BOMLine> callback) BOMDrop.getBOMLine
(MProduct product) Get BOM lines from default BOM of product, sorted by component type and line numberint
BOMDrop.getMaxBOMDeep
(MProduct product)