Examples of MPPProductBOMLine


Examples of org.eevolution.model.MPPProductBOMLine

        if(bom != null)
        {
          MPPProductBOMLine[] bomlines = bom.getLines(getDateInvoiced());
          for (int j = 0; j < bomlines.length; j++)
          {
            MPPProductBOMLine bomline = bomlines[j];
            MInvoiceLine newLine = new MInvoiceLine (this);
            newLine.setLine (++lineNo);
            newLine.setM_Product_ID (bomline.getM_Product_ID ());
            newLine.setC_UOM_ID (bomline.getC_UOM_ID ());
            newLine.setQty (line.getQtyInvoiced().multiply(
                bomline.getQtyBOM ()));    //  Invoiced/Entered
            if (bomline.getDescription () != null)
              newLine.setDescription (bomline.getDescription ());
            //
            newLine.setPrice ();
            newLine.saveEx (get_TrxName());
          }
        }
View Full Code Here

Examples of org.eevolution.model.MPPProductBOMLine

        if(bom != null)
        { 
          MPPProductBOMLine[] bomlines = bom.getLines(getDatePromised());
          for (int j = 0; j < bomlines.length; j++)
          {
            MPPProductBOMLine bomline = bomlines[j];
            MOrderLine newLine = new MOrderLine (this);
            newLine.setLine (++lineNo);
            newLine.setM_Product_ID (bomline.getM_Product_ID ());
            newLine.setC_UOM_ID (bomline.getC_UOM_ID ());
            newLine.setQty (line.getQtyOrdered ().multiply (
              bomline.getQtyBOM()));
            if (bomline.getDescription () != null)
              newLine.setDescription (bomline.getDescription ());
            //
            newLine.setPrice ();
            newLine.save (get_TrxName());
          }
        } 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.