* fixed entity types for some tables + moved the models in right package
This commit is contained in:
parent
3c5b4dcb98
commit
5681b0992b
|
@ -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();
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -30,9 +30,11 @@
|
||||||
* Sponsors: *
|
* Sponsors: *
|
||||||
* - Company (http://www.site.com) *
|
* - Company (http://www.site.com) *
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
package org.compiere.model;
|
package org.eevolution.model;
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
|
|
||||||
|
import org.compiere.model.MTable;
|
||||||
import org.compiere.util.KeyNamePair;
|
import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for RV_PP_Order_BOMLine
|
/** Generated Interface for RV_PP_Order_BOMLine
|
|
@ -30,9 +30,11 @@
|
||||||
* Sponsors: *
|
* Sponsors: *
|
||||||
* - Company (http://www.site.com) *
|
* - Company (http://www.site.com) *
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
package org.compiere.model;
|
package org.eevolution.model;
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
|
|
||||||
|
import org.compiere.model.MTable;
|
||||||
import org.compiere.util.KeyNamePair;
|
import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for RV_PP_WIP
|
/** Generated Interface for RV_PP_WIP
|
|
@ -1,106 +1,74 @@
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Product: Adempiere ERP & CRM Smart Business Solution *
|
* Product: Adempiere ERP & CRM Smart Business Solution *
|
||||||
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
|
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
|
||||||
* This program is free software;
|
* This program is free software; you can redistribute it and/or modify it *
|
||||||
you can redistribute it and/or modify it *
|
|
||||||
* under the terms version 2 of the GNU General Public License as published *
|
* 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 *
|
* by the Free Software Foundation. This program is distributed in the hope *
|
||||||
* that it will be useful, but WITHOUT ANY WARRANTY;
|
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
|
||||||
without even the implied *
|
|
||||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
||||||
* See the GNU General Public License for more details. *
|
* See the GNU General Public License for more details. *
|
||||||
* You should have received a copy of the GNU General Public License along *
|
* You should have received a copy of the GNU General Public License along *
|
||||||
* with this program;
|
* with this program; if not, write to the Free Software Foundation, Inc., *
|
||||||
if not, write to the Free Software Foundation, Inc., *
|
|
||||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
|
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
|
||||||
* For the text or an alternative of this public license, you may reach us *
|
* 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 *
|
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
|
||||||
* or via info@compiere.org or http://www.compiere.org/license.html *
|
* or via info@compiere.org or http://www.compiere.org/license.html *
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
/** Generated Model - DO NOT CHANGE */
|
||||||
package org.eevolution.model;
|
package org.eevolution.model;
|
||||||
|
|
||||||
/** Generated Model - DO NOT CHANGE */
|
import java.sql.ResultSet;
|
||||||
import java.util.*;
|
import java.util.Properties;
|
||||||
import java.sql.*;
|
|
||||||
import java.math.*;
|
import org.compiere.model.I_Persistent;
|
||||||
import org.compiere.util.*;
|
import org.compiere.model.PO;
|
||||||
import org.compiere.model.*;
|
import org.compiere.model.POInfo;
|
||||||
|
|
||||||
/** Generated Model for RV_PP_Order_BOMLine
|
/** Generated Model for RV_PP_Order_BOMLine
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.1.5 - $Id$ */
|
* @version Release 3.5.1a - $Id$ */
|
||||||
public class X_RV_PP_Order_BOMLine extends PO
|
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);
|
/** Load Constructor */
|
||||||
/** AccessLevel
|
public X_RV_PP_Order_BOMLine (Properties ctx, ResultSet rs, String trxName)
|
||||||
@return 3 - Client - Org
|
{
|
||||||
*/
|
super (ctx, rs, trxName);
|
||||||
protected int get_AccessLevel()
|
}
|
||||||
{
|
|
||||||
return accessLevel.intValue();
|
/** AccessLevel
|
||||||
}
|
* @return 3 - Client - Org
|
||||||
/** Load Meta Data
|
*/
|
||||||
@param ctx context
|
protected int get_AccessLevel()
|
||||||
@return PO Info
|
{
|
||||||
*/
|
return accessLevel.intValue();
|
||||||
protected POInfo initPO (Properties ctx)
|
}
|
||||||
{
|
|
||||||
POInfo poi = POInfo.getPOInfo (ctx, Table_ID);
|
/** Load Meta Data */
|
||||||
return poi;
|
protected POInfo initPO (Properties ctx)
|
||||||
}
|
{
|
||||||
/** Info
|
POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName());
|
||||||
@return info
|
return poi;
|
||||||
*/
|
}
|
||||||
public String toString()
|
|
||||||
{
|
public String toString()
|
||||||
StringBuffer sb = new StringBuffer ("X_RV_PP_Order_BOMLine[").append(get_ID()).append("]");
|
{
|
||||||
return sb.toString();
|
StringBuffer sb = new StringBuffer ("X_RV_PP_Order_BOMLine[")
|
||||||
}
|
.append(get_ID()).append("]");
|
||||||
/** Set RV_PP_Order_BOMLine.
|
return sb.toString();
|
||||||
@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";
|
|
||||||
}
|
|
|
@ -15,11 +15,15 @@
|
||||||
* or via info@compiere.org or http://www.compiere.org/license.html *
|
* or via info@compiere.org or http://www.compiere.org/license.html *
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/** Generated Model - DO NOT CHANGE */
|
/** Generated Model - DO NOT CHANGE */
|
||||||
package org.compiere.model;
|
package org.eevolution.model;
|
||||||
|
|
||||||
import java.sql.ResultSet;
|
import java.sql.ResultSet;
|
||||||
import java.util.Properties;
|
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
|
/** Generated Model for RV_PP_WIP
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.1a - $Id$ */
|
|
@ -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';
|
|
@ -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';
|
Loading…
Reference in New Issue