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.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
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 TypeMethodDescriptionvoidTreeBOM.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
Fields in org.compiere.model declared as MProductModifier and TypeFieldDescriptionprotected MProductMInventoryLine.m_productProductprotected MProductMInvoiceLine.m_productprotected MProductMOrderLine.m_productProductprotected MProductMRMALine.m_productProductMethods in org.compiere.model that return MProductModifier and TypeMethodDescriptionstatic MProductMProduct.forS_Resource_ID(Properties ctx, int S_Resource_ID) Deprecated.Since 3.5.3a.static MProductMProduct.forS_Resource_ID(Properties ctx, int S_Resource_ID, String trxName) Get Product from Cache (immutable)static MProductMProduct.get(int M_Product_ID) Get MProduct from Cache (immutable)static MProductMProduct.get(Properties ctx, int M_Product_ID) Get MProduct from Cache (immutable)static MProductMProduct.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 MProductMProduct.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 BigDecimalMCostQueue.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 BigDecimalMInOut.autoBalanceNegative(MInOutLine line, MProduct product, BigDecimal qtyToReceive) static BigDecimalMCost.calculateAverageInv(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID) Calculate Average Invoice Cost from M_Transactionstatic BigDecimalMCost.calculateAveragePO(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID) Calculate Average PO from M_Transactionstatic BigDecimalMCost.calculateFiFo(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID) Calculate FiFo Cost from M_Transactionstatic BigDecimalMCost.calculateLiFo(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID) Calculate LiFo costs from M_Transactionstatic MAttributeSetInstanceMAttributeSetInstance.create(Properties ctx, MProduct product, String trxName) Create and save a new ASI for given product.protected static voidCreate standard Costing records for Productstatic MAssetAdditionMAssetAddition.createAsset(MProject project, MProduct product) Create Asset and asset Addition from MProject.protected intMProduction.createLines(boolean mustBeStocked, MProduct finishedProduct, BigDecimal requiredQty, int PP_Product_BOM_ID) Create production lineprotected static voidDelete costing records for Product (for client and organization costing level)static MAttributeSetInstanceMAttributeSetInstance.generateLot(Properties ctx, MProduct product, String trxName) AutoGenerate and save a new ASI for given product.static MCostMCost.get(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID, int M_CostElement_ID) Deprecated.static MCostMCost.get(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID, int M_CostElement_ID, String trxName) Get/Create Cost Record.static MCostQueueMCostQueue.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 MWarehousePriceMWarehousePrice.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 Productprotected static BigDecimalMCost.getCost(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID, String costingMethod, BigDecimal qty, int C_OrderLine_ID, boolean zeroCostsOK, Timestamp dateAcct, MCostDetail costDetail, boolean isInBackDatePostingProcess, String trxName) Retrieve/Calculate Cost Pricestatic ICostInfoMCost.getCostInfo(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID, int M_CostElement_ID, Timestamp dateAcct, MCostDetail costDetail, String trxName) Get/Create Costing Record from MCostHistory/MCost CostingLevel is not validated.static BigDecimalMCostQueue.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 BigDecimalMCost.getCurrentCost(MProduct product, int M_AttributeSetInstance_ID, String trxName) protected static BigDecimalMCost.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 BigDecimalMCost.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 BigDecimalMCost.getLastInvoicePrice(MProduct product, int M_ASI_ID, int AD_Org_ID, int C_Currency_ID) Get Last Vendor Invoice Price in currencystatic BigDecimalMCost.getLastPOPrice(MProduct product, int M_ASI_ID, int AD_Org_ID, int C_Currency_ID) Get Last PO Price in currencystatic BigDecimalMCost.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 BigDecimalMCost.getSeedCostFromPriceList(MProduct product, MAcctSchema as, int orgID) Get seed cost from purchase price liststatic BigDecimalMCost.getSeedCosts(MProduct product, int M_ASI_ID, MAcctSchema as, int Org_ID, String costingMethod, int C_OrderLine_ID) Get Seed Costsprotected StringMInOut.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 booleanMCostDetail.process(MAcctSchema as, MProduct product, MCostElement ce, int Org_ID, int M_ASI_ID) Process cost detail recordstatic booleanMCostDetail.processProduct(MAcctSchema as, MProduct product, Timestamp dateAcct, String trxName) Process Cost Details for productstatic booleanMCostDetail.processProduct(MProduct product, String trxName) Process Cost Details for productvoidMIFixedAsset.setProduct(MProduct product) voidMInOutLine.setProduct(MProduct product) Set ProductvoidMInvoiceLine.setProduct(MProduct product) Set ProductvoidMOrderLine.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 intImportInventory.generateASI(MProduct product, X_I_Inventory imp) protected voidImportInventory.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 intMWorkflow.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 MPPProductBOMGet BOM for Productstatic MPPProductBOMGet BOM with valid dates for Productstatic MPPProductBOMLine[]MPPProductBOMLine.getBOMLines(MProduct product) Get all the BOM lines for a Productstatic intMPPProductBOM.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 MPPProductBOMMPPProductBOM.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 productvoidMDDOrderLine.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 TypeMethodDescriptionvoidBOMDrop.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 numberintBOMDrop.getMaxBOMDeep(MProduct product) Get max BOM level for product