Unknown Type: MCostDetail in Server Log
https://sourceforge.net/tracker/?func=detail&aid=2708141&group_id=176962&atid=934929 generate model for M_CostDetail
This commit is contained in:
parent
1bb2b9d90c
commit
e4c6e69a89
|
@ -1,17 +1,14 @@
|
|||
/******************************************************************************
|
||||
* 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 *
|
||||
|
@ -20,6 +17,7 @@
|
|||
package org.compiere.model;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Timestamp;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
|
||||
/** Generated Interface for M_CostDetail
|
||||
|
@ -43,6 +41,14 @@ public interface I_M_CostDetail
|
|||
|
||||
/** Load Meta Data */
|
||||
|
||||
/** Column name AD_Client_ID */
|
||||
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
|
||||
|
||||
/** Get Client.
|
||||
* Client/Tenant for this installation.
|
||||
*/
|
||||
public int getAD_Client_ID();
|
||||
|
||||
/** Column name AD_Org_ID */
|
||||
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
|
||||
|
||||
|
@ -129,6 +135,22 @@ public interface I_M_CostDetail
|
|||
|
||||
public I_C_ProjectIssue getC_ProjectIssue() throws RuntimeException;
|
||||
|
||||
/** Column name Created */
|
||||
public static final String COLUMNNAME_Created = "Created";
|
||||
|
||||
/** Get Created.
|
||||
* Date this record was created
|
||||
*/
|
||||
public Timestamp getCreated();
|
||||
|
||||
/** Column name CreatedBy */
|
||||
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
|
||||
|
||||
/** Get Created By.
|
||||
* User who created this records
|
||||
*/
|
||||
public int getCreatedBy();
|
||||
|
||||
/** Column name DeltaAmt */
|
||||
public static final String COLUMNNAME_DeltaAmt = "DeltaAmt";
|
||||
|
||||
|
@ -168,6 +190,19 @@ public interface I_M_CostDetail
|
|||
*/
|
||||
public String getDescription();
|
||||
|
||||
/** Column name IsActive */
|
||||
public static final String COLUMNNAME_IsActive = "IsActive";
|
||||
|
||||
/** Set Active.
|
||||
* The record is active in the system
|
||||
*/
|
||||
public void setIsActive (boolean IsActive);
|
||||
|
||||
/** Get Active.
|
||||
* The record is active in the system
|
||||
*/
|
||||
public boolean isActive();
|
||||
|
||||
/** Column name IsSOTrx */
|
||||
public static final String COLUMNNAME_IsSOTrx = "IsSOTrx";
|
||||
|
||||
|
@ -297,6 +332,17 @@ public interface I_M_CostDetail
|
|||
|
||||
public I_M_ProductionLine getM_ProductionLine() throws RuntimeException;
|
||||
|
||||
/** Column name PP_Cost_Collector_ID */
|
||||
public static final String COLUMNNAME_PP_Cost_Collector_ID = "PP_Cost_Collector_ID";
|
||||
|
||||
/** Set Manufacturing Cost Collector */
|
||||
public void setPP_Cost_Collector_ID (int PP_Cost_Collector_ID);
|
||||
|
||||
/** Get Manufacturing Cost Collector */
|
||||
public int getPP_Cost_Collector_ID();
|
||||
|
||||
public org.eevolution.model.I_PP_Cost_Collector getPP_Cost_Collector() throws RuntimeException;
|
||||
|
||||
/** Column name Price */
|
||||
public static final String COLUMNNAME_Price = "Price";
|
||||
|
||||
|
@ -335,4 +381,20 @@ public interface I_M_CostDetail
|
|||
* Quantity
|
||||
*/
|
||||
public BigDecimal getQty();
|
||||
|
||||
/** Column name Updated */
|
||||
public static final String COLUMNNAME_Updated = "Updated";
|
||||
|
||||
/** Get Updated.
|
||||
* Date this record was updated
|
||||
*/
|
||||
public Timestamp getUpdated();
|
||||
|
||||
/** Column name UpdatedBy */
|
||||
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
|
||||
|
||||
/** Get Updated By.
|
||||
* User who updated this records
|
||||
*/
|
||||
public int getUpdatedBy();
|
||||
}
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/******************************************************************************
|
||||
* 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 *
|
||||
|
@ -33,7 +33,7 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, I_Persistent
|
|||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
private static final long serialVersionUID = 20081221L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_M_CostDetail (Properties ctx, int M_CostDetail_ID, String trxName)
|
||||
|
@ -615,6 +615,42 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public org.eevolution.model.I_PP_Cost_Collector getPP_Cost_Collector() throws RuntimeException
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Cost_Collector.Table_Name);
|
||||
org.eevolution.model.I_PP_Cost_Collector result = null;
|
||||
try {
|
||||
Constructor<?> constructor = null;
|
||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||
result = (org.eevolution.model.I_PP_Cost_Collector)constructor.newInstance(new Object[] {getCtx(), new Integer(getPP_Cost_Collector_ID()), get_TrxName()});
|
||||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw new RuntimeException( e );
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Set Manufacturing Cost Collector.
|
||||
@param PP_Cost_Collector_ID Manufacturing Cost Collector */
|
||||
public void setPP_Cost_Collector_ID (int PP_Cost_Collector_ID)
|
||||
{
|
||||
if (PP_Cost_Collector_ID < 1)
|
||||
set_ValueNoCheck (COLUMNNAME_PP_Cost_Collector_ID, null);
|
||||
else
|
||||
set_ValueNoCheck (COLUMNNAME_PP_Cost_Collector_ID, Integer.valueOf(PP_Cost_Collector_ID));
|
||||
}
|
||||
|
||||
/** Get Manufacturing Cost Collector.
|
||||
@return Manufacturing Cost Collector */
|
||||
public int getPP_Cost_Collector_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Cost_Collector_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Price.
|
||||
@param Price
|
||||
Price
|
||||
|
|
Loading…
Reference in New Issue