diff --git a/base/src/org/compiere/model/X_RV_PP_Order_BOMLine.java b/base/src/org/compiere/model/X_RV_PP_Order_BOMLine.java deleted file mode 100644 index 6fa5ca972a..0000000000 --- a/base/src/org/compiere/model/X_RV_PP_Order_BOMLine.java +++ /dev/null @@ -1,70 +0,0 @@ -/****************************************************************************** - * Product: Adempiere ERP & CRM Smart Business Solution * - * Copyright (C) 1999-2007 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 * - * by the Free Software Foundation. This program is distributed in the hope * - * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * - * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * See the GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License along * - * with this program; if not, write to the Free Software Foundation, Inc., * - * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * - * 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 * - *****************************************************************************/ -/** Generated Model - DO NOT CHANGE */ -package org.compiere.model; - -import java.sql.ResultSet; -import java.util.Properties; - -/** Generated Model for RV_PP_Order_BOMLine - * @author Adempiere (generated) - * @version Release 3.5.1a - $Id$ */ -public class X_RV_PP_Order_BOMLine extends PO implements I_RV_PP_Order_BOMLine, I_Persistent -{ - - /** - * - */ - private static final long serialVersionUID = 1L; - - /** Standard Constructor */ - public X_RV_PP_Order_BOMLine (Properties ctx, int RV_PP_Order_BOMLine_ID, String trxName) - { - super (ctx, RV_PP_Order_BOMLine_ID, trxName); - /** if (RV_PP_Order_BOMLine_ID == 0) - { - } */ - } - - /** Load Constructor */ - public X_RV_PP_Order_BOMLine (Properties ctx, ResultSet rs, String trxName) - { - super (ctx, rs, trxName); - } - - /** AccessLevel - * @return 3 - Client - Org - */ - protected int get_AccessLevel() - { - return accessLevel.intValue(); - } - - /** Load Meta Data */ - protected POInfo initPO (Properties ctx) - { - POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName()); - return poi; - } - - public String toString() - { - StringBuffer sb = new StringBuffer ("X_RV_PP_Order_BOMLine[") - .append(get_ID()).append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/base/src/org/compiere/model/I_RV_PP_Order_BOMLine.java b/base/src/org/eevolution/model/I_RV_PP_Order_BOMLine.java similarity index 97% rename from base/src/org/compiere/model/I_RV_PP_Order_BOMLine.java rename to base/src/org/eevolution/model/I_RV_PP_Order_BOMLine.java index cffc263d4f..5b2ed91a95 100644 --- a/base/src/org/compiere/model/I_RV_PP_Order_BOMLine.java +++ b/base/src/org/eevolution/model/I_RV_PP_Order_BOMLine.java @@ -30,9 +30,11 @@ * Sponsors: * * - Company (http://www.site.com) * **********************************************************************/ -package org.compiere.model; +package org.eevolution.model; import java.math.BigDecimal; + +import org.compiere.model.MTable; import org.compiere.util.KeyNamePair; /** Generated Interface for RV_PP_Order_BOMLine diff --git a/base/src/org/compiere/model/I_RV_PP_WIP.java b/base/src/org/eevolution/model/I_RV_PP_WIP.java similarity index 97% rename from base/src/org/compiere/model/I_RV_PP_WIP.java rename to base/src/org/eevolution/model/I_RV_PP_WIP.java index e6eea8ad3a..1df3386eb4 100644 --- a/base/src/org/compiere/model/I_RV_PP_WIP.java +++ b/base/src/org/eevolution/model/I_RV_PP_WIP.java @@ -30,9 +30,11 @@ * Sponsors: * * - Company (http://www.site.com) * **********************************************************************/ -package org.compiere.model; +package org.eevolution.model; import java.math.BigDecimal; + +import org.compiere.model.MTable; import org.compiere.util.KeyNamePair; /** Generated Interface for RV_PP_WIP diff --git a/base/src/org/eevolution/model/X_RV_PP_Order_BOMLine.java b/base/src/org/eevolution/model/X_RV_PP_Order_BOMLine.java index 64eeca9643..2dccb363cc 100644 --- a/base/src/org/eevolution/model/X_RV_PP_Order_BOMLine.java +++ b/base/src/org/eevolution/model/X_RV_PP_Order_BOMLine.java @@ -1,106 +1,74 @@ /****************************************************************************** * Product: Adempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * - * This program is free software; - you can redistribute it and/or modify it * + * 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 * * by the Free Software Foundation. This program is distributed in the hope * - * that it will be useful, but WITHOUT ANY WARRANTY; - without even the implied * + * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * - * with this program; - if not, write to the Free Software Foundation, Inc., * + * with this program; if not, write to the Free Software Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * * 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 * *****************************************************************************/ +/** Generated Model - DO NOT CHANGE */ package org.eevolution.model; -/** Generated Model - DO NOT CHANGE */ -import java.util.*; -import java.sql.*; -import java.math.*; -import org.compiere.util.*; -import org.compiere.model.*; +import java.sql.ResultSet; +import java.util.Properties; + +import org.compiere.model.I_Persistent; +import org.compiere.model.PO; +import org.compiere.model.POInfo; + /** Generated Model for RV_PP_Order_BOMLine * @author Adempiere (generated) - * @version Release 3.1.5 - $Id$ */ -public class X_RV_PP_Order_BOMLine extends PO + * @version Release 3.5.1a - $Id$ */ +public class X_RV_PP_Order_BOMLine extends PO implements I_RV_PP_Order_BOMLine, I_Persistent { -/** Standard Constructor -@param ctx context -@param RV_PP_Order_BOMLine_ID id -@param trxName transaction -*/ -public X_RV_PP_Order_BOMLine (Properties ctx, int RV_PP_Order_BOMLine_ID, String trxName) -{ -super (ctx, RV_PP_Order_BOMLine_ID, trxName); -/** if (RV_PP_Order_BOMLine_ID == 0) -{ -setRV_PP_Order_BOMLine_ID (0); -} - */ -} -/** Load Constructor -@param ctx context -@param rs result set -@param trxName transaction -*/ -public X_RV_PP_Order_BOMLine (Properties ctx, ResultSet rs, String trxName) -{ -super (ctx, rs, trxName); -} -/** AD_Table_ID=50056 */ -public static final int Table_ID=MTable.getTable_ID("RV_PP_Order_BOMLine"); -/** TableName=RV_PP_Order_BOMLine */ -public static final String Table_Name="RV_PP_Order_BOMLine"; + /** + * + */ + private static final long serialVersionUID = 1L; -protected static KeyNamePair Model = new KeyNamePair(Table_ID,"RV_PP_Order_BOMLine"); + /** Standard Constructor */ + public X_RV_PP_Order_BOMLine (Properties ctx, int RV_PP_Order_BOMLine_ID, String trxName) + { + super (ctx, RV_PP_Order_BOMLine_ID, trxName); + /** if (RV_PP_Order_BOMLine_ID == 0) + { + } */ + } -protected BigDecimal accessLevel = BigDecimal.valueOf(3); -/** AccessLevel -@return 3 - Client - Org -*/ -protected int get_AccessLevel() -{ -return accessLevel.intValue(); -} -/** Load Meta Data -@param ctx context -@return PO Info -*/ -protected POInfo initPO (Properties ctx) -{ -POInfo poi = POInfo.getPOInfo (ctx, Table_ID); -return poi; -} -/** Info -@return info -*/ -public String toString() -{ -StringBuffer sb = new StringBuffer ("X_RV_PP_Order_BOMLine[").append(get_ID()).append("]"); -return sb.toString(); -} -/** Set RV_PP_Order_BOMLine. -@param RV_PP_Order_BOMLine_ID RV_PP_Order_BOMLine */ -public void setRV_PP_Order_BOMLine_ID (int RV_PP_Order_BOMLine_ID) -{ -if (RV_PP_Order_BOMLine_ID < 1) throw new IllegalArgumentException ("RV_PP_Order_BOMLine_ID is mandatory."); -set_ValueNoCheck ("RV_PP_Order_BOMLine_ID", Integer.valueOf(RV_PP_Order_BOMLine_ID)); -} -/** Get RV_PP_Order_BOMLine. -@return RV_PP_Order_BOMLine */ -public int getRV_PP_Order_BOMLine_ID() -{ -Integer ii = (Integer)get_Value("RV_PP_Order_BOMLine_ID"); -if (ii == null) return 0; -return ii.intValue(); -} -/** Column name RV_PP_Order_BOMLine_ID */ -public static final String COLUMNNAME_RV_PP_Order_BOMLine_ID = "RV_PP_Order_BOMLine_ID"; -} + /** Load Constructor */ + public X_RV_PP_Order_BOMLine (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } + + /** AccessLevel + * @return 3 - Client - Org + */ + protected int get_AccessLevel() + { + return accessLevel.intValue(); + } + + /** Load Meta Data */ + protected POInfo initPO (Properties ctx) + { + POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName()); + return poi; + } + + public String toString() + { + StringBuffer sb = new StringBuffer ("X_RV_PP_Order_BOMLine[") + .append(get_ID()).append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/base/src/org/compiere/model/X_RV_PP_WIP.java b/base/src/org/eevolution/model/X_RV_PP_WIP.java similarity index 94% rename from base/src/org/compiere/model/X_RV_PP_WIP.java rename to base/src/org/eevolution/model/X_RV_PP_WIP.java index ddf53f407d..ab8cb29f2a 100644 --- a/base/src/org/compiere/model/X_RV_PP_WIP.java +++ b/base/src/org/eevolution/model/X_RV_PP_WIP.java @@ -15,11 +15,15 @@ * or via info@compiere.org or http://www.compiere.org/license.html * *****************************************************************************/ /** Generated Model - DO NOT CHANGE */ -package org.compiere.model; +package org.eevolution.model; import java.sql.ResultSet; import java.util.Properties; +import org.compiere.model.I_Persistent; +import org.compiere.model.PO; +import org.compiere.model.POInfo; + /** Generated Model for RV_PP_WIP * @author Adempiere (generated) * @version Release 3.5.1a - $Id$ */ diff --git a/migration/351a-trunk/199_Fix_EntityTypes.sql b/migration/351a-trunk/199_Fix_EntityTypes.sql new file mode 100644 index 0000000000..b1958d0f25 --- /dev/null +++ b/migration/351a-trunk/199_Fix_EntityTypes.sql @@ -0,0 +1,2 @@ +update AD_Table set EntityType='EE01' +where TableName in ('RV_PP_MRP', 'RV_PP_Order_BOMLine', 'RV_PP_WIP') and EntityType<>'EE01'; diff --git a/migration/351a-trunk/postgresql/199_Fix_EntityTypes.sql b/migration/351a-trunk/postgresql/199_Fix_EntityTypes.sql new file mode 100644 index 0000000000..b1958d0f25 --- /dev/null +++ b/migration/351a-trunk/postgresql/199_Fix_EntityTypes.sql @@ -0,0 +1,2 @@ +update AD_Table set EntityType='EE01' +where TableName in ('RV_PP_MRP', 'RV_PP_Order_BOMLine', 'RV_PP_WIP') and EntityType<>'EE01';