[ 2408898 ] Implement Cost Collector Type

http://sourceforge.net/tracker/?func=detail&atid=879335&aid=2408898&group_id=176962
This commit is contained in:
vpj-cd 2008-12-09 16:56:13 +00:00
parent 903f073e50
commit 55dc5bff35
2 changed files with 0 additions and 565 deletions

View File

@ -19,7 +19,6 @@ package org.compiere.model;
import java.lang.reflect.Constructor;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.util.KeyNamePair;
@ -132,14 +131,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return ii.intValue();
}
public int getAD_PrintFormat_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_PrintFormat_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Difference Document.
@param C_DocTypeDifference_ID
Document type for generating in dispute Shipments
@ -163,14 +154,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return ii.intValue();
}
public int getC_DocTypeDifference_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeDifference_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Document Type for Invoice.
@param C_DocTypeInvoice_ID
Document type used for invoices generated from this sales document
@ -194,14 +177,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return ii.intValue();
}
public int getC_DocTypeInvoice_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeInvoice_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Document Type for ProForma.
@param C_DocTypeProforma_ID
Document type used for pro forma invoices generated from this sales document
@ -225,14 +200,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return ii.intValue();
}
public int getC_DocTypeProforma_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeProforma_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Document Type for Shipment.
@param C_DocTypeShipment_ID
Document type used for shipments generated from this sales document
@ -256,14 +223,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return ii.intValue();
}
public int getC_DocTypeShipment_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeShipment_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Document Type.
@param C_DocType_ID
Document type or rules
@ -286,14 +245,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return ii.intValue();
}
public int getC_DocType_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocType_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Definite Sequence.
@param DefiniteSequence_ID Definite Sequence */
public void setDefiniteSequence_ID (int DefiniteSequence_ID)
@ -314,14 +265,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return ii.intValue();
}
public int getDefiniteSequence_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_DefiniteSequence_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Description.
@param Description
Optional short description of the record
@ -339,11 +282,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return (String)get_Value(COLUMNNAME_Description);
}
public String getDescription (Timestamp timeLine)
{
return (String)get_Value(COLUMNNAME_Description,timeLine);
}
/** DocBaseType AD_Reference_ID=183 */
public static final int DOCBASETYPE_AD_Reference_ID=183;
/** GL Journal = GLJ */
@ -420,11 +358,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return (String)get_Value(COLUMNNAME_DocBaseType);
}
public String getDocBaseType (Timestamp timeLine)
{
return (String)get_Value(COLUMNNAME_DocBaseType,timeLine);
}
/** Set Document Sequence.
@param DocNoSequence_ID
Document sequence determines the numbering of documents
@ -448,14 +381,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return ii.intValue();
}
public int getDocNoSequence_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_DocNoSequence_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
/** DocSubTypeSO AD_Reference_ID=148 */
public static final int DOCSUBTYPESO_AD_Reference_ID=148;
/** On Credit Order = WI */
@ -492,11 +417,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return (String)get_Value(COLUMNNAME_DocSubTypeSO);
}
public String getDocSubTypeSO (Timestamp timeLine)
{
return (String)get_Value(COLUMNNAME_DocSubTypeSO,timeLine);
}
/** Set Document Copies.
@param DocumentCopies
Number of copies to be printed
@ -517,14 +437,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return ii.intValue();
}
public int getDocumentCopies (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_DocumentCopies,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Document Note.
@param DocumentNote
Additional information for a Document
@ -542,11 +454,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return (String)get_Value(COLUMNNAME_DocumentNote);
}
public String getDocumentNote (Timestamp timeLine)
{
return (String)get_Value(COLUMNNAME_DocumentNote,timeLine);
}
public I_GL_Category getGL_Category() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_GL_Category.Table_Name);
@ -585,14 +492,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return ii.intValue();
}
public int getGL_Category_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_GL_Category_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Charges.
@param HasCharges
Charges can be added to the document
@ -617,18 +516,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return false;
}
public boolean isHasCharges (Timestamp timeLine)
{
Object oo = get_Value(COLUMNNAME_HasCharges,timeLine);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Pro forma Invoice.
@param HasProforma
Indicates if Pro Forma Invoices can be generated from this document
@ -653,18 +540,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return false;
}
public boolean isHasProforma (Timestamp timeLine)
{
Object oo = get_Value(COLUMNNAME_HasProforma,timeLine);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Create Counter Document.
@param IsCreateCounter
Create Counter Document
@ -689,18 +564,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return false;
}
public boolean isCreateCounter (Timestamp timeLine)
{
Object oo = get_Value(COLUMNNAME_IsCreateCounter,timeLine);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Default.
@param IsDefault
Default value
@ -725,18 +588,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return false;
}
public boolean isDefault (Timestamp timeLine)
{
Object oo = get_Value(COLUMNNAME_IsDefault,timeLine);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Default Counter Document.
@param IsDefaultCounterDoc
The document type is the default counter document type
@ -761,18 +612,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return false;
}
public boolean isDefaultCounterDoc (Timestamp timeLine)
{
Object oo = get_Value(COLUMNNAME_IsDefaultCounterDoc,timeLine);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Document is Number Controlled.
@param IsDocNoControlled
The document has a document sequence
@ -797,18 +636,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return false;
}
public boolean isDocNoControlled (Timestamp timeLine)
{
Object oo = get_Value(COLUMNNAME_IsDocNoControlled,timeLine);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set In Transit.
@param IsInTransit
Movement is in transit
@ -833,18 +660,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return false;
}
public boolean isInTransit (Timestamp timeLine)
{
Object oo = get_Value(COLUMNNAME_IsInTransit,timeLine);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Indexed.
@param IsIndexed
Index the document for the internal search engine
@ -869,18 +684,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return false;
}
public boolean isIndexed (Timestamp timeLine)
{
Object oo = get_Value(COLUMNNAME_IsIndexed,timeLine);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Overwrite Date on Complete.
@param IsOverwriteDateOnComplete Overwrite Date on Complete */
public void setIsOverwriteDateOnComplete (boolean IsOverwriteDateOnComplete)
@ -902,18 +705,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return false;
}
public boolean isOverwriteDateOnComplete (Timestamp timeLine)
{
Object oo = get_Value(COLUMNNAME_IsOverwriteDateOnComplete,timeLine);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Overwrite Sequence on Complete.
@param IsOverwriteSeqOnComplete Overwrite Sequence on Complete */
public void setIsOverwriteSeqOnComplete (boolean IsOverwriteSeqOnComplete)
@ -935,18 +726,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return false;
}
public boolean isOverwriteSeqOnComplete (Timestamp timeLine)
{
Object oo = get_Value(COLUMNNAME_IsOverwriteSeqOnComplete,timeLine);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Pick/QA Confirmation.
@param IsPickQAConfirm
Require Pick or QA Confirmation before processing
@ -971,18 +750,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return false;
}
public boolean isPickQAConfirm (Timestamp timeLine)
{
Object oo = get_Value(COLUMNNAME_IsPickQAConfirm,timeLine);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Sales Transaction.
@param IsSOTrx
This is a Sales Transaction
@ -1007,18 +774,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return false;
}
public boolean isSOTrx (Timestamp timeLine)
{
Object oo = get_Value(COLUMNNAME_IsSOTrx,timeLine);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Ship/Receipt Confirmation.
@param IsShipConfirm
Require Ship or Receipt Confirmation before processing
@ -1043,18 +798,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return false;
}
public boolean isShipConfirm (Timestamp timeLine)
{
Object oo = get_Value(COLUMNNAME_IsShipConfirm,timeLine);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Split when Difference.
@param IsSplitWhenDifference
Split document when there is a difference
@ -1079,18 +822,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return false;
}
public boolean isSplitWhenDifference (Timestamp timeLine)
{
Object oo = get_Value(COLUMNNAME_IsSplitWhenDifference,timeLine);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Name.
@param Name
Alphanumeric identifier of the entity
@ -1110,11 +841,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
return (String)get_Value(COLUMNNAME_Name);
}
public String getName (Timestamp timeLine)
{
return (String)get_Value(COLUMNNAME_Name,timeLine);
}
/** Get Record ID/ColumnName
@return ID/ColumnName pair
*/
@ -1141,9 +867,4 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
{
return (String)get_Value(COLUMNNAME_PrintName);
}
public String getPrintName (Timestamp timeLine)
{
return (String)get_Value(COLUMNNAME_PrintName,timeLine);
}
}

View File

@ -114,14 +114,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public int getAD_OrgTrx_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_OrgTrx_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_User getAD_User() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_User.Table_Name);
@ -161,14 +153,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public int getAD_User_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_User_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_Activity getC_Activity() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Activity.Table_Name);
@ -208,14 +192,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public int getC_Activity_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_Activity_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_Campaign getC_Campaign() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Campaign.Table_Name);
@ -255,14 +231,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public int getC_Campaign_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_Campaign_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Target Document Type.
@param C_DocTypeTarget_ID
Target document type for conversing documents
@ -285,14 +253,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public int getC_DocTypeTarget_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeTarget_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Document Type.
@param C_DocType_ID
Document type or rules
@ -315,14 +275,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public int getC_DocType_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocType_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_Project getC_Project() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Project.Table_Name);
@ -362,14 +314,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public int getC_Project_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_Project_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_UOM getC_UOM() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_UOM.Table_Name);
@ -409,14 +353,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public int getC_UOM_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_UOM_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
/** CostCollectorType AD_Reference_ID=53287 */
public static final int COSTCOLLECTORTYPE_AD_Reference_ID=53287;
/** Material Receipt = 100 */
@ -451,11 +387,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return (String)get_Value(COLUMNNAME_CostCollectorType);
}
public String getCostCollectorType (Timestamp timeLine)
{
return (String)get_Value(COLUMNNAME_CostCollectorType,timeLine);
}
/** Set Account Date.
@param DateAcct
Accounting Date
@ -475,11 +406,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return (Timestamp)get_Value(COLUMNNAME_DateAcct);
}
public Timestamp getDateAcct (Timestamp timeLine)
{
return (Timestamp)get_Value(COLUMNNAME_DateAcct,timeLine);
}
/** Set Description.
@param Description
Optional short description of the record
@ -497,11 +423,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return (String)get_Value(COLUMNNAME_Description);
}
public String getDescription (Timestamp timeLine)
{
return (String)get_Value(COLUMNNAME_Description,timeLine);
}
/** DocAction AD_Reference_ID=135 */
public static final int DOCACTION_AD_Reference_ID=135;
/** Complete = CO */
@ -550,11 +471,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return (String)get_Value(COLUMNNAME_DocAction);
}
public String getDocAction (Timestamp timeLine)
{
return (String)get_Value(COLUMNNAME_DocAction,timeLine);
}
/** DocStatus AD_Reference_ID=131 */
public static final int DOCSTATUS_AD_Reference_ID=131;
/** Drafted = DR */
@ -599,11 +515,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return (String)get_Value(COLUMNNAME_DocStatus);
}
public String getDocStatus (Timestamp timeLine)
{
return (String)get_Value(COLUMNNAME_DocStatus,timeLine);
}
/** Set Duration Real.
@param DurationReal Duration Real */
public void setDurationReal (BigDecimal DurationReal)
@ -621,14 +532,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return bd;
}
public BigDecimal getDurationReal (Timestamp timeLine)
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_DurationReal,timeLine);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Is BatchTime.
@param IsBatchTime Is BatchTime */
public void setIsBatchTime (boolean IsBatchTime)
@ -650,18 +553,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return false;
}
public boolean isBatchTime (Timestamp timeLine)
{
Object oo = get_Value(COLUMNNAME_IsBatchTime,timeLine);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Attribute Set Instance.
@param M_AttributeSetInstance_ID
Product Attribute Set Instance
@ -685,14 +576,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public int getM_AttributeSetInstance_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_AttributeSetInstance_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Locator.
@param M_Locator_ID
Warehouse Locator
@ -715,14 +598,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public int getM_Locator_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_Locator_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
public I_M_Product getM_Product() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_Product.Table_Name);
@ -761,14 +636,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public int getM_Product_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_Product_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
/** Get Record ID/ColumnName
@return ID/ColumnName pair
*/
@ -815,14 +682,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public int getM_Warehouse_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_Warehouse_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Movement Date.
@param MovementDate
Date a product was moved in or out of inventory
@ -842,11 +701,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return (Timestamp)get_Value(COLUMNNAME_MovementDate);
}
public Timestamp getMovementDate (Timestamp timeLine)
{
return (Timestamp)get_Value(COLUMNNAME_MovementDate,timeLine);
}
/** Set Movement Quantity.
@param MovementQty
Quantity of a product moved.
@ -869,14 +723,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return bd;
}
public BigDecimal getMovementQty (Timestamp timeLine)
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_MovementQty,timeLine);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Manufacturing Cost Collector.
@param PP_Cost_Collector_ID Manufacturing Cost Collector */
public void setPP_Cost_Collector_ID (int PP_Cost_Collector_ID)
@ -896,14 +742,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public int getPP_Cost_Collector_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Cost_Collector_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_PP_Order_BOMLine getPP_Order_BOMLine() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order_BOMLine.Table_Name);
@ -940,14 +778,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public int getPP_Order_BOMLine_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_BOMLine_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order.Table_Name);
@ -983,14 +813,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public int getPP_Order_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order_Node.Table_Name);
@ -1027,14 +849,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public int getPP_Order_Node_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_Node_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_PP_Order_Workflow getPP_Order_Workflow() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order_Workflow.Table_Name);
@ -1071,14 +885,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public int getPP_Order_Workflow_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_Workflow_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Posted.
@param Posted
Posting status
@ -1103,18 +909,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return false;
}
public boolean isPosted (Timestamp timeLine)
{
Object oo = get_Value(COLUMNNAME_Posted,timeLine);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Processed.
@param Processed
The document has been processed
@ -1139,18 +933,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return false;
}
public boolean isProcessed (Timestamp timeLine)
{
Object oo = get_Value(COLUMNNAME_Processed,timeLine);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Process Now.
@param Processing Process Now */
public void setProcessing (boolean Processing)
@ -1172,18 +954,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return false;
}
public boolean isProcessing (Timestamp timeLine)
{
Object oo = get_Value(COLUMNNAME_Processing,timeLine);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Qty Reject.
@param QtyReject Qty Reject */
public void setQtyReject (BigDecimal QtyReject)
@ -1201,14 +971,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return bd;
}
public BigDecimal getQtyReject (Timestamp timeLine)
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyReject,timeLine);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Reversal ID.
@param Reversal_ID
ID of document reversal
@ -1232,14 +994,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public int getReversal_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_Reversal_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
public I_S_Resource getS_Resource() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_S_Resource.Table_Name);
@ -1278,14 +1032,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public int getS_Resource_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_S_Resource_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Scrapped Quantity.
@param ScrappedQty
The Quantity scrapped due to QA issues
@ -1306,14 +1052,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return bd;
}
public BigDecimal getScrappedQty (Timestamp timeLine)
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ScrappedQty,timeLine);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Setup Time Real.
@param SetupTimeReal Setup Time Real */
public void setSetupTimeReal (BigDecimal SetupTimeReal)
@ -1331,14 +1069,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return bd;
}
public BigDecimal getSetupTimeReal (Timestamp timeLine)
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_SetupTimeReal,timeLine);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set User List 1.
@param User1_ID
User defined list element #1
@ -1362,14 +1092,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public int getUser1_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_User1_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set User List 2.
@param User2_ID
User defined list element #2
@ -1392,12 +1114,4 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return 0;
return ii.intValue();
}
public int getUser2_ID (Timestamp timeLine)
{
Integer ii = (Integer)get_Value(COLUMNNAME_User2_ID,timeLine);
if (ii == null)
return 0;
return ii.intValue();
}
}