Uses of Class
org.compiere.model.MProduct
Package
Description
Provide classes for posting of accounting document to the fact table (
MFactAcct
.Base classes for UI form.
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
-
Uses of MProduct in org.compiere.apps.form
Modifier and TypeMethodDescriptionvoid
TreeBOM.loadBOM
(MProduct product, T parent, Function<TreeBOM.NewNodeArguments<T>, T> createNewNodeFunction, boolean implosion, boolean reload) Load BOMTreeBOM.newProductLine
(MProduct product, int lineNo, BigDecimal qty) New product lineTreeBOM.productSummary
(MProduct product, boolean isLeaf) Get Product Summary -
Uses of MProduct in org.compiere.model
Modifier and TypeFieldDescriptionprotected MProduct
MInventoryLine.m_product
Productprotected MProduct
MInvoiceLine.m_product
protected MProduct
MOrderLine.m_product
Productprotected MProduct
MRMALine.m_product
ProductModifier 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()
Modifier and TypeMethodDescriptionMProduct.getByUPC
(Properties ctx, String upc, String trxName) Get MProduct using UPC/EAN (case sensitive)Modifier 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 ProductModifierConstructorDescriptionMCost
(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
Modifier 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
Modifier and TypeMethodDescriptionstatic int
MWorkflow.getWorkflowSearchKey
(MProduct product) Get AD_Workflow_ID for given M_Product_ID -
Uses of MProduct in org.eevolution.model
Modifier and TypeMethodDescriptionMDDOrderLine.getProduct()
Get ProductMPPProductBOMLine.getProduct()
Get updateable copy of component productModifier 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
Modifier and TypeMethodDescriptionvoid
BOMDrop.addBOMLines
(MProduct product, BigDecimal qty, Callback<BOMDrop.BOMLine> callback) Invoke call back for each BOM lineBOMDrop.getBOMLine
(MProduct product) Get BOM lines from default BOM of product, sorted by component type and line numberint
BOMDrop.getMaxBOMDeep
(MProduct product) Get max BOM level for product