[ 2408898 ] Implement Cost Collector Type
http://sourceforge.net/tracker/?func=detail&atid=879335&aid=2408898&group_id=176962
This commit is contained in:
parent
903f073e50
commit
55dc5bff35
|
@ -19,7 +19,6 @@ package org.compiere.model;
|
||||||
|
|
||||||
import java.lang.reflect.Constructor;
|
import java.lang.reflect.Constructor;
|
||||||
import java.sql.ResultSet;
|
import java.sql.ResultSet;
|
||||||
import java.sql.Timestamp;
|
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
import org.compiere.util.KeyNamePair;
|
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();
|
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.
|
/** Set Difference Document.
|
||||||
@param C_DocTypeDifference_ID
|
@param C_DocTypeDifference_ID
|
||||||
Document type for generating in dispute Shipments
|
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();
|
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.
|
/** Set Document Type for Invoice.
|
||||||
@param C_DocTypeInvoice_ID
|
@param C_DocTypeInvoice_ID
|
||||||
Document type used for invoices generated from this sales document
|
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();
|
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.
|
/** Set Document Type for ProForma.
|
||||||
@param C_DocTypeProforma_ID
|
@param C_DocTypeProforma_ID
|
||||||
Document type used for pro forma invoices generated from this sales document
|
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();
|
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.
|
/** Set Document Type for Shipment.
|
||||||
@param C_DocTypeShipment_ID
|
@param C_DocTypeShipment_ID
|
||||||
Document type used for shipments generated from this sales document
|
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();
|
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.
|
/** Set Document Type.
|
||||||
@param C_DocType_ID
|
@param C_DocType_ID
|
||||||
Document type or rules
|
Document type or rules
|
||||||
|
@ -286,14 +245,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
||||||
return ii.intValue();
|
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.
|
/** Set Definite Sequence.
|
||||||
@param DefiniteSequence_ID Definite Sequence */
|
@param DefiniteSequence_ID Definite Sequence */
|
||||||
public void setDefiniteSequence_ID (int DefiniteSequence_ID)
|
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();
|
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.
|
/** Set Description.
|
||||||
@param Description
|
@param Description
|
||||||
Optional short description of the record
|
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);
|
return (String)get_Value(COLUMNNAME_Description);
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getDescription (Timestamp timeLine)
|
|
||||||
{
|
|
||||||
return (String)get_Value(COLUMNNAME_Description,timeLine);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** DocBaseType AD_Reference_ID=183 */
|
/** DocBaseType AD_Reference_ID=183 */
|
||||||
public static final int DOCBASETYPE_AD_Reference_ID=183;
|
public static final int DOCBASETYPE_AD_Reference_ID=183;
|
||||||
/** GL Journal = GLJ */
|
/** 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);
|
return (String)get_Value(COLUMNNAME_DocBaseType);
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getDocBaseType (Timestamp timeLine)
|
|
||||||
{
|
|
||||||
return (String)get_Value(COLUMNNAME_DocBaseType,timeLine);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Document Sequence.
|
/** Set Document Sequence.
|
||||||
@param DocNoSequence_ID
|
@param DocNoSequence_ID
|
||||||
Document sequence determines the numbering of documents
|
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();
|
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 */
|
/** DocSubTypeSO AD_Reference_ID=148 */
|
||||||
public static final int DOCSUBTYPESO_AD_Reference_ID=148;
|
public static final int DOCSUBTYPESO_AD_Reference_ID=148;
|
||||||
/** On Credit Order = WI */
|
/** 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);
|
return (String)get_Value(COLUMNNAME_DocSubTypeSO);
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getDocSubTypeSO (Timestamp timeLine)
|
|
||||||
{
|
|
||||||
return (String)get_Value(COLUMNNAME_DocSubTypeSO,timeLine);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Document Copies.
|
/** Set Document Copies.
|
||||||
@param DocumentCopies
|
@param DocumentCopies
|
||||||
Number of copies to be printed
|
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();
|
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.
|
/** Set Document Note.
|
||||||
@param DocumentNote
|
@param DocumentNote
|
||||||
Additional information for a Document
|
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);
|
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
|
public I_GL_Category getGL_Category() throws RuntimeException
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(I_GL_Category.Table_Name);
|
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();
|
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.
|
/** Set Charges.
|
||||||
@param HasCharges
|
@param HasCharges
|
||||||
Charges can be added to the document
|
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;
|
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.
|
/** Set Pro forma Invoice.
|
||||||
@param HasProforma
|
@param HasProforma
|
||||||
Indicates if Pro Forma Invoices can be generated from this document
|
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;
|
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.
|
/** Set Create Counter Document.
|
||||||
@param IsCreateCounter
|
@param IsCreateCounter
|
||||||
Create Counter Document
|
Create Counter Document
|
||||||
|
@ -689,18 +564,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
||||||
return false;
|
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.
|
/** Set Default.
|
||||||
@param IsDefault
|
@param IsDefault
|
||||||
Default value
|
Default value
|
||||||
|
@ -725,18 +588,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
||||||
return false;
|
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.
|
/** Set Default Counter Document.
|
||||||
@param IsDefaultCounterDoc
|
@param IsDefaultCounterDoc
|
||||||
The document type is the default counter document type
|
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;
|
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.
|
/** Set Document is Number Controlled.
|
||||||
@param IsDocNoControlled
|
@param IsDocNoControlled
|
||||||
The document has a document sequence
|
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;
|
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.
|
/** Set In Transit.
|
||||||
@param IsInTransit
|
@param IsInTransit
|
||||||
Movement is in transit
|
Movement is in transit
|
||||||
|
@ -833,18 +660,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
||||||
return false;
|
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.
|
/** Set Indexed.
|
||||||
@param IsIndexed
|
@param IsIndexed
|
||||||
Index the document for the internal search engine
|
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;
|
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.
|
/** Set Overwrite Date on Complete.
|
||||||
@param IsOverwriteDateOnComplete Overwrite Date on Complete */
|
@param IsOverwriteDateOnComplete Overwrite Date on Complete */
|
||||||
public void setIsOverwriteDateOnComplete (boolean IsOverwriteDateOnComplete)
|
public void setIsOverwriteDateOnComplete (boolean IsOverwriteDateOnComplete)
|
||||||
|
@ -902,18 +705,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
||||||
return false;
|
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.
|
/** Set Overwrite Sequence on Complete.
|
||||||
@param IsOverwriteSeqOnComplete Overwrite Sequence on Complete */
|
@param IsOverwriteSeqOnComplete Overwrite Sequence on Complete */
|
||||||
public void setIsOverwriteSeqOnComplete (boolean IsOverwriteSeqOnComplete)
|
public void setIsOverwriteSeqOnComplete (boolean IsOverwriteSeqOnComplete)
|
||||||
|
@ -935,18 +726,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
||||||
return false;
|
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.
|
/** Set Pick/QA Confirmation.
|
||||||
@param IsPickQAConfirm
|
@param IsPickQAConfirm
|
||||||
Require Pick or QA Confirmation before processing
|
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;
|
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.
|
/** Set Sales Transaction.
|
||||||
@param IsSOTrx
|
@param IsSOTrx
|
||||||
This is a Sales Transaction
|
This is a Sales Transaction
|
||||||
|
@ -1007,18 +774,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
||||||
return false;
|
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.
|
/** Set Ship/Receipt Confirmation.
|
||||||
@param IsShipConfirm
|
@param IsShipConfirm
|
||||||
Require Ship or Receipt Confirmation before processing
|
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;
|
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.
|
/** Set Split when Difference.
|
||||||
@param IsSplitWhenDifference
|
@param IsSplitWhenDifference
|
||||||
Split document when there is a difference
|
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;
|
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.
|
/** Set Name.
|
||||||
@param Name
|
@param Name
|
||||||
Alphanumeric identifier of the entity
|
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);
|
return (String)get_Value(COLUMNNAME_Name);
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getName (Timestamp timeLine)
|
|
||||||
{
|
|
||||||
return (String)get_Value(COLUMNNAME_Name,timeLine);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Record ID/ColumnName
|
/** Get Record ID/ColumnName
|
||||||
@return ID/ColumnName pair
|
@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);
|
return (String)get_Value(COLUMNNAME_PrintName);
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getPrintName (Timestamp timeLine)
|
|
||||||
{
|
|
||||||
return (String)get_Value(COLUMNNAME_PrintName,timeLine);
|
|
||||||
}
|
|
||||||
}
|
}
|
|
@ -114,14 +114,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
|
||||||
return ii.intValue();
|
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
|
public I_AD_User getAD_User() throws RuntimeException
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(I_AD_User.Table_Name);
|
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();
|
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
|
public I_C_Activity getC_Activity() throws RuntimeException
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(I_C_Activity.Table_Name);
|
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();
|
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
|
public I_C_Campaign getC_Campaign() throws RuntimeException
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(I_C_Campaign.Table_Name);
|
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();
|
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.
|
/** Set Target Document Type.
|
||||||
@param C_DocTypeTarget_ID
|
@param C_DocTypeTarget_ID
|
||||||
Target document type for conversing documents
|
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();
|
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.
|
/** Set Document Type.
|
||||||
@param C_DocType_ID
|
@param C_DocType_ID
|
||||||
Document type or rules
|
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();
|
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
|
public I_C_Project getC_Project() throws RuntimeException
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(I_C_Project.Table_Name);
|
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();
|
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
|
public I_C_UOM getC_UOM() throws RuntimeException
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(I_C_UOM.Table_Name);
|
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();
|
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 */
|
/** CostCollectorType AD_Reference_ID=53287 */
|
||||||
public static final int COSTCOLLECTORTYPE_AD_Reference_ID=53287;
|
public static final int COSTCOLLECTORTYPE_AD_Reference_ID=53287;
|
||||||
/** Material Receipt = 100 */
|
/** 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);
|
return (String)get_Value(COLUMNNAME_CostCollectorType);
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getCostCollectorType (Timestamp timeLine)
|
|
||||||
{
|
|
||||||
return (String)get_Value(COLUMNNAME_CostCollectorType,timeLine);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Account Date.
|
/** Set Account Date.
|
||||||
@param DateAcct
|
@param DateAcct
|
||||||
Accounting Date
|
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);
|
return (Timestamp)get_Value(COLUMNNAME_DateAcct);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Timestamp getDateAcct (Timestamp timeLine)
|
|
||||||
{
|
|
||||||
return (Timestamp)get_Value(COLUMNNAME_DateAcct,timeLine);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Description.
|
/** Set Description.
|
||||||
@param Description
|
@param Description
|
||||||
Optional short description of the record
|
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);
|
return (String)get_Value(COLUMNNAME_Description);
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getDescription (Timestamp timeLine)
|
|
||||||
{
|
|
||||||
return (String)get_Value(COLUMNNAME_Description,timeLine);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** DocAction AD_Reference_ID=135 */
|
/** DocAction AD_Reference_ID=135 */
|
||||||
public static final int DOCACTION_AD_Reference_ID=135;
|
public static final int DOCACTION_AD_Reference_ID=135;
|
||||||
/** Complete = CO */
|
/** 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);
|
return (String)get_Value(COLUMNNAME_DocAction);
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getDocAction (Timestamp timeLine)
|
|
||||||
{
|
|
||||||
return (String)get_Value(COLUMNNAME_DocAction,timeLine);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** DocStatus AD_Reference_ID=131 */
|
/** DocStatus AD_Reference_ID=131 */
|
||||||
public static final int DOCSTATUS_AD_Reference_ID=131;
|
public static final int DOCSTATUS_AD_Reference_ID=131;
|
||||||
/** Drafted = DR */
|
/** 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);
|
return (String)get_Value(COLUMNNAME_DocStatus);
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getDocStatus (Timestamp timeLine)
|
|
||||||
{
|
|
||||||
return (String)get_Value(COLUMNNAME_DocStatus,timeLine);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Duration Real.
|
/** Set Duration Real.
|
||||||
@param DurationReal Duration Real */
|
@param DurationReal Duration Real */
|
||||||
public void setDurationReal (BigDecimal DurationReal)
|
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;
|
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.
|
/** Set Is BatchTime.
|
||||||
@param IsBatchTime Is BatchTime */
|
@param IsBatchTime Is BatchTime */
|
||||||
public void setIsBatchTime (boolean IsBatchTime)
|
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;
|
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.
|
/** Set Attribute Set Instance.
|
||||||
@param M_AttributeSetInstance_ID
|
@param M_AttributeSetInstance_ID
|
||||||
Product Attribute Set Instance
|
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();
|
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.
|
/** Set Locator.
|
||||||
@param M_Locator_ID
|
@param M_Locator_ID
|
||||||
Warehouse Locator
|
Warehouse Locator
|
||||||
|
@ -715,14 +598,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
|
||||||
return ii.intValue();
|
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
|
public I_M_Product getM_Product() throws RuntimeException
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(I_M_Product.Table_Name);
|
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();
|
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
|
/** Get Record ID/ColumnName
|
||||||
@return ID/ColumnName pair
|
@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();
|
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.
|
/** Set Movement Date.
|
||||||
@param MovementDate
|
@param MovementDate
|
||||||
Date a product was moved in or out of inventory
|
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);
|
return (Timestamp)get_Value(COLUMNNAME_MovementDate);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Timestamp getMovementDate (Timestamp timeLine)
|
|
||||||
{
|
|
||||||
return (Timestamp)get_Value(COLUMNNAME_MovementDate,timeLine);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Movement Quantity.
|
/** Set Movement Quantity.
|
||||||
@param MovementQty
|
@param MovementQty
|
||||||
Quantity of a product moved.
|
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;
|
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.
|
/** Set Manufacturing Cost Collector.
|
||||||
@param PP_Cost_Collector_ID Manufacturing Cost Collector */
|
@param PP_Cost_Collector_ID Manufacturing Cost Collector */
|
||||||
public void setPP_Cost_Collector_ID (int PP_Cost_Collector_ID)
|
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();
|
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
|
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);
|
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();
|
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
|
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order.Table_Name);
|
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();
|
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
|
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);
|
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();
|
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
|
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);
|
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();
|
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.
|
/** Set Posted.
|
||||||
@param Posted
|
@param Posted
|
||||||
Posting status
|
Posting status
|
||||||
|
@ -1103,18 +909,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
|
||||||
return false;
|
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.
|
/** Set Processed.
|
||||||
@param Processed
|
@param Processed
|
||||||
The document has been 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;
|
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.
|
/** Set Process Now.
|
||||||
@param Processing Process Now */
|
@param Processing Process Now */
|
||||||
public void setProcessing (boolean Processing)
|
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;
|
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.
|
/** Set Qty Reject.
|
||||||
@param QtyReject Qty Reject */
|
@param QtyReject Qty Reject */
|
||||||
public void setQtyReject (BigDecimal QtyReject)
|
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;
|
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.
|
/** Set Reversal ID.
|
||||||
@param Reversal_ID
|
@param Reversal_ID
|
||||||
ID of document reversal
|
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();
|
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
|
public I_S_Resource getS_Resource() throws RuntimeException
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(I_S_Resource.Table_Name);
|
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();
|
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.
|
/** Set Scrapped Quantity.
|
||||||
@param ScrappedQty
|
@param ScrappedQty
|
||||||
The Quantity scrapped due to QA issues
|
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;
|
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.
|
/** Set Setup Time Real.
|
||||||
@param SetupTimeReal Setup Time Real */
|
@param SetupTimeReal Setup Time Real */
|
||||||
public void setSetupTimeReal (BigDecimal SetupTimeReal)
|
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;
|
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.
|
/** Set User List 1.
|
||||||
@param User1_ID
|
@param User1_ID
|
||||||
User defined list element #1
|
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();
|
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.
|
/** Set User List 2.
|
||||||
@param User2_ID
|
@param User2_ID
|
||||||
User defined list element #2
|
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 0;
|
||||||
return ii.intValue();
|
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();
|
|
||||||
}
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue