minor beautify - refs #19 - attribute right authorship of these two classes to Tony Snook (tspc)
This commit is contained in:
parent
6a2ee953cb
commit
a0bbc86305
|
@ -29,9 +29,9 @@ import org.eevolution.model.MPPProductBOMLine;
|
|||
/**
|
||||
* CopyFromBOM Process
|
||||
* Copies BOM Lines from Selected BOM to the Current BOM
|
||||
* The BOM being copied to must have no pre-existing BOM Lines
|
||||
*
|
||||
* @author Tony Snook
|
||||
* The BOM being copied to must have no pre-existing BOM Lines
|
||||
*
|
||||
* @author Tony Snook
|
||||
* @version $Id: CopyFromBOM.java,v 1.0 2008/07/04 05:24:03 tspc Exp $
|
||||
*/
|
||||
public class CopyFromBOM extends SvrProcess {
|
||||
|
@ -88,7 +88,7 @@ public class CopyFromBOM extends SvrProcess {
|
|||
}
|
||||
return "OK";
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
protected void postProcess(boolean success)
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/******************************************************************************
|
||||
* Product: Adempiere ERP & CRM Smart Business Solution *
|
||||
* Product: Adempiere ERP & CRM Smart Business Solution *
|
||||
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* under the terms version 2 of the GNU General Public License as published *
|
||||
|
@ -13,8 +13,8 @@
|
|||
* For the text or an alternative of this public license, you may reach us *
|
||||
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
|
||||
* or via info@compiere.org or http://www.compiere.org/license.html *
|
||||
* Portions created by Carlos Ruiz are Copyright (C) 2005 QSS Ltda.
|
||||
* Contributor(s): Carlos Ruiz (globalqss)
|
||||
* Portions created by Carlos Ruiz are Copyright (C) 2005 QSS Ltda. *
|
||||
* Contributor(s): Carlos Ruiz (globalqss) *
|
||||
*****************************************************************************/
|
||||
package org.eevolution.process;
|
||||
|
||||
|
@ -34,7 +34,7 @@ import org.eevolution.model.MPPProductBOMLine;
|
|||
/**
|
||||
* Title: Check BOM Structure (free of cycles) Description: Tree cannot contain
|
||||
* BOMs which are already referenced
|
||||
*
|
||||
*
|
||||
* @author Tony Snook (tspc)
|
||||
* @author Teo Sarca, SC ARHIPAC SERVICE SRL
|
||||
*/
|
||||
|
@ -63,7 +63,7 @@ public class PP_Product_BOM_Check extends SvrProcess
|
|||
|
||||
/**
|
||||
* Process
|
||||
*
|
||||
*
|
||||
* @return message
|
||||
* @throws Exception
|
||||
*/
|
||||
|
@ -92,14 +92,14 @@ public class PP_Product_BOM_Check extends SvrProcess
|
|||
if (tbom == null) {
|
||||
raiseError("No Default BOM found: ", "Check BOM Parent search key");
|
||||
}
|
||||
|
||||
|
||||
// Check All BOM Lines
|
||||
if (tbom.getM_Product_ID() != 0)
|
||||
{
|
||||
MPPProductBOMLine[] tbomlines = tbom.getLines();
|
||||
for (MPPProductBOMLine tbomline : tbomlines)
|
||||
{
|
||||
lowlevel = tbomline.getLowLevel();
|
||||
lowlevel = tbomline.getLowLevel();
|
||||
MProduct p = new MProduct(getCtx(), tbomline.getM_Product_ID(), get_TrxName());
|
||||
p.setLowLevel(lowlevel);
|
||||
p.setIsVerified(true);
|
||||
|
|
Loading…
Reference in New Issue