[ 2021146 ] Do not work VMRPDetail, MRP Detail Report and VIEWs
http://sourceforge.net/tracker/index.php?func=detail&aid=2021146&group_id=176962&atid=879332
This commit is contained in:
parent
dafa882076
commit
146c0cc4b4
|
@ -107,13 +107,14 @@ public class CalloutMRP extends CalloutEngine
|
||||||
|
|
||||||
if (IsSOTrx)
|
if (IsSOTrx)
|
||||||
{
|
{
|
||||||
mrp.setType("D");
|
mrp.setOrderType(MPPMRP.ORDERTYPE_SalesOrder);
|
||||||
mrp.setTypeMRP("SOO");
|
mrp.setTypeMRP(MPPMRP.TYPEMRP_Demand);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
mrp.setType("S");
|
mrp.setOrderType(MPPMRP.ORDERTYPE_MaterialRequisition);
|
||||||
mrp.setTypeMRP("POO");
|
mrp.setTypeMRP("POO");
|
||||||
|
mrp.setTypeMRP(MPPMRP.TYPEMRP_Supply);
|
||||||
}
|
}
|
||||||
mrp.save();
|
mrp.save();
|
||||||
}
|
}
|
||||||
|
@ -200,8 +201,8 @@ public class CalloutMRP extends CalloutEngine
|
||||||
mrp.setM_Product_ID(M_Product_ID);
|
mrp.setM_Product_ID(M_Product_ID);
|
||||||
mrp.setM_Warehouse_ID(M_Warehouse_ID);
|
mrp.setM_Warehouse_ID(M_Warehouse_ID);
|
||||||
//mrp.setS_Resource_ID();
|
//mrp.setS_Resource_ID();
|
||||||
mrp.setType("S");
|
mrp.setTypeMRP(MPPMRP.TYPEMRP_Supply);
|
||||||
mrp.setTypeMRP("MOP");
|
mrp.setOrderType(MPPMRP.ORDERTYPE_ManufacturingOrder);
|
||||||
mrp.save();
|
mrp.save();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -288,8 +289,8 @@ public class CalloutMRP extends CalloutEngine
|
||||||
mrp.setM_Product_ID(M_Product_ID);
|
mrp.setM_Product_ID(M_Product_ID);
|
||||||
mrp.setM_Warehouse_ID(M_Warehouse_ID);
|
mrp.setM_Warehouse_ID(M_Warehouse_ID);
|
||||||
//mrp.setS_Resource_ID();
|
//mrp.setS_Resource_ID();
|
||||||
mrp.setType("D");
|
mrp.setOrderType(MPPMRP.TYPEMRP_Demand);
|
||||||
mrp.setTypeMRP("MOP");
|
mrp.setOrderType(MPPMRP.ORDERTYPE_ManufacturingOrder);
|
||||||
mrp.save();
|
mrp.save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for C_TaxBase
|
/** Generated Interface for C_TaxBase
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_C_TaxBase
|
public interface I_C_TaxBase
|
||||||
{
|
{
|
||||||
|
|
|
@ -39,7 +39,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for C_TaxDefinition
|
/** Generated Interface for C_TaxDefinition
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_C_TaxDefinition
|
public interface I_C_TaxDefinition
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,7 +38,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for C_TaxGroup
|
/** Generated Interface for C_TaxGroup
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_C_TaxGroup
|
public interface I_C_TaxGroup
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,7 +38,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for C_TaxType
|
/** Generated Interface for C_TaxType
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_C_TaxType
|
public interface I_C_TaxType
|
||||||
{
|
{
|
||||||
|
|
|
@ -39,7 +39,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for DD_NetworkDistribution
|
/** Generated Interface for DD_NetworkDistribution
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_DD_NetworkDistribution
|
public interface I_DD_NetworkDistribution
|
||||||
{
|
{
|
||||||
|
|
|
@ -39,7 +39,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for DD_NetworkDistributionLine
|
/** Generated Interface for DD_NetworkDistributionLine
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_DD_NetworkDistributionLine
|
public interface I_DD_NetworkDistributionLine
|
||||||
{
|
{
|
||||||
|
|
|
@ -39,7 +39,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for DD_Order
|
/** Generated Interface for DD_Order
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_DD_Order
|
public interface I_DD_Order
|
||||||
{
|
{
|
||||||
|
|
|
@ -39,7 +39,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for DD_OrderLine
|
/** Generated Interface for DD_OrderLine
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_DD_OrderLine
|
public interface I_DD_OrderLine
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,7 +38,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for EXP_Format
|
/** Generated Interface for EXP_Format
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_EXP_Format
|
public interface I_EXP_Format
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,7 +38,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for EXP_FormatLine
|
/** Generated Interface for EXP_FormatLine
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_EXP_FormatLine
|
public interface I_EXP_FormatLine
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,7 +38,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for EXP_Processor
|
/** Generated Interface for EXP_Processor
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_EXP_Processor
|
public interface I_EXP_Processor
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,7 +38,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for EXP_ProcessorParameter
|
/** Generated Interface for EXP_ProcessorParameter
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_EXP_ProcessorParameter
|
public interface I_EXP_ProcessorParameter
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,7 +38,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for EXP_Processor_Type
|
/** Generated Interface for EXP_Processor_Type
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_EXP_Processor_Type
|
public interface I_EXP_Processor_Type
|
||||||
{
|
{
|
||||||
|
|
|
@ -39,7 +39,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for HR_Attribute
|
/** Generated Interface for HR_Attribute
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_HR_Attribute
|
public interface I_HR_Attribute
|
||||||
{
|
{
|
||||||
|
|
|
@ -39,7 +39,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for HR_Concept
|
/** Generated Interface for HR_Concept
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_HR_Concept
|
public interface I_HR_Concept
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,7 +38,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for HR_Concept_Acct
|
/** Generated Interface for HR_Concept_Acct
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_HR_Concept_Acct
|
public interface I_HR_Concept_Acct
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,7 +38,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for HR_Concept_Category
|
/** Generated Interface for HR_Concept_Category
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_HR_Concept_Category
|
public interface I_HR_Concept_Category
|
||||||
{
|
{
|
||||||
|
|
|
@ -39,7 +39,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for HR_Contract
|
/** Generated Interface for HR_Contract
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_HR_Contract
|
public interface I_HR_Contract
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,7 +38,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for HR_Department
|
/** Generated Interface for HR_Department
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_HR_Department
|
public interface I_HR_Department
|
||||||
{
|
{
|
||||||
|
|
|
@ -39,7 +39,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for HR_Employee
|
/** Generated Interface for HR_Employee
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_HR_Employee
|
public interface I_HR_Employee
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,7 +38,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for HR_Job
|
/** Generated Interface for HR_Job
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_HR_Job
|
public interface I_HR_Job
|
||||||
{
|
{
|
||||||
|
|
|
@ -39,7 +39,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for HR_List
|
/** Generated Interface for HR_List
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_HR_List
|
public interface I_HR_List
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,7 +38,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for HR_ListLine
|
/** Generated Interface for HR_ListLine
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_HR_ListLine
|
public interface I_HR_ListLine
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,7 +38,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for HR_ListType
|
/** Generated Interface for HR_ListType
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_HR_ListType
|
public interface I_HR_ListType
|
||||||
{
|
{
|
||||||
|
|
|
@ -39,7 +39,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for HR_ListVersion
|
/** Generated Interface for HR_ListVersion
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_HR_ListVersion
|
public interface I_HR_ListVersion
|
||||||
{
|
{
|
||||||
|
|
|
@ -39,7 +39,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for HR_Movement
|
/** Generated Interface for HR_Movement
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_HR_Movement
|
public interface I_HR_Movement
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,7 +38,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for HR_Payroll
|
/** Generated Interface for HR_Payroll
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_HR_Payroll
|
public interface I_HR_Payroll
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,7 +38,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for HR_PayrollConcept
|
/** Generated Interface for HR_PayrollConcept
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_HR_PayrollConcept
|
public interface I_HR_PayrollConcept
|
||||||
{
|
{
|
||||||
|
|
|
@ -39,7 +39,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for HR_Period
|
/** Generated Interface for HR_Period
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_HR_Period
|
public interface I_HR_Period
|
||||||
{
|
{
|
||||||
|
|
|
@ -39,7 +39,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for HR_Process
|
/** Generated Interface for HR_Process
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_HR_Process
|
public interface I_HR_Process
|
||||||
{
|
{
|
||||||
|
|
|
@ -39,7 +39,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for HR_Year
|
/** Generated Interface for HR_Year
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_HR_Year
|
public interface I_HR_Year
|
||||||
{
|
{
|
||||||
|
|
|
@ -39,7 +39,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for IMP_Processor
|
/** Generated Interface for IMP_Processor
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_IMP_Processor
|
public interface I_IMP_Processor
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,7 +38,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for IMP_ProcessorLog
|
/** Generated Interface for IMP_ProcessorLog
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_IMP_ProcessorLog
|
public interface I_IMP_ProcessorLog
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,7 +38,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for IMP_ProcessorParameter
|
/** Generated Interface for IMP_ProcessorParameter
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_IMP_ProcessorParameter
|
public interface I_IMP_ProcessorParameter
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,7 +38,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for IMP_Processor_Type
|
/** Generated Interface for IMP_Processor_Type
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_IMP_Processor_Type
|
public interface I_IMP_Processor_Type
|
||||||
{
|
{
|
||||||
|
|
|
@ -116,19 +116,6 @@ public interface I_PP_Cost_Collector
|
||||||
|
|
||||||
public I_C_Campaign getC_Campaign() throws Exception;
|
public I_C_Campaign getC_Campaign() throws Exception;
|
||||||
|
|
||||||
/** Column name C_DocTypeTarget_ID */
|
|
||||||
public static final String COLUMNNAME_C_DocTypeTarget_ID = "C_DocTypeTarget_ID";
|
|
||||||
|
|
||||||
/** Set Target Document Type.
|
|
||||||
* Target document type for conversing documents
|
|
||||||
*/
|
|
||||||
public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID);
|
|
||||||
|
|
||||||
/** Get Target Document Type.
|
|
||||||
* Target document type for conversing documents
|
|
||||||
*/
|
|
||||||
public int getC_DocTypeTarget_ID();
|
|
||||||
|
|
||||||
/** Column name C_DocType_ID */
|
/** Column name C_DocType_ID */
|
||||||
public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID";
|
public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID";
|
||||||
|
|
||||||
|
@ -142,6 +129,19 @@ public interface I_PP_Cost_Collector
|
||||||
*/
|
*/
|
||||||
public int getC_DocType_ID();
|
public int getC_DocType_ID();
|
||||||
|
|
||||||
|
/** Column name C_DocTypeTarget_ID */
|
||||||
|
public static final String COLUMNNAME_C_DocTypeTarget_ID = "C_DocTypeTarget_ID";
|
||||||
|
|
||||||
|
/** Set Target Document Type.
|
||||||
|
* Target document type for conversing documents
|
||||||
|
*/
|
||||||
|
public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID);
|
||||||
|
|
||||||
|
/** Get Target Document Type.
|
||||||
|
* Target document type for conversing documents
|
||||||
|
*/
|
||||||
|
public int getC_DocTypeTarget_ID();
|
||||||
|
|
||||||
/** Column name C_Project_ID */
|
/** Column name C_Project_ID */
|
||||||
public static final String COLUMNNAME_C_Project_ID = "C_Project_ID";
|
public static final String COLUMNNAME_C_Project_ID = "C_Project_ID";
|
||||||
|
|
||||||
|
@ -268,36 +268,6 @@ public interface I_PP_Cost_Collector
|
||||||
*/
|
*/
|
||||||
public int getM_Locator_ID();
|
public int getM_Locator_ID();
|
||||||
|
|
||||||
/** Column name M_Product_ID */
|
|
||||||
public static final String COLUMNNAME_M_Product_ID = "M_Product_ID";
|
|
||||||
|
|
||||||
/** Set Product.
|
|
||||||
* Product, Service, Item
|
|
||||||
*/
|
|
||||||
public void setM_Product_ID (int M_Product_ID);
|
|
||||||
|
|
||||||
/** Get Product.
|
|
||||||
* Product, Service, Item
|
|
||||||
*/
|
|
||||||
public int getM_Product_ID();
|
|
||||||
|
|
||||||
public I_M_Product getM_Product() throws Exception;
|
|
||||||
|
|
||||||
/** Column name M_Warehouse_ID */
|
|
||||||
public static final String COLUMNNAME_M_Warehouse_ID = "M_Warehouse_ID";
|
|
||||||
|
|
||||||
/** Set Warehouse.
|
|
||||||
* Storage Warehouse and Service Point
|
|
||||||
*/
|
|
||||||
public void setM_Warehouse_ID (int M_Warehouse_ID);
|
|
||||||
|
|
||||||
/** Get Warehouse.
|
|
||||||
* Storage Warehouse and Service Point
|
|
||||||
*/
|
|
||||||
public int getM_Warehouse_ID();
|
|
||||||
|
|
||||||
public I_M_Warehouse getM_Warehouse() throws Exception;
|
|
||||||
|
|
||||||
/** Column name MovementDate */
|
/** Column name MovementDate */
|
||||||
public static final String COLUMNNAME_MovementDate = "MovementDate";
|
public static final String COLUMNNAME_MovementDate = "MovementDate";
|
||||||
|
|
||||||
|
@ -337,6 +307,49 @@ public interface I_PP_Cost_Collector
|
||||||
*/
|
*/
|
||||||
public String getMovementType();
|
public String getMovementType();
|
||||||
|
|
||||||
|
/** Column name M_Product_ID */
|
||||||
|
public static final String COLUMNNAME_M_Product_ID = "M_Product_ID";
|
||||||
|
|
||||||
|
/** Set Product.
|
||||||
|
* Product, Service, Item
|
||||||
|
*/
|
||||||
|
public void setM_Product_ID (int M_Product_ID);
|
||||||
|
|
||||||
|
/** Get Product.
|
||||||
|
* Product, Service, Item
|
||||||
|
*/
|
||||||
|
public int getM_Product_ID();
|
||||||
|
|
||||||
|
public I_M_Product getM_Product() throws Exception;
|
||||||
|
|
||||||
|
/** Column name M_Warehouse_ID */
|
||||||
|
public static final String COLUMNNAME_M_Warehouse_ID = "M_Warehouse_ID";
|
||||||
|
|
||||||
|
/** Set Warehouse.
|
||||||
|
* Storage Warehouse and Service Point
|
||||||
|
*/
|
||||||
|
public void setM_Warehouse_ID (int M_Warehouse_ID);
|
||||||
|
|
||||||
|
/** Get Warehouse.
|
||||||
|
* Storage Warehouse and Service Point
|
||||||
|
*/
|
||||||
|
public int getM_Warehouse_ID();
|
||||||
|
|
||||||
|
public I_M_Warehouse getM_Warehouse() throws Exception;
|
||||||
|
|
||||||
|
/** Column name Posted */
|
||||||
|
public static final String COLUMNNAME_Posted = "Posted";
|
||||||
|
|
||||||
|
/** Set Posted.
|
||||||
|
* Posting status
|
||||||
|
*/
|
||||||
|
public void setPosted (boolean Posted);
|
||||||
|
|
||||||
|
/** Get Posted.
|
||||||
|
* Posting status
|
||||||
|
*/
|
||||||
|
public boolean isPosted();
|
||||||
|
|
||||||
/** Column name PP_Cost_Collector_ID */
|
/** Column name PP_Cost_Collector_ID */
|
||||||
public static final String COLUMNNAME_PP_Cost_Collector_ID = "PP_Cost_Collector_ID";
|
public static final String COLUMNNAME_PP_Cost_Collector_ID = "PP_Cost_Collector_ID";
|
||||||
|
|
||||||
|
@ -390,19 +403,6 @@ public interface I_PP_Cost_Collector
|
||||||
|
|
||||||
public org.eevolution.model.I_PP_Order_Workflow getPP_Order_Workflow() throws Exception;
|
public org.eevolution.model.I_PP_Order_Workflow getPP_Order_Workflow() throws Exception;
|
||||||
|
|
||||||
/** Column name Posted */
|
|
||||||
public static final String COLUMNNAME_Posted = "Posted";
|
|
||||||
|
|
||||||
/** Set Posted.
|
|
||||||
* Posting status
|
|
||||||
*/
|
|
||||||
public void setPosted (boolean Posted);
|
|
||||||
|
|
||||||
/** Get Posted.
|
|
||||||
* Posting status
|
|
||||||
*/
|
|
||||||
public boolean isPosted();
|
|
||||||
|
|
||||||
/** Column name Processed */
|
/** Column name Processed */
|
||||||
public static final String COLUMNNAME_Processed = "Processed";
|
public static final String COLUMNNAME_Processed = "Processed";
|
||||||
|
|
||||||
|
@ -447,21 +447,6 @@ public interface I_PP_Cost_Collector
|
||||||
*/
|
*/
|
||||||
public int getReversal_ID();
|
public int getReversal_ID();
|
||||||
|
|
||||||
/** Column name S_Resource_ID */
|
|
||||||
public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID";
|
|
||||||
|
|
||||||
/** Set Resource.
|
|
||||||
* Resource
|
|
||||||
*/
|
|
||||||
public void setS_Resource_ID (int S_Resource_ID);
|
|
||||||
|
|
||||||
/** Get Resource.
|
|
||||||
* Resource
|
|
||||||
*/
|
|
||||||
public int getS_Resource_ID();
|
|
||||||
|
|
||||||
public I_S_Resource getS_Resource() throws Exception;
|
|
||||||
|
|
||||||
/** Column name ScrappedQty */
|
/** Column name ScrappedQty */
|
||||||
public static final String COLUMNNAME_ScrappedQty = "ScrappedQty";
|
public static final String COLUMNNAME_ScrappedQty = "ScrappedQty";
|
||||||
|
|
||||||
|
@ -484,6 +469,21 @@ public interface I_PP_Cost_Collector
|
||||||
/** Get SetupTimeReal */
|
/** Get SetupTimeReal */
|
||||||
public BigDecimal getSetupTimeReal();
|
public BigDecimal getSetupTimeReal();
|
||||||
|
|
||||||
|
/** Column name S_Resource_ID */
|
||||||
|
public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID";
|
||||||
|
|
||||||
|
/** Set Resource.
|
||||||
|
* Resource
|
||||||
|
*/
|
||||||
|
public void setS_Resource_ID (int S_Resource_ID);
|
||||||
|
|
||||||
|
/** Get Resource.
|
||||||
|
* Resource
|
||||||
|
*/
|
||||||
|
public int getS_Resource_ID();
|
||||||
|
|
||||||
|
public I_S_Resource getS_Resource() throws Exception;
|
||||||
|
|
||||||
/** Column name User1_ID */
|
/** Column name User1_ID */
|
||||||
public static final String COLUMNNAME_User1_ID = "User1_ID";
|
public static final String COLUMNNAME_User1_ID = "User1_ID";
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for PP_MRP
|
/** Generated Interface for PP_MRP
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.0
|
* @version Release 3.5.1a
|
||||||
*/
|
*/
|
||||||
public interface I_PP_MRP
|
public interface I_PP_MRP
|
||||||
{
|
{
|
||||||
|
@ -73,21 +73,6 @@ public interface I_PP_MRP
|
||||||
|
|
||||||
public I_C_BPartner getC_BPartner() throws Exception;
|
public I_C_BPartner getC_BPartner() throws Exception;
|
||||||
|
|
||||||
/** Column name C_OrderLine_ID */
|
|
||||||
public static final String COLUMNNAME_C_OrderLine_ID = "C_OrderLine_ID";
|
|
||||||
|
|
||||||
/** Set Sales Order Line.
|
|
||||||
* Sales Order Line
|
|
||||||
*/
|
|
||||||
public void setC_OrderLine_ID (int C_OrderLine_ID);
|
|
||||||
|
|
||||||
/** Get Sales Order Line.
|
|
||||||
* Sales Order Line
|
|
||||||
*/
|
|
||||||
public int getC_OrderLine_ID();
|
|
||||||
|
|
||||||
public I_C_OrderLine getC_OrderLine() throws Exception;
|
|
||||||
|
|
||||||
/** Column name C_Order_ID */
|
/** Column name C_Order_ID */
|
||||||
public static final String COLUMNNAME_C_Order_ID = "C_Order_ID";
|
public static final String COLUMNNAME_C_Order_ID = "C_Order_ID";
|
||||||
|
|
||||||
|
@ -103,27 +88,20 @@ public interface I_PP_MRP
|
||||||
|
|
||||||
public I_C_Order getC_Order() throws Exception;
|
public I_C_Order getC_Order() throws Exception;
|
||||||
|
|
||||||
/** Column name DD_OrderLine_ID */
|
/** Column name C_OrderLine_ID */
|
||||||
public static final String COLUMNNAME_DD_OrderLine_ID = "DD_OrderLine_ID";
|
public static final String COLUMNNAME_C_OrderLine_ID = "C_OrderLine_ID";
|
||||||
|
|
||||||
/** Set Distribution Order Line */
|
/** Set Sales Order Line.
|
||||||
public void setDD_OrderLine_ID (int DD_OrderLine_ID);
|
* Sales Order Line
|
||||||
|
*/
|
||||||
|
public void setC_OrderLine_ID (int C_OrderLine_ID);
|
||||||
|
|
||||||
/** Get Distribution Order Line */
|
/** Get Sales Order Line.
|
||||||
public int getDD_OrderLine_ID();
|
* Sales Order Line
|
||||||
|
*/
|
||||||
|
public int getC_OrderLine_ID();
|
||||||
|
|
||||||
public org.eevolution.model.I_DD_OrderLine getDD_OrderLine() throws Exception;
|
public I_C_OrderLine getC_OrderLine() throws Exception;
|
||||||
|
|
||||||
/** Column name DD_Order_ID */
|
|
||||||
public static final String COLUMNNAME_DD_Order_ID = "DD_Order_ID";
|
|
||||||
|
|
||||||
/** Set Distribution Order */
|
|
||||||
public void setDD_Order_ID (int DD_Order_ID);
|
|
||||||
|
|
||||||
/** Get Distribution Order */
|
|
||||||
public int getDD_Order_ID();
|
|
||||||
|
|
||||||
public org.eevolution.model.I_DD_Order getDD_Order() throws Exception;
|
|
||||||
|
|
||||||
/** Column name DateConfirm */
|
/** Column name DateConfirm */
|
||||||
public static final String COLUMNNAME_DateConfirm = "DateConfirm";
|
public static final String COLUMNNAME_DateConfirm = "DateConfirm";
|
||||||
|
@ -196,6 +174,28 @@ public interface I_PP_MRP
|
||||||
/** Get DateStartSchedule */
|
/** Get DateStartSchedule */
|
||||||
public Timestamp getDateStartSchedule();
|
public Timestamp getDateStartSchedule();
|
||||||
|
|
||||||
|
/** Column name DD_Order_ID */
|
||||||
|
public static final String COLUMNNAME_DD_Order_ID = "DD_Order_ID";
|
||||||
|
|
||||||
|
/** Set Distribution Order */
|
||||||
|
public void setDD_Order_ID (int DD_Order_ID);
|
||||||
|
|
||||||
|
/** Get Distribution Order */
|
||||||
|
public int getDD_Order_ID();
|
||||||
|
|
||||||
|
public org.eevolution.model.I_DD_Order getDD_Order() throws Exception;
|
||||||
|
|
||||||
|
/** Column name DD_OrderLine_ID */
|
||||||
|
public static final String COLUMNNAME_DD_OrderLine_ID = "DD_OrderLine_ID";
|
||||||
|
|
||||||
|
/** Set Distribution Order Line */
|
||||||
|
public void setDD_OrderLine_ID (int DD_OrderLine_ID);
|
||||||
|
|
||||||
|
/** Get Distribution Order Line */
|
||||||
|
public int getDD_OrderLine_ID();
|
||||||
|
|
||||||
|
public org.eevolution.model.I_DD_OrderLine getDD_OrderLine() throws Exception;
|
||||||
|
|
||||||
/** Column name Description */
|
/** Column name Description */
|
||||||
public static final String COLUMNNAME_Description = "Description";
|
public static final String COLUMNNAME_Description = "Description";
|
||||||
|
|
||||||
|
@ -235,21 +235,6 @@ public interface I_PP_MRP
|
||||||
*/
|
*/
|
||||||
public boolean isAvailable();
|
public boolean isAvailable();
|
||||||
|
|
||||||
/** Column name M_ForecastLine_ID */
|
|
||||||
public static final String COLUMNNAME_M_ForecastLine_ID = "M_ForecastLine_ID";
|
|
||||||
|
|
||||||
/** Set Forecast Line.
|
|
||||||
* Forecast Line
|
|
||||||
*/
|
|
||||||
public void setM_ForecastLine_ID (int M_ForecastLine_ID);
|
|
||||||
|
|
||||||
/** Get Forecast Line.
|
|
||||||
* Forecast Line
|
|
||||||
*/
|
|
||||||
public int getM_ForecastLine_ID();
|
|
||||||
|
|
||||||
public I_M_ForecastLine getM_ForecastLine() throws Exception;
|
|
||||||
|
|
||||||
/** Column name M_Forecast_ID */
|
/** Column name M_Forecast_ID */
|
||||||
public static final String COLUMNNAME_M_Forecast_ID = "M_Forecast_ID";
|
public static final String COLUMNNAME_M_Forecast_ID = "M_Forecast_ID";
|
||||||
|
|
||||||
|
@ -265,6 +250,21 @@ public interface I_PP_MRP
|
||||||
|
|
||||||
public I_M_Forecast getM_Forecast() throws Exception;
|
public I_M_Forecast getM_Forecast() throws Exception;
|
||||||
|
|
||||||
|
/** Column name M_ForecastLine_ID */
|
||||||
|
public static final String COLUMNNAME_M_ForecastLine_ID = "M_ForecastLine_ID";
|
||||||
|
|
||||||
|
/** Set Forecast Line.
|
||||||
|
* Forecast Line
|
||||||
|
*/
|
||||||
|
public void setM_ForecastLine_ID (int M_ForecastLine_ID);
|
||||||
|
|
||||||
|
/** Get Forecast Line.
|
||||||
|
* Forecast Line
|
||||||
|
*/
|
||||||
|
public int getM_ForecastLine_ID();
|
||||||
|
|
||||||
|
public I_M_ForecastLine getM_ForecastLine() throws Exception;
|
||||||
|
|
||||||
/** Column name M_Product_ID */
|
/** Column name M_Product_ID */
|
||||||
public static final String COLUMNNAME_M_Product_ID = "M_Product_ID";
|
public static final String COLUMNNAME_M_Product_ID = "M_Product_ID";
|
||||||
|
|
||||||
|
@ -280,21 +280,6 @@ public interface I_PP_MRP
|
||||||
|
|
||||||
public I_M_Product getM_Product() throws Exception;
|
public I_M_Product getM_Product() throws Exception;
|
||||||
|
|
||||||
/** Column name M_RequisitionLine_ID */
|
|
||||||
public static final String COLUMNNAME_M_RequisitionLine_ID = "M_RequisitionLine_ID";
|
|
||||||
|
|
||||||
/** Set Requisition Line.
|
|
||||||
* Material Requisition Line
|
|
||||||
*/
|
|
||||||
public void setM_RequisitionLine_ID (int M_RequisitionLine_ID);
|
|
||||||
|
|
||||||
/** Get Requisition Line.
|
|
||||||
* Material Requisition Line
|
|
||||||
*/
|
|
||||||
public int getM_RequisitionLine_ID();
|
|
||||||
|
|
||||||
public I_M_RequisitionLine getM_RequisitionLine() throws Exception;
|
|
||||||
|
|
||||||
/** Column name M_Requisition_ID */
|
/** Column name M_Requisition_ID */
|
||||||
public static final String COLUMNNAME_M_Requisition_ID = "M_Requisition_ID";
|
public static final String COLUMNNAME_M_Requisition_ID = "M_Requisition_ID";
|
||||||
|
|
||||||
|
@ -310,6 +295,21 @@ public interface I_PP_MRP
|
||||||
|
|
||||||
public I_M_Requisition getM_Requisition() throws Exception;
|
public I_M_Requisition getM_Requisition() throws Exception;
|
||||||
|
|
||||||
|
/** Column name M_RequisitionLine_ID */
|
||||||
|
public static final String COLUMNNAME_M_RequisitionLine_ID = "M_RequisitionLine_ID";
|
||||||
|
|
||||||
|
/** Set Requisition Line.
|
||||||
|
* Material Requisition Line
|
||||||
|
*/
|
||||||
|
public void setM_RequisitionLine_ID (int M_RequisitionLine_ID);
|
||||||
|
|
||||||
|
/** Get Requisition Line.
|
||||||
|
* Material Requisition Line
|
||||||
|
*/
|
||||||
|
public int getM_RequisitionLine_ID();
|
||||||
|
|
||||||
|
public I_M_RequisitionLine getM_RequisitionLine() throws Exception;
|
||||||
|
|
||||||
/** Column name M_Warehouse_ID */
|
/** Column name M_Warehouse_ID */
|
||||||
public static final String COLUMNNAME_M_Warehouse_ID = "M_Warehouse_ID";
|
public static final String COLUMNNAME_M_Warehouse_ID = "M_Warehouse_ID";
|
||||||
|
|
||||||
|
@ -338,6 +338,24 @@ public interface I_PP_MRP
|
||||||
*/
|
*/
|
||||||
public String getName();
|
public String getName();
|
||||||
|
|
||||||
|
/** Column name OrderType */
|
||||||
|
public static final String COLUMNNAME_OrderType = "OrderType";
|
||||||
|
|
||||||
|
/** Set OrderType */
|
||||||
|
public void setOrderType (String OrderType);
|
||||||
|
|
||||||
|
/** Get OrderType */
|
||||||
|
public String getOrderType();
|
||||||
|
|
||||||
|
/** Column name Planner_ID */
|
||||||
|
public static final String COLUMNNAME_Planner_ID = "Planner_ID";
|
||||||
|
|
||||||
|
/** Set Planner */
|
||||||
|
public void setPlanner_ID (int Planner_ID);
|
||||||
|
|
||||||
|
/** Get Planner */
|
||||||
|
public int getPlanner_ID();
|
||||||
|
|
||||||
/** Column name PP_MRP_ID */
|
/** Column name PP_MRP_ID */
|
||||||
public static final String COLUMNNAME_PP_MRP_ID = "PP_MRP_ID";
|
public static final String COLUMNNAME_PP_MRP_ID = "PP_MRP_ID";
|
||||||
|
|
||||||
|
@ -369,15 +387,6 @@ public interface I_PP_MRP
|
||||||
|
|
||||||
public org.eevolution.model.I_PP_Order getPP_Order() throws Exception;
|
public org.eevolution.model.I_PP_Order getPP_Order() throws Exception;
|
||||||
|
|
||||||
/** Column name Planner_ID */
|
|
||||||
public static final String COLUMNNAME_Planner_ID = "Planner_ID";
|
|
||||||
|
|
||||||
/** Set Planner */
|
|
||||||
public void setPlanner_ID (int Planner_ID);
|
|
||||||
|
|
||||||
/** Get Planner */
|
|
||||||
public int getPlanner_ID();
|
|
||||||
|
|
||||||
/** Column name Priority */
|
/** Column name Priority */
|
||||||
public static final String COLUMNNAME_Priority = "Priority";
|
public static final String COLUMNNAME_Priority = "Priority";
|
||||||
|
|
||||||
|
@ -419,19 +428,6 @@ public interface I_PP_MRP
|
||||||
|
|
||||||
public I_S_Resource getS_Resource() throws Exception;
|
public I_S_Resource getS_Resource() throws Exception;
|
||||||
|
|
||||||
/** Column name Type */
|
|
||||||
public static final String COLUMNNAME_Type = "Type";
|
|
||||||
|
|
||||||
/** Set Type.
|
|
||||||
* Type of Validation (SQL, Java Script, Java Language)
|
|
||||||
*/
|
|
||||||
public void setType (String Type);
|
|
||||||
|
|
||||||
/** Get Type.
|
|
||||||
* Type of Validation (SQL, Java Script, Java Language)
|
|
||||||
*/
|
|
||||||
public String getType();
|
|
||||||
|
|
||||||
/** Column name TypeMRP */
|
/** Column name TypeMRP */
|
||||||
public static final String COLUMNNAME_TypeMRP = "TypeMRP";
|
public static final String COLUMNNAME_TypeMRP = "TypeMRP";
|
||||||
|
|
||||||
|
|
|
@ -129,6 +129,19 @@ public interface I_PP_Order
|
||||||
|
|
||||||
public I_C_Campaign getC_Campaign() throws Exception;
|
public I_C_Campaign getC_Campaign() throws Exception;
|
||||||
|
|
||||||
|
/** Column name C_DocType_ID */
|
||||||
|
public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID";
|
||||||
|
|
||||||
|
/** Set Document Type.
|
||||||
|
* Document type or rules
|
||||||
|
*/
|
||||||
|
public void setC_DocType_ID (int C_DocType_ID);
|
||||||
|
|
||||||
|
/** Get Document Type.
|
||||||
|
* Document type or rules
|
||||||
|
*/
|
||||||
|
public int getC_DocType_ID();
|
||||||
|
|
||||||
/** Column name C_DocTypeTarget_ID */
|
/** Column name C_DocTypeTarget_ID */
|
||||||
public static final String COLUMNNAME_C_DocTypeTarget_ID = "C_DocTypeTarget_ID";
|
public static final String COLUMNNAME_C_DocTypeTarget_ID = "C_DocTypeTarget_ID";
|
||||||
|
|
||||||
|
@ -142,18 +155,18 @@ public interface I_PP_Order
|
||||||
*/
|
*/
|
||||||
public int getC_DocTypeTarget_ID();
|
public int getC_DocTypeTarget_ID();
|
||||||
|
|
||||||
/** Column name C_DocType_ID */
|
/** Column name CopyFrom */
|
||||||
public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID";
|
public static final String COLUMNNAME_CopyFrom = "CopyFrom";
|
||||||
|
|
||||||
/** Set Document Type.
|
/** Set Copy From.
|
||||||
* Document type or rules
|
* Copy From Record
|
||||||
*/
|
*/
|
||||||
public void setC_DocType_ID (int C_DocType_ID);
|
public void setCopyFrom (String CopyFrom);
|
||||||
|
|
||||||
/** Get Document Type.
|
/** Get Copy From.
|
||||||
* Document type or rules
|
* Copy From Record
|
||||||
*/
|
*/
|
||||||
public int getC_DocType_ID();
|
public String getCopyFrom();
|
||||||
|
|
||||||
/** Column name C_OrderLine_ID */
|
/** Column name C_OrderLine_ID */
|
||||||
public static final String COLUMNNAME_C_OrderLine_ID = "C_OrderLine_ID";
|
public static final String COLUMNNAME_C_OrderLine_ID = "C_OrderLine_ID";
|
||||||
|
@ -200,19 +213,6 @@ public interface I_PP_Order
|
||||||
|
|
||||||
public I_C_UOM getC_UOM() throws Exception;
|
public I_C_UOM getC_UOM() throws Exception;
|
||||||
|
|
||||||
/** Column name CopyFrom */
|
|
||||||
public static final String COLUMNNAME_CopyFrom = "CopyFrom";
|
|
||||||
|
|
||||||
/** Set Copy From.
|
|
||||||
* Copy From Record
|
|
||||||
*/
|
|
||||||
public void setCopyFrom (String CopyFrom);
|
|
||||||
|
|
||||||
/** Get Copy From.
|
|
||||||
* Copy From Record
|
|
||||||
*/
|
|
||||||
public String getCopyFrom();
|
|
||||||
|
|
||||||
/** Column name DateConfirm */
|
/** Column name DateConfirm */
|
||||||
public static final String COLUMNNAME_DateConfirm = "DateConfirm";
|
public static final String COLUMNNAME_DateConfirm = "DateConfirm";
|
||||||
|
|
||||||
|
@ -410,6 +410,15 @@ public interface I_PP_Order
|
||||||
*/
|
*/
|
||||||
public boolean isQtyPercentage();
|
public boolean isQtyPercentage();
|
||||||
|
|
||||||
|
/** Column name IsSelected */
|
||||||
|
public static final String COLUMNNAME_IsSelected = "IsSelected";
|
||||||
|
|
||||||
|
/** Set Selected */
|
||||||
|
public void setIsSelected (boolean IsSelected);
|
||||||
|
|
||||||
|
/** Get Selected */
|
||||||
|
public boolean isSelected();
|
||||||
|
|
||||||
/** Column name IsSOTrx */
|
/** Column name IsSOTrx */
|
||||||
public static final String COLUMNNAME_IsSOTrx = "IsSOTrx";
|
public static final String COLUMNNAME_IsSOTrx = "IsSOTrx";
|
||||||
|
|
||||||
|
@ -423,15 +432,6 @@ public interface I_PP_Order
|
||||||
*/
|
*/
|
||||||
public boolean isSOTrx();
|
public boolean isSOTrx();
|
||||||
|
|
||||||
/** Column name IsSelected */
|
|
||||||
public static final String COLUMNNAME_IsSelected = "IsSelected";
|
|
||||||
|
|
||||||
/** Set Selected */
|
|
||||||
public void setIsSelected (boolean IsSelected);
|
|
||||||
|
|
||||||
/** Get Selected */
|
|
||||||
public boolean isSelected();
|
|
||||||
|
|
||||||
/** Column name Line */
|
/** Column name Line */
|
||||||
public static final String COLUMNNAME_Line = "Line";
|
public static final String COLUMNNAME_Line = "Line";
|
||||||
|
|
||||||
|
@ -510,6 +510,28 @@ public interface I_PP_Order
|
||||||
/** Get OrderType */
|
/** Get OrderType */
|
||||||
public String getOrderType();
|
public String getOrderType();
|
||||||
|
|
||||||
|
/** Column name Planner_ID */
|
||||||
|
public static final String COLUMNNAME_Planner_ID = "Planner_ID";
|
||||||
|
|
||||||
|
/** Set Planner */
|
||||||
|
public void setPlanner_ID (int Planner_ID);
|
||||||
|
|
||||||
|
/** Get Planner */
|
||||||
|
public int getPlanner_ID();
|
||||||
|
|
||||||
|
/** Column name Posted */
|
||||||
|
public static final String COLUMNNAME_Posted = "Posted";
|
||||||
|
|
||||||
|
/** Set Posted.
|
||||||
|
* Posting status
|
||||||
|
*/
|
||||||
|
public void setPosted (boolean Posted);
|
||||||
|
|
||||||
|
/** Get Posted.
|
||||||
|
* Posting status
|
||||||
|
*/
|
||||||
|
public boolean isPosted();
|
||||||
|
|
||||||
/** Column name PP_Order_ID */
|
/** Column name PP_Order_ID */
|
||||||
public static final String COLUMNNAME_PP_Order_ID = "PP_Order_ID";
|
public static final String COLUMNNAME_PP_Order_ID = "PP_Order_ID";
|
||||||
|
|
||||||
|
@ -534,28 +556,6 @@ public interface I_PP_Order
|
||||||
|
|
||||||
public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws Exception;
|
public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws Exception;
|
||||||
|
|
||||||
/** Column name Planner_ID */
|
|
||||||
public static final String COLUMNNAME_Planner_ID = "Planner_ID";
|
|
||||||
|
|
||||||
/** Set Planner */
|
|
||||||
public void setPlanner_ID (int Planner_ID);
|
|
||||||
|
|
||||||
/** Get Planner */
|
|
||||||
public int getPlanner_ID();
|
|
||||||
|
|
||||||
/** Column name Posted */
|
|
||||||
public static final String COLUMNNAME_Posted = "Posted";
|
|
||||||
|
|
||||||
/** Set Posted.
|
|
||||||
* Posting status
|
|
||||||
*/
|
|
||||||
public void setPosted (boolean Posted);
|
|
||||||
|
|
||||||
/** Get Posted.
|
|
||||||
* Posting status
|
|
||||||
*/
|
|
||||||
public boolean isPosted();
|
|
||||||
|
|
||||||
/** Column name PriorityRule */
|
/** Column name PriorityRule */
|
||||||
public static final String COLUMNNAME_PriorityRule = "PriorityRule";
|
public static final String COLUMNNAME_PriorityRule = "PriorityRule";
|
||||||
|
|
||||||
|
@ -591,15 +591,6 @@ public interface I_PP_Order
|
||||||
/** Get Process Now */
|
/** Get Process Now */
|
||||||
public boolean isProcessing();
|
public boolean isProcessing();
|
||||||
|
|
||||||
/** Column name QtyBatchSize */
|
|
||||||
public static final String COLUMNNAME_QtyBatchSize = "QtyBatchSize";
|
|
||||||
|
|
||||||
/** Set QtyBatchSize */
|
|
||||||
public void setQtyBatchSize (BigDecimal QtyBatchSize);
|
|
||||||
|
|
||||||
/** Get QtyBatchSize */
|
|
||||||
public BigDecimal getQtyBatchSize();
|
|
||||||
|
|
||||||
/** Column name QtyBatchs */
|
/** Column name QtyBatchs */
|
||||||
public static final String COLUMNNAME_QtyBatchs = "QtyBatchs";
|
public static final String COLUMNNAME_QtyBatchs = "QtyBatchs";
|
||||||
|
|
||||||
|
@ -609,6 +600,15 @@ public interface I_PP_Order
|
||||||
/** Get QtyBatchs */
|
/** Get QtyBatchs */
|
||||||
public BigDecimal getQtyBatchs();
|
public BigDecimal getQtyBatchs();
|
||||||
|
|
||||||
|
/** Column name QtyBatchSize */
|
||||||
|
public static final String COLUMNNAME_QtyBatchSize = "QtyBatchSize";
|
||||||
|
|
||||||
|
/** Set QtyBatchSize */
|
||||||
|
public void setQtyBatchSize (BigDecimal QtyBatchSize);
|
||||||
|
|
||||||
|
/** Get QtyBatchSize */
|
||||||
|
public BigDecimal getQtyBatchSize();
|
||||||
|
|
||||||
/** Column name QtyDelivered */
|
/** Column name QtyDelivered */
|
||||||
public static final String COLUMNNAME_QtyDelivered = "QtyDelivered";
|
public static final String COLUMNNAME_QtyDelivered = "QtyDelivered";
|
||||||
|
|
||||||
|
@ -679,21 +679,6 @@ public interface I_PP_Order
|
||||||
/** Get QtyScrap */
|
/** Get QtyScrap */
|
||||||
public BigDecimal getQtyScrap();
|
public BigDecimal getQtyScrap();
|
||||||
|
|
||||||
/** Column name S_Resource_ID */
|
|
||||||
public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID";
|
|
||||||
|
|
||||||
/** Set Resource.
|
|
||||||
* Resource
|
|
||||||
*/
|
|
||||||
public void setS_Resource_ID (int S_Resource_ID);
|
|
||||||
|
|
||||||
/** Get Resource.
|
|
||||||
* Resource
|
|
||||||
*/
|
|
||||||
public int getS_Resource_ID();
|
|
||||||
|
|
||||||
public I_S_Resource getS_Resource() throws Exception;
|
|
||||||
|
|
||||||
/** Column name ScheduleType */
|
/** Column name ScheduleType */
|
||||||
public static final String COLUMNNAME_ScheduleType = "ScheduleType";
|
public static final String COLUMNNAME_ScheduleType = "ScheduleType";
|
||||||
|
|
||||||
|
@ -720,6 +705,21 @@ public interface I_PP_Order
|
||||||
*/
|
*/
|
||||||
public String getSerNo();
|
public String getSerNo();
|
||||||
|
|
||||||
|
/** Column name S_Resource_ID */
|
||||||
|
public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID";
|
||||||
|
|
||||||
|
/** Set Resource.
|
||||||
|
* Resource
|
||||||
|
*/
|
||||||
|
public void setS_Resource_ID (int S_Resource_ID);
|
||||||
|
|
||||||
|
/** Get Resource.
|
||||||
|
* Resource
|
||||||
|
*/
|
||||||
|
public int getS_Resource_ID();
|
||||||
|
|
||||||
|
public I_S_Resource getS_Resource() throws Exception;
|
||||||
|
|
||||||
/** Column name User1_ID */
|
/** Column name User1_ID */
|
||||||
public static final String COLUMNNAME_User1_ID = "User1_ID";
|
public static final String COLUMNNAME_User1_ID = "User1_ID";
|
||||||
|
|
||||||
|
|
|
@ -84,6 +84,19 @@ public interface I_PP_Order_BOM
|
||||||
*/
|
*/
|
||||||
public String getBOMUse();
|
public String getBOMUse();
|
||||||
|
|
||||||
|
/** Column name CopyFrom */
|
||||||
|
public static final String COLUMNNAME_CopyFrom = "CopyFrom";
|
||||||
|
|
||||||
|
/** Set Copy From.
|
||||||
|
* Copy From Record
|
||||||
|
*/
|
||||||
|
public void setCopyFrom (String CopyFrom);
|
||||||
|
|
||||||
|
/** Get Copy From.
|
||||||
|
* Copy From Record
|
||||||
|
*/
|
||||||
|
public String getCopyFrom();
|
||||||
|
|
||||||
/** Column name C_UOM_ID */
|
/** Column name C_UOM_ID */
|
||||||
public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID";
|
public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID";
|
||||||
|
|
||||||
|
@ -99,19 +112,6 @@ public interface I_PP_Order_BOM
|
||||||
|
|
||||||
public I_C_UOM getC_UOM() throws Exception;
|
public I_C_UOM getC_UOM() throws Exception;
|
||||||
|
|
||||||
/** Column name CopyFrom */
|
|
||||||
public static final String COLUMNNAME_CopyFrom = "CopyFrom";
|
|
||||||
|
|
||||||
/** Set Copy From.
|
|
||||||
* Copy From Record
|
|
||||||
*/
|
|
||||||
public void setCopyFrom (String CopyFrom);
|
|
||||||
|
|
||||||
/** Get Copy From.
|
|
||||||
* Copy From Record
|
|
||||||
*/
|
|
||||||
public String getCopyFrom();
|
|
||||||
|
|
||||||
/** Column name Description */
|
/** Column name Description */
|
||||||
public static final String COLUMNNAME_Description = "Description";
|
public static final String COLUMNNAME_Description = "Description";
|
||||||
|
|
||||||
|
|
|
@ -97,6 +97,19 @@ public interface I_PP_Order_BOMLine
|
||||||
*/
|
*/
|
||||||
public String getBackflushGroup();
|
public String getBackflushGroup();
|
||||||
|
|
||||||
|
/** Column name ComponentType */
|
||||||
|
public static final String COLUMNNAME_ComponentType = "ComponentType";
|
||||||
|
|
||||||
|
/** Set Component Type.
|
||||||
|
* Component Type for a Bill of Material or Formula
|
||||||
|
*/
|
||||||
|
public void setComponentType (String ComponentType);
|
||||||
|
|
||||||
|
/** Get Component Type.
|
||||||
|
* Component Type for a Bill of Material or Formula
|
||||||
|
*/
|
||||||
|
public String getComponentType();
|
||||||
|
|
||||||
/** Column name C_UOM_ID */
|
/** Column name C_UOM_ID */
|
||||||
public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID";
|
public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID";
|
||||||
|
|
||||||
|
@ -112,19 +125,6 @@ public interface I_PP_Order_BOMLine
|
||||||
|
|
||||||
public I_C_UOM getC_UOM() throws Exception;
|
public I_C_UOM getC_UOM() throws Exception;
|
||||||
|
|
||||||
/** Column name ComponentType */
|
|
||||||
public static final String COLUMNNAME_ComponentType = "ComponentType";
|
|
||||||
|
|
||||||
/** Set Component Type.
|
|
||||||
* Component Type for a Bill of Material or Formula
|
|
||||||
*/
|
|
||||||
public void setComponentType (String ComponentType);
|
|
||||||
|
|
||||||
/** Get Component Type.
|
|
||||||
* Component Type for a Bill of Material or Formula
|
|
||||||
*/
|
|
||||||
public String getComponentType();
|
|
||||||
|
|
||||||
/** Column name DateDelivered */
|
/** Column name DateDelivered */
|
||||||
public static final String COLUMNNAME_DateDelivered = "DateDelivered";
|
public static final String COLUMNNAME_DateDelivered = "DateDelivered";
|
||||||
|
|
||||||
|
@ -326,15 +326,6 @@ public interface I_PP_Order_BOMLine
|
||||||
|
|
||||||
public I_M_Warehouse getM_Warehouse() throws Exception;
|
public I_M_Warehouse getM_Warehouse() throws Exception;
|
||||||
|
|
||||||
/** Column name PP_Order_BOMLine_ID */
|
|
||||||
public static final String COLUMNNAME_PP_Order_BOMLine_ID = "PP_Order_BOMLine_ID";
|
|
||||||
|
|
||||||
/** Set PP_Order_BOMLine_ID */
|
|
||||||
public void setPP_Order_BOMLine_ID (int PP_Order_BOMLine_ID);
|
|
||||||
|
|
||||||
/** Get PP_Order_BOMLine_ID */
|
|
||||||
public int getPP_Order_BOMLine_ID();
|
|
||||||
|
|
||||||
/** Column name PP_Order_BOM_ID */
|
/** Column name PP_Order_BOM_ID */
|
||||||
public static final String COLUMNNAME_PP_Order_BOM_ID = "PP_Order_BOM_ID";
|
public static final String COLUMNNAME_PP_Order_BOM_ID = "PP_Order_BOM_ID";
|
||||||
|
|
||||||
|
@ -346,6 +337,15 @@ public interface I_PP_Order_BOMLine
|
||||||
|
|
||||||
public org.eevolution.model.I_PP_Order_BOM getPP_Order_BOM() throws Exception;
|
public org.eevolution.model.I_PP_Order_BOM getPP_Order_BOM() throws Exception;
|
||||||
|
|
||||||
|
/** Column name PP_Order_BOMLine_ID */
|
||||||
|
public static final String COLUMNNAME_PP_Order_BOMLine_ID = "PP_Order_BOMLine_ID";
|
||||||
|
|
||||||
|
/** Set PP_Order_BOMLine_ID */
|
||||||
|
public void setPP_Order_BOMLine_ID (int PP_Order_BOMLine_ID);
|
||||||
|
|
||||||
|
/** Get PP_Order_BOMLine_ID */
|
||||||
|
public int getPP_Order_BOMLine_ID();
|
||||||
|
|
||||||
/** Column name PP_Order_ID */
|
/** Column name PP_Order_ID */
|
||||||
public static final String COLUMNNAME_PP_Order_ID = "PP_Order_ID";
|
public static final String COLUMNNAME_PP_Order_ID = "PP_Order_ID";
|
||||||
|
|
||||||
|
@ -357,19 +357,6 @@ public interface I_PP_Order_BOMLine
|
||||||
|
|
||||||
public org.eevolution.model.I_PP_Order getPP_Order() throws Exception;
|
public org.eevolution.model.I_PP_Order getPP_Order() throws Exception;
|
||||||
|
|
||||||
/** Column name QtyBOM */
|
|
||||||
public static final String COLUMNNAME_QtyBOM = "QtyBOM";
|
|
||||||
|
|
||||||
/** Set Quantity.
|
|
||||||
* Indicate the Quantity use in this BOM
|
|
||||||
*/
|
|
||||||
public void setQtyBOM (BigDecimal QtyBOM);
|
|
||||||
|
|
||||||
/** Get Quantity.
|
|
||||||
* Indicate the Quantity use in this BOM
|
|
||||||
*/
|
|
||||||
public BigDecimal getQtyBOM();
|
|
||||||
|
|
||||||
/** Column name QtyBatch */
|
/** Column name QtyBatch */
|
||||||
public static final String COLUMNNAME_QtyBatch = "QtyBatch";
|
public static final String COLUMNNAME_QtyBatch = "QtyBatch";
|
||||||
|
|
||||||
|
@ -383,6 +370,19 @@ public interface I_PP_Order_BOMLine
|
||||||
*/
|
*/
|
||||||
public BigDecimal getQtyBatch();
|
public BigDecimal getQtyBatch();
|
||||||
|
|
||||||
|
/** Column name QtyBOM */
|
||||||
|
public static final String COLUMNNAME_QtyBOM = "QtyBOM";
|
||||||
|
|
||||||
|
/** Set Quantity.
|
||||||
|
* Indicate the Quantity use in this BOM
|
||||||
|
*/
|
||||||
|
public void setQtyBOM (BigDecimal QtyBOM);
|
||||||
|
|
||||||
|
/** Get Quantity.
|
||||||
|
* Indicate the Quantity use in this BOM
|
||||||
|
*/
|
||||||
|
public BigDecimal getQtyBOM();
|
||||||
|
|
||||||
/** Column name QtyDelivered */
|
/** Column name QtyDelivered */
|
||||||
public static final String COLUMNNAME_QtyDelivered = "QtyDelivered";
|
public static final String COLUMNNAME_QtyDelivered = "QtyDelivered";
|
||||||
|
|
||||||
|
|
|
@ -83,15 +83,6 @@ public interface I_PP_Order_BOMLineMA
|
||||||
*/
|
*/
|
||||||
public BigDecimal getMovementQty();
|
public BigDecimal getMovementQty();
|
||||||
|
|
||||||
/** Column name PP_Order_BOMLineMA_ID */
|
|
||||||
public static final String COLUMNNAME_PP_Order_BOMLineMA_ID = "PP_Order_BOMLineMA_ID";
|
|
||||||
|
|
||||||
/** Set PP_Order_BOMLineMA_ID */
|
|
||||||
public void setPP_Order_BOMLineMA_ID (int PP_Order_BOMLineMA_ID);
|
|
||||||
|
|
||||||
/** Get PP_Order_BOMLineMA_ID */
|
|
||||||
public int getPP_Order_BOMLineMA_ID();
|
|
||||||
|
|
||||||
/** Column name PP_Order_BOMLine_ID */
|
/** Column name PP_Order_BOMLine_ID */
|
||||||
public static final String COLUMNNAME_PP_Order_BOMLine_ID = "PP_Order_BOMLine_ID";
|
public static final String COLUMNNAME_PP_Order_BOMLine_ID = "PP_Order_BOMLine_ID";
|
||||||
|
|
||||||
|
@ -102,4 +93,13 @@ public interface I_PP_Order_BOMLineMA
|
||||||
public int getPP_Order_BOMLine_ID();
|
public int getPP_Order_BOMLine_ID();
|
||||||
|
|
||||||
public org.eevolution.model.I_PP_Order_BOMLine getPP_Order_BOMLine() throws Exception;
|
public org.eevolution.model.I_PP_Order_BOMLine getPP_Order_BOMLine() throws Exception;
|
||||||
|
|
||||||
|
/** Column name PP_Order_BOMLineMA_ID */
|
||||||
|
public static final String COLUMNNAME_PP_Order_BOMLineMA_ID = "PP_Order_BOMLineMA_ID";
|
||||||
|
|
||||||
|
/** Set PP_Order_BOMLineMA_ID */
|
||||||
|
public void setPP_Order_BOMLineMA_ID (int PP_Order_BOMLineMA_ID);
|
||||||
|
|
||||||
|
/** Get PP_Order_BOMLineMA_ID */
|
||||||
|
public int getPP_Order_BOMLineMA_ID();
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,6 +58,19 @@ public interface I_PP_Order_Node
|
||||||
|
|
||||||
/** Load Meta Data */
|
/** Load Meta Data */
|
||||||
|
|
||||||
|
/** Column name Action */
|
||||||
|
public static final String COLUMNNAME_Action = "Action";
|
||||||
|
|
||||||
|
/** Set Action.
|
||||||
|
* Indicates the Action to be performed
|
||||||
|
*/
|
||||||
|
public void setAction (String Action);
|
||||||
|
|
||||||
|
/** Get Action.
|
||||||
|
* Indicates the Action to be performed
|
||||||
|
*/
|
||||||
|
public String getAction();
|
||||||
|
|
||||||
/** Column name AD_Column_ID */
|
/** Column name AD_Column_ID */
|
||||||
public static final String COLUMNNAME_AD_Column_ID = "AD_Column_ID";
|
public static final String COLUMNNAME_AD_Column_ID = "AD_Column_ID";
|
||||||
|
|
||||||
|
@ -208,19 +221,6 @@ public interface I_PP_Order_Node
|
||||||
|
|
||||||
public I_AD_Workflow getAD_Workflow() throws Exception;
|
public I_AD_Workflow getAD_Workflow() throws Exception;
|
||||||
|
|
||||||
/** Column name Action */
|
|
||||||
public static final String COLUMNNAME_Action = "Action";
|
|
||||||
|
|
||||||
/** Set Action.
|
|
||||||
* Indicates the Action to be performed
|
|
||||||
*/
|
|
||||||
public void setAction (String Action);
|
|
||||||
|
|
||||||
/** Get Action.
|
|
||||||
* Indicates the Action to be performed
|
|
||||||
*/
|
|
||||||
public String getAction();
|
|
||||||
|
|
||||||
/** Column name AttributeName */
|
/** Column name AttributeName */
|
||||||
public static final String COLUMNNAME_AttributeName = "AttributeName";
|
public static final String COLUMNNAME_AttributeName = "AttributeName";
|
||||||
|
|
||||||
|
@ -607,21 +607,6 @@ public interface I_PP_Order_Node
|
||||||
/** Get QueuingTime */
|
/** Get QueuingTime */
|
||||||
public int getQueuingTime();
|
public int getQueuingTime();
|
||||||
|
|
||||||
/** Column name S_Resource_ID */
|
|
||||||
public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID";
|
|
||||||
|
|
||||||
/** Set Resource.
|
|
||||||
* Resource
|
|
||||||
*/
|
|
||||||
public void setS_Resource_ID (int S_Resource_ID);
|
|
||||||
|
|
||||||
/** Get Resource.
|
|
||||||
* Resource
|
|
||||||
*/
|
|
||||||
public int getS_Resource_ID();
|
|
||||||
|
|
||||||
public I_S_Resource getS_Resource() throws Exception;
|
|
||||||
|
|
||||||
/** Column name SetupTime */
|
/** Column name SetupTime */
|
||||||
public static final String COLUMNNAME_SetupTime = "SetupTime";
|
public static final String COLUMNNAME_SetupTime = "SetupTime";
|
||||||
|
|
||||||
|
@ -666,6 +651,21 @@ public interface I_PP_Order_Node
|
||||||
*/
|
*/
|
||||||
public String getSplitElement();
|
public String getSplitElement();
|
||||||
|
|
||||||
|
/** Column name S_Resource_ID */
|
||||||
|
public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID";
|
||||||
|
|
||||||
|
/** Set Resource.
|
||||||
|
* Resource
|
||||||
|
*/
|
||||||
|
public void setS_Resource_ID (int S_Resource_ID);
|
||||||
|
|
||||||
|
/** Get Resource.
|
||||||
|
* Resource
|
||||||
|
*/
|
||||||
|
public int getS_Resource_ID();
|
||||||
|
|
||||||
|
public I_S_Resource getS_Resource() throws Exception;
|
||||||
|
|
||||||
/** Column name StartMode */
|
/** Column name StartMode */
|
||||||
public static final String COLUMNNAME_StartMode = "StartMode";
|
public static final String COLUMNNAME_StartMode = "StartMode";
|
||||||
|
|
||||||
|
|
|
@ -146,15 +146,6 @@ public interface I_PP_Order_NodeNext
|
||||||
/** Get PP_Order_Next_ID */
|
/** Get PP_Order_Next_ID */
|
||||||
public int getPP_Order_Next_ID();
|
public int getPP_Order_Next_ID();
|
||||||
|
|
||||||
/** Column name PP_Order_NodeNext_ID */
|
|
||||||
public static final String COLUMNNAME_PP_Order_NodeNext_ID = "PP_Order_NodeNext_ID";
|
|
||||||
|
|
||||||
/** Set PP_Order_NodeNext_ID */
|
|
||||||
public void setPP_Order_NodeNext_ID (int PP_Order_NodeNext_ID);
|
|
||||||
|
|
||||||
/** Get PP_Order_NodeNext_ID */
|
|
||||||
public int getPP_Order_NodeNext_ID();
|
|
||||||
|
|
||||||
/** Column name PP_Order_Node_ID */
|
/** Column name PP_Order_Node_ID */
|
||||||
public static final String COLUMNNAME_PP_Order_Node_ID = "PP_Order_Node_ID";
|
public static final String COLUMNNAME_PP_Order_Node_ID = "PP_Order_Node_ID";
|
||||||
|
|
||||||
|
@ -166,6 +157,15 @@ public interface I_PP_Order_NodeNext
|
||||||
|
|
||||||
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws Exception;
|
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws Exception;
|
||||||
|
|
||||||
|
/** Column name PP_Order_NodeNext_ID */
|
||||||
|
public static final String COLUMNNAME_PP_Order_NodeNext_ID = "PP_Order_NodeNext_ID";
|
||||||
|
|
||||||
|
/** Set PP_Order_NodeNext_ID */
|
||||||
|
public void setPP_Order_NodeNext_ID (int PP_Order_NodeNext_ID);
|
||||||
|
|
||||||
|
/** Get PP_Order_NodeNext_ID */
|
||||||
|
public int getPP_Order_NodeNext_ID();
|
||||||
|
|
||||||
/** Column name SeqNo */
|
/** Column name SeqNo */
|
||||||
public static final String COLUMNNAME_SeqNo = "SeqNo";
|
public static final String COLUMNNAME_SeqNo = "SeqNo";
|
||||||
|
|
||||||
|
|
|
@ -58,6 +58,19 @@ public interface I_PP_Order_Workflow
|
||||||
|
|
||||||
/** Load Meta Data */
|
/** Load Meta Data */
|
||||||
|
|
||||||
|
/** Column name AccessLevel */
|
||||||
|
public static final String COLUMNNAME_AccessLevel = "AccessLevel";
|
||||||
|
|
||||||
|
/** Set Data Access Level.
|
||||||
|
* Access Level required
|
||||||
|
*/
|
||||||
|
public void setAccessLevel (String AccessLevel);
|
||||||
|
|
||||||
|
/** Get Data Access Level.
|
||||||
|
* Access Level required
|
||||||
|
*/
|
||||||
|
public String getAccessLevel();
|
||||||
|
|
||||||
/** Column name AD_Table_ID */
|
/** Column name AD_Table_ID */
|
||||||
public static final String COLUMNNAME_AD_Table_ID = "AD_Table_ID";
|
public static final String COLUMNNAME_AD_Table_ID = "AD_Table_ID";
|
||||||
|
|
||||||
|
@ -103,21 +116,6 @@ public interface I_PP_Order_Workflow
|
||||||
|
|
||||||
public I_AD_WF_Responsible getAD_WF_Responsible() throws Exception;
|
public I_AD_WF_Responsible getAD_WF_Responsible() throws Exception;
|
||||||
|
|
||||||
/** Column name AD_WorkflowProcessor_ID */
|
|
||||||
public static final String COLUMNNAME_AD_WorkflowProcessor_ID = "AD_WorkflowProcessor_ID";
|
|
||||||
|
|
||||||
/** Set Workflow Processor.
|
|
||||||
* Workflow Processor Server
|
|
||||||
*/
|
|
||||||
public void setAD_WorkflowProcessor_ID (int AD_WorkflowProcessor_ID);
|
|
||||||
|
|
||||||
/** Get Workflow Processor.
|
|
||||||
* Workflow Processor Server
|
|
||||||
*/
|
|
||||||
public int getAD_WorkflowProcessor_ID();
|
|
||||||
|
|
||||||
public I_AD_WorkflowProcessor getAD_WorkflowProcessor() throws Exception;
|
|
||||||
|
|
||||||
/** Column name AD_Workflow_ID */
|
/** Column name AD_Workflow_ID */
|
||||||
public static final String COLUMNNAME_AD_Workflow_ID = "AD_Workflow_ID";
|
public static final String COLUMNNAME_AD_Workflow_ID = "AD_Workflow_ID";
|
||||||
|
|
||||||
|
@ -133,18 +131,20 @@ public interface I_PP_Order_Workflow
|
||||||
|
|
||||||
public I_AD_Workflow getAD_Workflow() throws Exception;
|
public I_AD_Workflow getAD_Workflow() throws Exception;
|
||||||
|
|
||||||
/** Column name AccessLevel */
|
/** Column name AD_WorkflowProcessor_ID */
|
||||||
public static final String COLUMNNAME_AccessLevel = "AccessLevel";
|
public static final String COLUMNNAME_AD_WorkflowProcessor_ID = "AD_WorkflowProcessor_ID";
|
||||||
|
|
||||||
/** Set Data Access Level.
|
/** Set Workflow Processor.
|
||||||
* Access Level required
|
* Workflow Processor Server
|
||||||
*/
|
*/
|
||||||
public void setAccessLevel (String AccessLevel);
|
public void setAD_WorkflowProcessor_ID (int AD_WorkflowProcessor_ID);
|
||||||
|
|
||||||
/** Get Data Access Level.
|
/** Get Workflow Processor.
|
||||||
* Access Level required
|
* Workflow Processor Server
|
||||||
*/
|
*/
|
||||||
public String getAccessLevel();
|
public int getAD_WorkflowProcessor_ID();
|
||||||
|
|
||||||
|
public I_AD_WorkflowProcessor getAD_WorkflowProcessor() throws Exception;
|
||||||
|
|
||||||
/** Column name Author */
|
/** Column name Author */
|
||||||
public static final String COLUMNNAME_Author = "Author";
|
public static final String COLUMNNAME_Author = "Author";
|
||||||
|
@ -384,6 +384,19 @@ public interface I_PP_Order_Workflow
|
||||||
/** Get QueuingTime */
|
/** Get QueuingTime */
|
||||||
public int getQueuingTime();
|
public int getQueuingTime();
|
||||||
|
|
||||||
|
/** Column name SetupTime */
|
||||||
|
public static final String COLUMNNAME_SetupTime = "SetupTime";
|
||||||
|
|
||||||
|
/** Set Setup Time.
|
||||||
|
* Setup time before starting Production
|
||||||
|
*/
|
||||||
|
public void setSetupTime (int SetupTime);
|
||||||
|
|
||||||
|
/** Get Setup Time.
|
||||||
|
* Setup time before starting Production
|
||||||
|
*/
|
||||||
|
public int getSetupTime();
|
||||||
|
|
||||||
/** Column name S_Resource_ID */
|
/** Column name S_Resource_ID */
|
||||||
public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID";
|
public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID";
|
||||||
|
|
||||||
|
@ -399,18 +412,14 @@ public interface I_PP_Order_Workflow
|
||||||
|
|
||||||
public I_S_Resource getS_Resource() throws Exception;
|
public I_S_Resource getS_Resource() throws Exception;
|
||||||
|
|
||||||
/** Column name SetupTime */
|
/** Column name ValidateWorkflow */
|
||||||
public static final String COLUMNNAME_SetupTime = "SetupTime";
|
public static final String COLUMNNAME_ValidateWorkflow = "ValidateWorkflow";
|
||||||
|
|
||||||
/** Set Setup Time.
|
/** Set Validate Workflow */
|
||||||
* Setup time before starting Production
|
public void setValidateWorkflow (String ValidateWorkflow);
|
||||||
*/
|
|
||||||
public void setSetupTime (int SetupTime);
|
|
||||||
|
|
||||||
/** Get Setup Time.
|
/** Get Validate Workflow */
|
||||||
* Setup time before starting Production
|
public String getValidateWorkflow();
|
||||||
*/
|
|
||||||
public int getSetupTime();
|
|
||||||
|
|
||||||
/** Column name ValidFrom */
|
/** Column name ValidFrom */
|
||||||
public static final String COLUMNNAME_ValidFrom = "ValidFrom";
|
public static final String COLUMNNAME_ValidFrom = "ValidFrom";
|
||||||
|
@ -438,15 +447,6 @@ public interface I_PP_Order_Workflow
|
||||||
*/
|
*/
|
||||||
public Timestamp getValidTo();
|
public Timestamp getValidTo();
|
||||||
|
|
||||||
/** Column name ValidateWorkflow */
|
|
||||||
public static final String COLUMNNAME_ValidateWorkflow = "ValidateWorkflow";
|
|
||||||
|
|
||||||
/** Set Validate Workflow */
|
|
||||||
public void setValidateWorkflow (String ValidateWorkflow);
|
|
||||||
|
|
||||||
/** Get Validate Workflow */
|
|
||||||
public String getValidateWorkflow();
|
|
||||||
|
|
||||||
/** Column name Value */
|
/** Column name Value */
|
||||||
public static final String COLUMNNAME_Value = "Value";
|
public static final String COLUMNNAME_Value = "Value";
|
||||||
|
|
||||||
|
|
|
@ -58,6 +58,19 @@ public interface I_PP_Product_BOM
|
||||||
|
|
||||||
/** Load Meta Data */
|
/** Load Meta Data */
|
||||||
|
|
||||||
|
/** Column name Amt */
|
||||||
|
public static final String COLUMNNAME_Amt = "Amt";
|
||||||
|
|
||||||
|
/** Set Amount.
|
||||||
|
* Amount
|
||||||
|
*/
|
||||||
|
public void setAmt (BigDecimal Amt);
|
||||||
|
|
||||||
|
/** Get Amount.
|
||||||
|
* Amount
|
||||||
|
*/
|
||||||
|
public BigDecimal getAmt();
|
||||||
|
|
||||||
/** Column name BOMType */
|
/** Column name BOMType */
|
||||||
public static final String COLUMNNAME_BOMType = "BOMType";
|
public static final String COLUMNNAME_BOMType = "BOMType";
|
||||||
|
|
||||||
|
@ -84,6 +97,32 @@ public interface I_PP_Product_BOM
|
||||||
*/
|
*/
|
||||||
public String getBOMUse();
|
public String getBOMUse();
|
||||||
|
|
||||||
|
/** Column name CopyFrom */
|
||||||
|
public static final String COLUMNNAME_CopyFrom = "CopyFrom";
|
||||||
|
|
||||||
|
/** Set Copy From.
|
||||||
|
* Copy From Record
|
||||||
|
*/
|
||||||
|
public void setCopyFrom (String CopyFrom);
|
||||||
|
|
||||||
|
/** Get Copy From.
|
||||||
|
* Copy From Record
|
||||||
|
*/
|
||||||
|
public String getCopyFrom();
|
||||||
|
|
||||||
|
/** Column name Cost */
|
||||||
|
public static final String COLUMNNAME_Cost = "Cost";
|
||||||
|
|
||||||
|
/** Set Cost.
|
||||||
|
* Cost information
|
||||||
|
*/
|
||||||
|
public void setCost (BigDecimal Cost);
|
||||||
|
|
||||||
|
/** Get Cost.
|
||||||
|
* Cost information
|
||||||
|
*/
|
||||||
|
public BigDecimal getCost();
|
||||||
|
|
||||||
/** Column name C_UOM_ID */
|
/** Column name C_UOM_ID */
|
||||||
public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID";
|
public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID";
|
||||||
|
|
||||||
|
@ -99,19 +138,6 @@ public interface I_PP_Product_BOM
|
||||||
|
|
||||||
public I_C_UOM getC_UOM() throws Exception;
|
public I_C_UOM getC_UOM() throws Exception;
|
||||||
|
|
||||||
/** Column name CopyFrom */
|
|
||||||
public static final String COLUMNNAME_CopyFrom = "CopyFrom";
|
|
||||||
|
|
||||||
/** Set Copy From.
|
|
||||||
* Copy From Record
|
|
||||||
*/
|
|
||||||
public void setCopyFrom (String CopyFrom);
|
|
||||||
|
|
||||||
/** Get Copy From.
|
|
||||||
* Copy From Record
|
|
||||||
*/
|
|
||||||
public String getCopyFrom();
|
|
||||||
|
|
||||||
/** Column name Description */
|
/** Column name Description */
|
||||||
public static final String COLUMNNAME_Description = "Description";
|
public static final String COLUMNNAME_Description = "Description";
|
||||||
|
|
||||||
|
@ -151,6 +177,19 @@ public interface I_PP_Product_BOM
|
||||||
*/
|
*/
|
||||||
public String getHelp();
|
public String getHelp();
|
||||||
|
|
||||||
|
/** Column name Margin */
|
||||||
|
public static final String COLUMNNAME_Margin = "Margin";
|
||||||
|
|
||||||
|
/** Set Margin %.
|
||||||
|
* Margin for a product as a percentage
|
||||||
|
*/
|
||||||
|
public void setMargin (BigDecimal Margin);
|
||||||
|
|
||||||
|
/** Get Margin %.
|
||||||
|
* Margin for a product as a percentage
|
||||||
|
*/
|
||||||
|
public BigDecimal getMargin();
|
||||||
|
|
||||||
/** Column name M_AttributeSetInstance_ID */
|
/** Column name M_AttributeSetInstance_ID */
|
||||||
public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID";
|
public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID";
|
||||||
|
|
||||||
|
@ -179,6 +218,21 @@ public interface I_PP_Product_BOM
|
||||||
|
|
||||||
public I_M_ChangeNotice getM_ChangeNotice() throws Exception;
|
public I_M_ChangeNotice getM_ChangeNotice() throws Exception;
|
||||||
|
|
||||||
|
/** Column name M_PriceList_Version_ID */
|
||||||
|
public static final String COLUMNNAME_M_PriceList_Version_ID = "M_PriceList_Version_ID";
|
||||||
|
|
||||||
|
/** Set Price List Version.
|
||||||
|
* Identifies a unique instance of a Price List
|
||||||
|
*/
|
||||||
|
public void setM_PriceList_Version_ID (int M_PriceList_Version_ID);
|
||||||
|
|
||||||
|
/** Get Price List Version.
|
||||||
|
* Identifies a unique instance of a Price List
|
||||||
|
*/
|
||||||
|
public int getM_PriceList_Version_ID();
|
||||||
|
|
||||||
|
public I_M_PriceList_Version getM_PriceList_Version() throws Exception;
|
||||||
|
|
||||||
/** Column name M_Product_ID */
|
/** Column name M_Product_ID */
|
||||||
public static final String COLUMNNAME_M_Product_ID = "M_Product_ID";
|
public static final String COLUMNNAME_M_Product_ID = "M_Product_ID";
|
||||||
|
|
||||||
|
@ -220,6 +274,19 @@ public interface I_PP_Product_BOM
|
||||||
*/
|
*/
|
||||||
public int getPP_Product_BOM_ID();
|
public int getPP_Product_BOM_ID();
|
||||||
|
|
||||||
|
/** Column name Price */
|
||||||
|
public static final String COLUMNNAME_Price = "Price";
|
||||||
|
|
||||||
|
/** Set Price.
|
||||||
|
* Price
|
||||||
|
*/
|
||||||
|
public void setPrice (BigDecimal Price);
|
||||||
|
|
||||||
|
/** Get Price.
|
||||||
|
* Price
|
||||||
|
*/
|
||||||
|
public BigDecimal getPrice();
|
||||||
|
|
||||||
/** Column name Processing */
|
/** Column name Processing */
|
||||||
public static final String COLUMNNAME_Processing = "Processing";
|
public static final String COLUMNNAME_Processing = "Processing";
|
||||||
|
|
||||||
|
|
|
@ -84,6 +84,19 @@ public interface I_PP_Product_BOMLine
|
||||||
*/
|
*/
|
||||||
public String getBackflushGroup();
|
public String getBackflushGroup();
|
||||||
|
|
||||||
|
/** Column name ComponentType */
|
||||||
|
public static final String COLUMNNAME_ComponentType = "ComponentType";
|
||||||
|
|
||||||
|
/** Set Component Type.
|
||||||
|
* Component Type for a Bill of Material or Formula
|
||||||
|
*/
|
||||||
|
public void setComponentType (String ComponentType);
|
||||||
|
|
||||||
|
/** Get Component Type.
|
||||||
|
* Component Type for a Bill of Material or Formula
|
||||||
|
*/
|
||||||
|
public String getComponentType();
|
||||||
|
|
||||||
/** Column name C_UOM_ID */
|
/** Column name C_UOM_ID */
|
||||||
public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID";
|
public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID";
|
||||||
|
|
||||||
|
@ -99,19 +112,6 @@ public interface I_PP_Product_BOMLine
|
||||||
|
|
||||||
public I_C_UOM getC_UOM() throws Exception;
|
public I_C_UOM getC_UOM() throws Exception;
|
||||||
|
|
||||||
/** Column name ComponentType */
|
|
||||||
public static final String COLUMNNAME_ComponentType = "ComponentType";
|
|
||||||
|
|
||||||
/** Set Component Type.
|
|
||||||
* Component Type for a Bill of Material or Formula
|
|
||||||
*/
|
|
||||||
public void setComponentType (String ComponentType);
|
|
||||||
|
|
||||||
/** Get Component Type.
|
|
||||||
* Component Type for a Bill of Material or Formula
|
|
||||||
*/
|
|
||||||
public String getComponentType();
|
|
||||||
|
|
||||||
/** Column name Description */
|
/** Column name Description */
|
||||||
public static final String COLUMNNAME_Description = "Description";
|
public static final String COLUMNNAME_Description = "Description";
|
||||||
|
|
||||||
|
@ -272,19 +272,6 @@ public interface I_PP_Product_BOMLine
|
||||||
|
|
||||||
public I_M_Product getM_Product() throws Exception;
|
public I_M_Product getM_Product() throws Exception;
|
||||||
|
|
||||||
/** Column name PP_Product_BOMLine_ID */
|
|
||||||
public static final String COLUMNNAME_PP_Product_BOMLine_ID = "PP_Product_BOMLine_ID";
|
|
||||||
|
|
||||||
/** Set BOM Line.
|
|
||||||
* BOM Line
|
|
||||||
*/
|
|
||||||
public void setPP_Product_BOMLine_ID (int PP_Product_BOMLine_ID);
|
|
||||||
|
|
||||||
/** Get BOM Line.
|
|
||||||
* BOM Line
|
|
||||||
*/
|
|
||||||
public int getPP_Product_BOMLine_ID();
|
|
||||||
|
|
||||||
/** Column name PP_Product_BOM_ID */
|
/** Column name PP_Product_BOM_ID */
|
||||||
public static final String COLUMNNAME_PP_Product_BOM_ID = "PP_Product_BOM_ID";
|
public static final String COLUMNNAME_PP_Product_BOM_ID = "PP_Product_BOM_ID";
|
||||||
|
|
||||||
|
@ -300,18 +287,18 @@ public interface I_PP_Product_BOMLine
|
||||||
|
|
||||||
public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws Exception;
|
public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws Exception;
|
||||||
|
|
||||||
/** Column name QtyBOM */
|
/** Column name PP_Product_BOMLine_ID */
|
||||||
public static final String COLUMNNAME_QtyBOM = "QtyBOM";
|
public static final String COLUMNNAME_PP_Product_BOMLine_ID = "PP_Product_BOMLine_ID";
|
||||||
|
|
||||||
/** Set Quantity.
|
/** Set BOM Line.
|
||||||
* Indicate the Quantity use in this BOM
|
* BOM Line
|
||||||
*/
|
*/
|
||||||
public void setQtyBOM (BigDecimal QtyBOM);
|
public void setPP_Product_BOMLine_ID (int PP_Product_BOMLine_ID);
|
||||||
|
|
||||||
/** Get Quantity.
|
/** Get BOM Line.
|
||||||
* Indicate the Quantity use in this BOM
|
* BOM Line
|
||||||
*/
|
*/
|
||||||
public BigDecimal getQtyBOM();
|
public int getPP_Product_BOMLine_ID();
|
||||||
|
|
||||||
/** Column name QtyBatch */
|
/** Column name QtyBatch */
|
||||||
public static final String COLUMNNAME_QtyBatch = "QtyBatch";
|
public static final String COLUMNNAME_QtyBatch = "QtyBatch";
|
||||||
|
@ -326,6 +313,19 @@ public interface I_PP_Product_BOMLine
|
||||||
*/
|
*/
|
||||||
public BigDecimal getQtyBatch();
|
public BigDecimal getQtyBatch();
|
||||||
|
|
||||||
|
/** Column name QtyBOM */
|
||||||
|
public static final String COLUMNNAME_QtyBOM = "QtyBOM";
|
||||||
|
|
||||||
|
/** Set Quantity.
|
||||||
|
* Indicate the Quantity use in this BOM
|
||||||
|
*/
|
||||||
|
public void setQtyBOM (BigDecimal QtyBOM);
|
||||||
|
|
||||||
|
/** Get Quantity.
|
||||||
|
* Indicate the Quantity use in this BOM
|
||||||
|
*/
|
||||||
|
public BigDecimal getQtyBOM();
|
||||||
|
|
||||||
/** Column name Scrap */
|
/** Column name Scrap */
|
||||||
public static final String COLUMNNAME_Scrap = "Scrap";
|
public static final String COLUMNNAME_Scrap = "Scrap";
|
||||||
|
|
||||||
|
@ -364,4 +364,17 @@ public interface I_PP_Product_BOMLine
|
||||||
* Valid to including this date (last day)
|
* Valid to including this date (last day)
|
||||||
*/
|
*/
|
||||||
public Timestamp getValidTo();
|
public Timestamp getValidTo();
|
||||||
|
|
||||||
|
/** Column name Value */
|
||||||
|
public static final String COLUMNNAME_Value = "Value";
|
||||||
|
|
||||||
|
/** Set Search Key.
|
||||||
|
* Search key for the record in the format required - must be unique
|
||||||
|
*/
|
||||||
|
public void setValue (String Value);
|
||||||
|
|
||||||
|
/** Get Search Key.
|
||||||
|
* Search key for the record in the format required - must be unique
|
||||||
|
*/
|
||||||
|
public String getValue();
|
||||||
}
|
}
|
||||||
|
|
|
@ -246,6 +246,15 @@ public interface I_PP_Product_Planning
|
||||||
/** Get Order Qty */
|
/** Get Order Qty */
|
||||||
public BigDecimal getOrder_Qty();
|
public BigDecimal getOrder_Qty();
|
||||||
|
|
||||||
|
/** Column name Planner_ID */
|
||||||
|
public static final String COLUMNNAME_Planner_ID = "Planner_ID";
|
||||||
|
|
||||||
|
/** Set Planner */
|
||||||
|
public void setPlanner_ID (int Planner_ID);
|
||||||
|
|
||||||
|
/** Get Planner */
|
||||||
|
public int getPlanner_ID();
|
||||||
|
|
||||||
/** Column name PP_Product_BOM_ID */
|
/** Column name PP_Product_BOM_ID */
|
||||||
public static final String COLUMNNAME_PP_Product_BOM_ID = "PP_Product_BOM_ID";
|
public static final String COLUMNNAME_PP_Product_BOM_ID = "PP_Product_BOM_ID";
|
||||||
|
|
||||||
|
@ -270,14 +279,18 @@ public interface I_PP_Product_Planning
|
||||||
/** Get PP_Product_Planning_ID */
|
/** Get PP_Product_Planning_ID */
|
||||||
public int getPP_Product_Planning_ID();
|
public int getPP_Product_Planning_ID();
|
||||||
|
|
||||||
/** Column name Planner_ID */
|
/** Column name SafetyStock */
|
||||||
public static final String COLUMNNAME_Planner_ID = "Planner_ID";
|
public static final String COLUMNNAME_SafetyStock = "SafetyStock";
|
||||||
|
|
||||||
/** Set Planner */
|
/** Set Safety Stock Qty.
|
||||||
public void setPlanner_ID (int Planner_ID);
|
* Safety stock is a term used to describe a level of stock that is maintained below the cycle stock to buffer against stock-outs
|
||||||
|
*/
|
||||||
|
public void setSafetyStock (BigDecimal SafetyStock);
|
||||||
|
|
||||||
/** Get Planner */
|
/** Get Safety Stock Qty.
|
||||||
public int getPlanner_ID();
|
* Safety stock is a term used to describe a level of stock that is maintained below the cycle stock to buffer against stock-outs
|
||||||
|
*/
|
||||||
|
public BigDecimal getSafetyStock();
|
||||||
|
|
||||||
/** Column name S_Resource_ID */
|
/** Column name S_Resource_ID */
|
||||||
public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID";
|
public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID";
|
||||||
|
@ -294,19 +307,6 @@ public interface I_PP_Product_Planning
|
||||||
|
|
||||||
public I_S_Resource getS_Resource() throws Exception;
|
public I_S_Resource getS_Resource() throws Exception;
|
||||||
|
|
||||||
/** Column name SafetyStock */
|
|
||||||
public static final String COLUMNNAME_SafetyStock = "SafetyStock";
|
|
||||||
|
|
||||||
/** Set Safety Stock Qty.
|
|
||||||
* Safety stock is a term used to describe a level of stock that is maintained below the cycle stock to buffer against stock-outs
|
|
||||||
*/
|
|
||||||
public void setSafetyStock (BigDecimal SafetyStock);
|
|
||||||
|
|
||||||
/** Get Safety Stock Qty.
|
|
||||||
* Safety stock is a term used to describe a level of stock that is maintained below the cycle stock to buffer against stock-outs
|
|
||||||
*/
|
|
||||||
public BigDecimal getSafetyStock();
|
|
||||||
|
|
||||||
/** Column name TimeFence */
|
/** Column name TimeFence */
|
||||||
public static final String COLUMNNAME_TimeFence = "TimeFence";
|
public static final String COLUMNNAME_TimeFence = "TimeFence";
|
||||||
|
|
||||||
|
|
|
@ -57,21 +57,6 @@ public interface I_PP_WF_Node_Asset
|
||||||
|
|
||||||
/** Load Meta Data */
|
/** Load Meta Data */
|
||||||
|
|
||||||
/** Column name AD_WF_Node_ID */
|
|
||||||
public static final String COLUMNNAME_AD_WF_Node_ID = "AD_WF_Node_ID";
|
|
||||||
|
|
||||||
/** Set Node.
|
|
||||||
* Workflow Node (activity), step or process
|
|
||||||
*/
|
|
||||||
public void setAD_WF_Node_ID (int AD_WF_Node_ID);
|
|
||||||
|
|
||||||
/** Get Node.
|
|
||||||
* Workflow Node (activity), step or process
|
|
||||||
*/
|
|
||||||
public int getAD_WF_Node_ID();
|
|
||||||
|
|
||||||
public I_AD_WF_Node getAD_WF_Node() throws Exception;
|
|
||||||
|
|
||||||
/** Column name A_Asset_ID */
|
/** Column name A_Asset_ID */
|
||||||
public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID";
|
public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID";
|
||||||
|
|
||||||
|
@ -87,6 +72,21 @@ public interface I_PP_WF_Node_Asset
|
||||||
|
|
||||||
public I_A_Asset getA_Asset() throws Exception;
|
public I_A_Asset getA_Asset() throws Exception;
|
||||||
|
|
||||||
|
/** Column name AD_WF_Node_ID */
|
||||||
|
public static final String COLUMNNAME_AD_WF_Node_ID = "AD_WF_Node_ID";
|
||||||
|
|
||||||
|
/** Set Node.
|
||||||
|
* Workflow Node (activity), step or process
|
||||||
|
*/
|
||||||
|
public void setAD_WF_Node_ID (int AD_WF_Node_ID);
|
||||||
|
|
||||||
|
/** Get Node.
|
||||||
|
* Workflow Node (activity), step or process
|
||||||
|
*/
|
||||||
|
public int getAD_WF_Node_ID();
|
||||||
|
|
||||||
|
public I_AD_WF_Node getAD_WF_Node() throws Exception;
|
||||||
|
|
||||||
/** Column name PP_WF_Node_Asset_ID */
|
/** Column name PP_WF_Node_Asset_ID */
|
||||||
public static final String COLUMNNAME_PP_WF_Node_Asset_ID = "PP_WF_Node_Asset_ID";
|
public static final String COLUMNNAME_PP_WF_Node_Asset_ID = "PP_WF_Node_Asset_ID";
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for QM_Specification
|
/** Generated Interface for QM_Specification
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_QM_Specification
|
public interface I_QM_Specification
|
||||||
{
|
{
|
||||||
|
|
|
@ -39,7 +39,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for QM_SpecificationLine
|
/** Generated Interface for QM_SpecificationLine
|
||||||
* @author Trifon Trifonov (generated)
|
* @author Trifon Trifonov (generated)
|
||||||
* @version Release 3.5.1a
|
* @version Release 3.5.0
|
||||||
*/
|
*/
|
||||||
public interface I_QM_SpecificationLine
|
public interface I_QM_SpecificationLine
|
||||||
{
|
{
|
||||||
|
|
|
@ -33,8 +33,7 @@
|
||||||
package org.eevolution.model;
|
package org.eevolution.model;
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
|
import org.compiere.model.*;
|
||||||
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
|
||||||
|
|
|
@ -681,13 +681,13 @@ public class MDDOrder extends X_DD_Order implements DocAction
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Warehouse Org
|
// Warehouse Org
|
||||||
if (newRecord
|
/*if (newRecord
|
||||||
|| is_ValueChanged("AD_Org_ID") || is_ValueChanged("M_Warehouse_ID"))
|
|| is_ValueChanged("AD_Org_ID") || is_ValueChanged("M_Warehouse_ID"))
|
||||||
{
|
{
|
||||||
MWarehouse wh = MWarehouse.get(getCtx(), getM_Warehouse_ID());
|
MWarehouse wh = MWarehouse.get(getCtx(), getM_Warehouse_ID());
|
||||||
if (wh.getAD_Org_ID() != getAD_Org_ID())
|
if (wh.getAD_Org_ID() != getAD_Org_ID())
|
||||||
log.saveWarning("WarehouseOrgConflict", "");
|
log.saveWarning("WarehouseOrgConflict", "");
|
||||||
}
|
}*/
|
||||||
// Reservations in Warehouse
|
// Reservations in Warehouse
|
||||||
if (!newRecord && is_ValueChanged("M_Warehouse_ID"))
|
if (!newRecord && is_ValueChanged("M_Warehouse_ID"))
|
||||||
{
|
{
|
||||||
|
|
|
@ -187,8 +187,8 @@ public class MPPMRP extends X_PP_MRP
|
||||||
mrp.setM_Product_ID(fl.getM_Product_ID());
|
mrp.setM_Product_ID(fl.getM_Product_ID());
|
||||||
mrp.setM_Warehouse_ID(fl.getM_Warehouse_ID());
|
mrp.setM_Warehouse_ID(fl.getM_Warehouse_ID());
|
||||||
mrp.setDocStatus("IP");
|
mrp.setDocStatus("IP");
|
||||||
mrp.setType("D");
|
mrp.setOrderType(MPPMRP.ORDERTYPE_Forecast);
|
||||||
mrp.setTypeMRP("FCT");
|
mrp.setTypeMRP(MPPMRP.TYPEMRP_Demand);
|
||||||
mrp.save();
|
mrp.save();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -271,13 +271,13 @@ public class MPPMRP extends X_PP_MRP
|
||||||
|
|
||||||
if (ol.getParent().isSOTrx())
|
if (ol.getParent().isSOTrx())
|
||||||
{
|
{
|
||||||
mrp.setType("D");
|
mrp.setOrderType(MPPMRP.ORDERTYPE_SalesOrder);
|
||||||
mrp.setTypeMRP("SOO");
|
mrp.setTypeMRP(MPPMRP.TYPEMRP_Demand);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
mrp.setType("S");
|
mrp.setOrderType(MPPMRP.ORDERTYPE_PurchaseOrder);
|
||||||
mrp.setTypeMRP("POO");
|
mrp.setTypeMRP(MPPMRP.TYPEMRP_Supply);
|
||||||
}
|
}
|
||||||
mrp.save();
|
mrp.save();
|
||||||
|
|
||||||
|
@ -373,7 +373,7 @@ public class MPPMRP extends X_PP_MRP
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
sql = new String("SELECT * FROM PP_MRP WHERE Type = 'S' AND TypeMRP='MOP' AND PP_Order_ID = ? ");
|
sql = new String("SELECT * FROM PP_MRP WHERE TypeMRP = 'S' AND OrderType='MOP' AND PP_Order_ID = ? ");
|
||||||
MPPMRP mrp = null;
|
MPPMRP mrp = null;
|
||||||
|
|
||||||
|
|
||||||
|
@ -417,8 +417,8 @@ public class MPPMRP extends X_PP_MRP
|
||||||
mrp.setM_Product_ID(o.getM_Product_ID());
|
mrp.setM_Product_ID(o.getM_Product_ID());
|
||||||
mrp.setM_Warehouse_ID(o.getM_Warehouse_ID());
|
mrp.setM_Warehouse_ID(o.getM_Warehouse_ID());
|
||||||
mrp.setS_Resource_ID(o.getS_Resource_ID());
|
mrp.setS_Resource_ID(o.getS_Resource_ID());
|
||||||
mrp.setType("S");
|
mrp.setOrderType(MPPMRP.ORDERTYPE_ManufacturingOrder);
|
||||||
mrp.setTypeMRP("MOP");
|
mrp.setTypeMRP(MPPMRP.TYPEMRP_Supply);
|
||||||
mrp.setDocStatus(o.getDocStatus());
|
mrp.setDocStatus(o.getDocStatus());
|
||||||
mrp.save();
|
mrp.save();
|
||||||
}
|
}
|
||||||
|
@ -469,7 +469,7 @@ public class MPPMRP extends X_PP_MRP
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
sql = new String("SELECT * FROM PP_MRP mrp WHERE mrp.Type = 'D' AND mrp.TypeMRP='MOP' AND mrp.PP_Order_BOMLine_ID = ? ");
|
sql = new String("SELECT * FROM PP_MRP mrp WHERE mrp.TypeMRP = 'D' AND mrp.OrderType='MOP' AND mrp.PP_Order_BOMLine_ID = ? ");
|
||||||
|
|
||||||
MPPOrder o = obl.getParent();
|
MPPOrder o = obl.getParent();
|
||||||
MPPMRP mrp = null;
|
MPPMRP mrp = null;
|
||||||
|
@ -514,8 +514,8 @@ public class MPPMRP extends X_PP_MRP
|
||||||
mrp.setM_Warehouse_ID(obl.getM_Warehouse_ID());
|
mrp.setM_Warehouse_ID(obl.getM_Warehouse_ID());
|
||||||
mrp.setS_Resource_ID(o.getS_Resource_ID());
|
mrp.setS_Resource_ID(o.getS_Resource_ID());
|
||||||
mrp.setDocStatus(o.getDocStatus());
|
mrp.setDocStatus(o.getDocStatus());
|
||||||
mrp.setType("D");
|
mrp.setOrderType(MPPMRP.ORDERTYPE_ManufacturingOrder);
|
||||||
mrp.setTypeMRP("MOP");
|
mrp.setTypeMRP(MPPMRP.TYPEMRP_Demand);
|
||||||
mrp.save();
|
mrp.save();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -558,7 +558,7 @@ public class MPPMRP extends X_PP_MRP
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
sql = new String("SELECT * FROM PP_MRP mrp WHERE mrp.Type = 'D' AND mrp.TypeMRP='DOO' AND mrp.DD_OrderLine_ID = ? ");
|
sql = new String("SELECT * FROM PP_MRP mrp WHERE mrp.TypeMRP = 'D' AND mrp.OrderType='DOO' AND mrp.DD_OrderLine_ID = ? ");
|
||||||
MPPMRP mrp = null;
|
MPPMRP mrp = null;
|
||||||
MLocator source = MLocator.get( m_ctx , ol.getM_Locator_ID());
|
MLocator source = MLocator.get( m_ctx , ol.getM_Locator_ID());
|
||||||
MLocator target = MLocator.get( m_ctx , ol.getM_LocatorTo_ID());
|
MLocator target = MLocator.get( m_ctx , ol.getM_LocatorTo_ID());
|
||||||
|
@ -599,8 +599,8 @@ public class MPPMRP extends X_PP_MRP
|
||||||
mrp.setM_Product_ID(ol.getM_Product_ID());
|
mrp.setM_Product_ID(ol.getM_Product_ID());
|
||||||
mrp.setM_Warehouse_ID(source.getM_Warehouse_ID());
|
mrp.setM_Warehouse_ID(source.getM_Warehouse_ID());
|
||||||
mrp.setDocStatus(ol.getParent().getDocStatus());
|
mrp.setDocStatus(ol.getParent().getDocStatus());
|
||||||
mrp.setType("D");
|
mrp.setOrderType(MPPMRP.ORDERTYPE_DistributionOrder);
|
||||||
mrp.setTypeMRP("DOO");
|
mrp.setTypeMRP(MPPMRP.TYPEMRP_Demand);
|
||||||
mrp.save();
|
mrp.save();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -614,7 +614,7 @@ public class MPPMRP extends X_PP_MRP
|
||||||
log.log(Level.SEVERE, "doIt - " + sql , ex);
|
log.log(Level.SEVERE, "doIt - " + sql , ex);
|
||||||
}
|
}
|
||||||
|
|
||||||
sql = new String("SELECT * FROM PP_MRP mrp WHERE mrp.Type = 'S' AND mrp.TypeMRP='DOO' AND mrp.DD_OrderLine_ID = ? ");
|
sql = new String("SELECT * FROM PP_MRP mrp WHERE mrp.TypeMRP = 'S' AND mrp.OrderType='DOO' AND mrp.DD_OrderLine_ID = ? ");
|
||||||
|
|
||||||
|
|
||||||
pstmt = null;
|
pstmt = null;
|
||||||
|
@ -654,8 +654,8 @@ public class MPPMRP extends X_PP_MRP
|
||||||
mrp.setM_Product_ID(ol.getM_Product_ID());
|
mrp.setM_Product_ID(ol.getM_Product_ID());
|
||||||
mrp.setM_Warehouse_ID(target.getM_Warehouse_ID());
|
mrp.setM_Warehouse_ID(target.getM_Warehouse_ID());
|
||||||
mrp.setDocStatus(ol.getParent().getDocStatus());
|
mrp.setDocStatus(ol.getParent().getDocStatus());
|
||||||
mrp.setType("S");
|
mrp.setOrderType(MPPMRP.ORDERTYPE_DistributionOrder);
|
||||||
mrp.setTypeMRP("DOO");
|
mrp.setTypeMRP(MPPMRP.TYPEMRP_Supply);
|
||||||
mrp.save();
|
mrp.save();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -728,8 +728,8 @@ public class MPPMRP extends X_PP_MRP
|
||||||
mrp.setM_Product_ID(rl.getM_Product_ID());
|
mrp.setM_Product_ID(rl.getM_Product_ID());
|
||||||
mrp.setM_Warehouse_ID(r.getM_Warehouse_ID());
|
mrp.setM_Warehouse_ID(r.getM_Warehouse_ID());
|
||||||
mrp.setDocStatus(r.getDocStatus());
|
mrp.setDocStatus(r.getDocStatus());
|
||||||
mrp.setType("S");
|
mrp.setOrderType(MPPMRP.ORDERTYPE_MaterialRequisition);
|
||||||
mrp.setTypeMRP("POR");
|
mrp.setTypeMRP(MPPMRP.TYPEMRP_Supply);
|
||||||
mrp.setIsAvailable(true);
|
mrp.setIsAvailable(true);
|
||||||
mrp.save();
|
mrp.save();
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Model for C_TaxBase
|
/** Generated Model for C_TaxBase
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_C_TaxBase extends PO implements I_C_TaxBase, I_Persistent
|
public class X_C_TaxBase extends PO implements I_C_TaxBase, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Model for C_TaxDefinition
|
/** Generated Model for C_TaxDefinition
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_C_TaxDefinition extends PO implements I_C_TaxDefinition, I_Persistent
|
public class X_C_TaxDefinition extends PO implements I_C_TaxDefinition, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Model for C_TaxGroup
|
/** Generated Model for C_TaxGroup
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_C_TaxGroup extends PO implements I_C_TaxGroup, I_Persistent
|
public class X_C_TaxGroup extends PO implements I_C_TaxGroup, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Model for C_TaxType
|
/** Generated Model for C_TaxType
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_C_TaxType extends PO implements I_C_TaxType, I_Persistent
|
public class X_C_TaxType extends PO implements I_C_TaxType, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Model for DD_NetworkDistribution
|
/** Generated Model for DD_NetworkDistribution
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_DD_NetworkDistribution extends PO implements I_DD_NetworkDistribution, I_Persistent
|
public class X_DD_NetworkDistribution extends PO implements I_DD_NetworkDistribution, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ import org.compiere.util.Env;
|
||||||
|
|
||||||
/** Generated Model for DD_NetworkDistributionLine
|
/** Generated Model for DD_NetworkDistributionLine
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_DD_NetworkDistributionLine extends PO implements I_DD_NetworkDistributionLine, I_Persistent
|
public class X_DD_NetworkDistributionLine extends PO implements I_DD_NetworkDistributionLine, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Model for DD_Order
|
/** Generated Model for DD_Order
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
|
public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Model for DD_OrderLine
|
/** Generated Model for DD_OrderLine
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
|
public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ import org.compiere.model.*;
|
||||||
|
|
||||||
/** Generated Model for EXP_Format
|
/** Generated Model for EXP_Format
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_EXP_Format extends PO implements I_EXP_Format, I_Persistent
|
public class X_EXP_Format extends PO implements I_EXP_Format, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ import org.compiere.model.*;
|
||||||
|
|
||||||
/** Generated Model for EXP_FormatLine
|
/** Generated Model for EXP_FormatLine
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_EXP_FormatLine extends PO implements I_EXP_FormatLine, I_Persistent
|
public class X_EXP_FormatLine extends PO implements I_EXP_FormatLine, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ import org.compiere.model.*;
|
||||||
|
|
||||||
/** Generated Model for EXP_Processor
|
/** Generated Model for EXP_Processor
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_EXP_Processor extends PO implements I_EXP_Processor, I_Persistent
|
public class X_EXP_Processor extends PO implements I_EXP_Processor, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ import org.compiere.model.*;
|
||||||
|
|
||||||
/** Generated Model for EXP_ProcessorParameter
|
/** Generated Model for EXP_ProcessorParameter
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_EXP_ProcessorParameter extends PO implements I_EXP_ProcessorParameter, I_Persistent
|
public class X_EXP_ProcessorParameter extends PO implements I_EXP_ProcessorParameter, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ import org.compiere.model.*;
|
||||||
|
|
||||||
/** Generated Model for EXP_Processor_Type
|
/** Generated Model for EXP_Processor_Type
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_EXP_Processor_Type extends PO implements I_EXP_Processor_Type, I_Persistent
|
public class X_EXP_Processor_Type extends PO implements I_EXP_Processor_Type, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ import org.compiere.util.Env;
|
||||||
|
|
||||||
/** Generated Model for HR_Attribute
|
/** Generated Model for HR_Attribute
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_HR_Attribute extends PO implements I_HR_Attribute, I_Persistent
|
public class X_HR_Attribute extends PO implements I_HR_Attribute, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Model for HR_Concept
|
/** Generated Model for HR_Concept
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent
|
public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ import org.compiere.model.*;
|
||||||
|
|
||||||
/** Generated Model for HR_Concept_Acct
|
/** Generated Model for HR_Concept_Acct
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_HR_Concept_Acct extends PO implements I_HR_Concept_Acct, I_Persistent
|
public class X_HR_Concept_Acct extends PO implements I_HR_Concept_Acct, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Model for HR_Concept_Category
|
/** Generated Model for HR_Concept_Category
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_HR_Concept_Category extends PO implements I_HR_Concept_Category, I_Persistent
|
public class X_HR_Concept_Category extends PO implements I_HR_Concept_Category, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Model for HR_Contract
|
/** Generated Model for HR_Contract
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_HR_Contract extends PO implements I_HR_Contract, I_Persistent
|
public class X_HR_Contract extends PO implements I_HR_Contract, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Model for HR_Department
|
/** Generated Model for HR_Department
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_HR_Department extends PO implements I_HR_Department, I_Persistent
|
public class X_HR_Department extends PO implements I_HR_Department, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Model for HR_Employee
|
/** Generated Model for HR_Employee
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_HR_Employee extends PO implements I_HR_Employee, I_Persistent
|
public class X_HR_Employee extends PO implements I_HR_Employee, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Model for HR_Job
|
/** Generated Model for HR_Job
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_HR_Job extends PO implements I_HR_Job, I_Persistent
|
public class X_HR_Job extends PO implements I_HR_Job, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Model for HR_List
|
/** Generated Model for HR_List
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_HR_List extends PO implements I_HR_List, I_Persistent
|
public class X_HR_List extends PO implements I_HR_List, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Model for HR_ListLine
|
/** Generated Model for HR_ListLine
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_HR_ListLine extends PO implements I_HR_ListLine, I_Persistent
|
public class X_HR_ListLine extends PO implements I_HR_ListLine, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Model for HR_ListType
|
/** Generated Model for HR_ListType
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_HR_ListType extends PO implements I_HR_ListType, I_Persistent
|
public class X_HR_ListType extends PO implements I_HR_ListType, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Model for HR_ListVersion
|
/** Generated Model for HR_ListVersion
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_HR_ListVersion extends PO implements I_HR_ListVersion, I_Persistent
|
public class X_HR_ListVersion extends PO implements I_HR_ListVersion, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Model for HR_Movement
|
/** Generated Model for HR_Movement
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent
|
public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Model for HR_Payroll
|
/** Generated Model for HR_Payroll
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_HR_Payroll extends PO implements I_HR_Payroll, I_Persistent
|
public class X_HR_Payroll extends PO implements I_HR_Payroll, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Model for HR_PayrollConcept
|
/** Generated Model for HR_PayrollConcept
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_HR_PayrollConcept extends PO implements I_HR_PayrollConcept, I_Persistent
|
public class X_HR_PayrollConcept extends PO implements I_HR_PayrollConcept, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Model for HR_Period
|
/** Generated Model for HR_Period
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_HR_Period extends PO implements I_HR_Period, I_Persistent
|
public class X_HR_Period extends PO implements I_HR_Period, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Model for HR_Process
|
/** Generated Model for HR_Process
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_HR_Process extends PO implements I_HR_Process, I_Persistent
|
public class X_HR_Process extends PO implements I_HR_Process, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ import org.compiere.model.*;
|
||||||
|
|
||||||
/** Generated Model for HR_Year
|
/** Generated Model for HR_Year
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_HR_Year extends PO implements I_HR_Year, I_Persistent
|
public class X_HR_Year extends PO implements I_HR_Year, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ import org.compiere.model.*;
|
||||||
|
|
||||||
/** Generated Model for IMP_Processor
|
/** Generated Model for IMP_Processor
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_IMP_Processor extends PO implements I_IMP_Processor, I_Persistent
|
public class X_IMP_Processor extends PO implements I_IMP_Processor, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ import org.compiere.model.*;
|
||||||
|
|
||||||
/** Generated Model for IMP_ProcessorLog
|
/** Generated Model for IMP_ProcessorLog
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_IMP_ProcessorLog extends PO implements I_IMP_ProcessorLog, I_Persistent
|
public class X_IMP_ProcessorLog extends PO implements I_IMP_ProcessorLog, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ import org.compiere.model.*;
|
||||||
|
|
||||||
/** Generated Model for IMP_ProcessorParameter
|
/** Generated Model for IMP_ProcessorParameter
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_IMP_ProcessorParameter extends PO implements I_IMP_ProcessorParameter, I_Persistent
|
public class X_IMP_ProcessorParameter extends PO implements I_IMP_ProcessorParameter, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ import org.compiere.model.*;
|
||||||
|
|
||||||
/** Generated Model for IMP_Processor_Type
|
/** Generated Model for IMP_Processor_Type
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.1a - $Id$ */
|
* @version Release 3.5.0 - $Id$ */
|
||||||
public class X_IMP_Processor_Type extends PO implements I_IMP_Processor_Type, I_Persistent
|
public class X_IMP_Processor_Type extends PO implements I_IMP_Processor_Type, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -44,20 +44,20 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
|
||||||
super (ctx, PP_Cost_Collector_ID, trxName);
|
super (ctx, PP_Cost_Collector_ID, trxName);
|
||||||
/** if (PP_Cost_Collector_ID == 0)
|
/** if (PP_Cost_Collector_ID == 0)
|
||||||
{
|
{
|
||||||
setC_DocTypeTarget_ID (0);
|
|
||||||
setC_DocType_ID (0);
|
setC_DocType_ID (0);
|
||||||
|
setC_DocTypeTarget_ID (0);
|
||||||
setDateAcct (new Timestamp(System.currentTimeMillis()));
|
setDateAcct (new Timestamp(System.currentTimeMillis()));
|
||||||
// @#Date@
|
// @#Date@
|
||||||
setM_Locator_ID (0);
|
setM_Locator_ID (0);
|
||||||
setM_Product_ID (0);
|
|
||||||
setM_Warehouse_ID (0);
|
|
||||||
setMovementDate (new Timestamp(System.currentTimeMillis()));
|
setMovementDate (new Timestamp(System.currentTimeMillis()));
|
||||||
// @#Date@
|
// @#Date@
|
||||||
setMovementQty (Env.ZERO);
|
setMovementQty (Env.ZERO);
|
||||||
// 0
|
// 0
|
||||||
|
setM_Product_ID (0);
|
||||||
|
setM_Warehouse_ID (0);
|
||||||
|
setPosted (false);
|
||||||
setPP_Cost_Collector_ID (0);
|
setPP_Cost_Collector_ID (0);
|
||||||
setPP_Order_ID (0);
|
setPP_Order_ID (0);
|
||||||
setPosted (false);
|
|
||||||
setProcessed (false);
|
setProcessed (false);
|
||||||
setS_Resource_ID (0);
|
setS_Resource_ID (0);
|
||||||
} */
|
} */
|
||||||
|
@ -233,30 +233,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** C_DocTypeTarget_ID AD_Reference_ID=53233 */
|
|
||||||
public static final int C_DOCTYPETARGET_ID_AD_Reference_ID=53233;
|
|
||||||
/** Set Target Document Type.
|
|
||||||
@param C_DocTypeTarget_ID
|
|
||||||
Target document type for conversing documents
|
|
||||||
*/
|
|
||||||
public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID)
|
|
||||||
{
|
|
||||||
if (C_DocTypeTarget_ID < 1)
|
|
||||||
throw new IllegalArgumentException ("C_DocTypeTarget_ID is mandatory.");
|
|
||||||
set_ValueNoCheck (COLUMNNAME_C_DocTypeTarget_ID, Integer.valueOf(C_DocTypeTarget_ID));
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Target Document Type.
|
|
||||||
@return Target document type for conversing documents
|
|
||||||
*/
|
|
||||||
public int getC_DocTypeTarget_ID ()
|
|
||||||
{
|
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeTarget_ID);
|
|
||||||
if (ii == null)
|
|
||||||
return 0;
|
|
||||||
return ii.intValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** C_DocType_ID AD_Reference_ID=53233 */
|
/** C_DocType_ID AD_Reference_ID=53233 */
|
||||||
public static final int C_DOCTYPE_ID_AD_Reference_ID=53233;
|
public static final int C_DOCTYPE_ID_AD_Reference_ID=53233;
|
||||||
/** Set Document Type.
|
/** Set Document Type.
|
||||||
|
@ -281,6 +257,30 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** C_DocTypeTarget_ID AD_Reference_ID=53233 */
|
||||||
|
public static final int C_DOCTYPETARGET_ID_AD_Reference_ID=53233;
|
||||||
|
/** Set Target Document Type.
|
||||||
|
@param C_DocTypeTarget_ID
|
||||||
|
Target document type for conversing documents
|
||||||
|
*/
|
||||||
|
public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID)
|
||||||
|
{
|
||||||
|
if (C_DocTypeTarget_ID < 1)
|
||||||
|
throw new IllegalArgumentException ("C_DocTypeTarget_ID is mandatory.");
|
||||||
|
set_ValueNoCheck (COLUMNNAME_C_DocTypeTarget_ID, Integer.valueOf(C_DocTypeTarget_ID));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Target Document Type.
|
||||||
|
@return Target document type for conversing documents
|
||||||
|
*/
|
||||||
|
public int getC_DocTypeTarget_ID ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeTarget_ID);
|
||||||
|
if (ii == null)
|
||||||
|
return 0;
|
||||||
|
return ii.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
public I_C_Project getC_Project() throws Exception
|
public I_C_Project getC_Project() throws Exception
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(I_C_Project.Table_Name);
|
Class<?> clazz = MTable.getClass(I_C_Project.Table_Name);
|
||||||
|
@ -588,90 +588,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public I_M_Product getM_Product() throws Exception
|
|
||||||
{
|
|
||||||
Class<?> clazz = MTable.getClass(I_M_Product.Table_Name);
|
|
||||||
I_M_Product result = null;
|
|
||||||
try {
|
|
||||||
Constructor<?> constructor = null;
|
|
||||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
|
||||||
result = (I_M_Product)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Product_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 e;
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Product.
|
|
||||||
@param M_Product_ID
|
|
||||||
Product, Service, Item
|
|
||||||
*/
|
|
||||||
public void setM_Product_ID (int M_Product_ID)
|
|
||||||
{
|
|
||||||
if (M_Product_ID < 1)
|
|
||||||
throw new IllegalArgumentException ("M_Product_ID is mandatory.");
|
|
||||||
set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID));
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Product.
|
|
||||||
@return Product, Service, Item
|
|
||||||
*/
|
|
||||||
public int getM_Product_ID ()
|
|
||||||
{
|
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_M_Product_ID);
|
|
||||||
if (ii == null)
|
|
||||||
return 0;
|
|
||||||
return ii.intValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Record ID/ColumnName
|
|
||||||
@return ID/ColumnName pair
|
|
||||||
*/
|
|
||||||
public KeyNamePair getKeyNamePair()
|
|
||||||
{
|
|
||||||
return new KeyNamePair(get_ID(), String.valueOf(getM_Product_ID()));
|
|
||||||
}
|
|
||||||
|
|
||||||
public I_M_Warehouse getM_Warehouse() throws Exception
|
|
||||||
{
|
|
||||||
Class<?> clazz = MTable.getClass(I_M_Warehouse.Table_Name);
|
|
||||||
I_M_Warehouse result = null;
|
|
||||||
try {
|
|
||||||
Constructor<?> constructor = null;
|
|
||||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
|
||||||
result = (I_M_Warehouse)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Warehouse_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 e;
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Warehouse.
|
|
||||||
@param M_Warehouse_ID
|
|
||||||
Storage Warehouse and Service Point
|
|
||||||
*/
|
|
||||||
public void setM_Warehouse_ID (int M_Warehouse_ID)
|
|
||||||
{
|
|
||||||
if (M_Warehouse_ID < 1)
|
|
||||||
throw new IllegalArgumentException ("M_Warehouse_ID is mandatory.");
|
|
||||||
set_Value (COLUMNNAME_M_Warehouse_ID, Integer.valueOf(M_Warehouse_ID));
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Warehouse.
|
|
||||||
@return Storage Warehouse and Service Point
|
|
||||||
*/
|
|
||||||
public int getM_Warehouse_ID ()
|
|
||||||
{
|
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_M_Warehouse_ID);
|
|
||||||
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
|
||||||
|
@ -763,6 +679,114 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
|
||||||
return (String)get_Value(COLUMNNAME_MovementType);
|
return (String)get_Value(COLUMNNAME_MovementType);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public I_M_Product getM_Product() throws Exception
|
||||||
|
{
|
||||||
|
Class<?> clazz = MTable.getClass(I_M_Product.Table_Name);
|
||||||
|
I_M_Product result = null;
|
||||||
|
try {
|
||||||
|
Constructor<?> constructor = null;
|
||||||
|
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||||
|
result = (I_M_Product)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Product_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 e;
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Set Product.
|
||||||
|
@param M_Product_ID
|
||||||
|
Product, Service, Item
|
||||||
|
*/
|
||||||
|
public void setM_Product_ID (int M_Product_ID)
|
||||||
|
{
|
||||||
|
if (M_Product_ID < 1)
|
||||||
|
throw new IllegalArgumentException ("M_Product_ID is mandatory.");
|
||||||
|
set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Product.
|
||||||
|
@return Product, Service, Item
|
||||||
|
*/
|
||||||
|
public int getM_Product_ID ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_M_Product_ID);
|
||||||
|
if (ii == null)
|
||||||
|
return 0;
|
||||||
|
return ii.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Record ID/ColumnName
|
||||||
|
@return ID/ColumnName pair
|
||||||
|
*/
|
||||||
|
public KeyNamePair getKeyNamePair()
|
||||||
|
{
|
||||||
|
return new KeyNamePair(get_ID(), String.valueOf(getM_Product_ID()));
|
||||||
|
}
|
||||||
|
|
||||||
|
public I_M_Warehouse getM_Warehouse() throws Exception
|
||||||
|
{
|
||||||
|
Class<?> clazz = MTable.getClass(I_M_Warehouse.Table_Name);
|
||||||
|
I_M_Warehouse result = null;
|
||||||
|
try {
|
||||||
|
Constructor<?> constructor = null;
|
||||||
|
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||||
|
result = (I_M_Warehouse)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Warehouse_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 e;
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Set Warehouse.
|
||||||
|
@param M_Warehouse_ID
|
||||||
|
Storage Warehouse and Service Point
|
||||||
|
*/
|
||||||
|
public void setM_Warehouse_ID (int M_Warehouse_ID)
|
||||||
|
{
|
||||||
|
if (M_Warehouse_ID < 1)
|
||||||
|
throw new IllegalArgumentException ("M_Warehouse_ID is mandatory.");
|
||||||
|
set_Value (COLUMNNAME_M_Warehouse_ID, Integer.valueOf(M_Warehouse_ID));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Warehouse.
|
||||||
|
@return Storage Warehouse and Service Point
|
||||||
|
*/
|
||||||
|
public int getM_Warehouse_ID ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_M_Warehouse_ID);
|
||||||
|
if (ii == null)
|
||||||
|
return 0;
|
||||||
|
return ii.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Set Posted.
|
||||||
|
@param Posted
|
||||||
|
Posting status
|
||||||
|
*/
|
||||||
|
public void setPosted (boolean Posted)
|
||||||
|
{
|
||||||
|
set_Value (COLUMNNAME_Posted, Boolean.valueOf(Posted));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Posted.
|
||||||
|
@return Posting status
|
||||||
|
*/
|
||||||
|
public boolean isPosted ()
|
||||||
|
{
|
||||||
|
Object oo = get_Value(COLUMNNAME_Posted);
|
||||||
|
if (oo != null)
|
||||||
|
{
|
||||||
|
if (oo instanceof Boolean)
|
||||||
|
return ((Boolean)oo).booleanValue();
|
||||||
|
return "Y".equals(oo);
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
/** Set PP_Cost_Collector_ID.
|
/** Set PP_Cost_Collector_ID.
|
||||||
@param PP_Cost_Collector_ID PP_Cost_Collector_ID */
|
@param PP_Cost_Collector_ID PP_Cost_Collector_ID */
|
||||||
public void setPP_Cost_Collector_ID (int PP_Cost_Collector_ID)
|
public void setPP_Cost_Collector_ID (int PP_Cost_Collector_ID)
|
||||||
|
@ -925,30 +949,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set Posted.
|
|
||||||
@param Posted
|
|
||||||
Posting status
|
|
||||||
*/
|
|
||||||
public void setPosted (boolean Posted)
|
|
||||||
{
|
|
||||||
set_Value (COLUMNNAME_Posted, Boolean.valueOf(Posted));
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Posted.
|
|
||||||
@return Posting status
|
|
||||||
*/
|
|
||||||
public boolean isPosted ()
|
|
||||||
{
|
|
||||||
Object oo = get_Value(COLUMNNAME_Posted);
|
|
||||||
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
|
||||||
|
@ -1036,6 +1036,43 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Set Scrapped Quantity.
|
||||||
|
@param ScrappedQty
|
||||||
|
The Quantity scrapped due to QA issues
|
||||||
|
*/
|
||||||
|
public void setScrappedQty (BigDecimal ScrappedQty)
|
||||||
|
{
|
||||||
|
set_Value (COLUMNNAME_ScrappedQty, ScrappedQty);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Scrapped Quantity.
|
||||||
|
@return The Quantity scrapped due to QA issues
|
||||||
|
*/
|
||||||
|
public BigDecimal getScrappedQty ()
|
||||||
|
{
|
||||||
|
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ScrappedQty);
|
||||||
|
if (bd == null)
|
||||||
|
return Env.ZERO;
|
||||||
|
return bd;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Set SetupTimeReal.
|
||||||
|
@param SetupTimeReal SetupTimeReal */
|
||||||
|
public void setSetupTimeReal (BigDecimal SetupTimeReal)
|
||||||
|
{
|
||||||
|
set_Value (COLUMNNAME_SetupTimeReal, SetupTimeReal);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get SetupTimeReal.
|
||||||
|
@return SetupTimeReal */
|
||||||
|
public BigDecimal getSetupTimeReal ()
|
||||||
|
{
|
||||||
|
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_SetupTimeReal);
|
||||||
|
if (bd == null)
|
||||||
|
return Env.ZERO;
|
||||||
|
return bd;
|
||||||
|
}
|
||||||
|
|
||||||
public I_S_Resource getS_Resource() throws Exception
|
public I_S_Resource getS_Resource() throws Exception
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(I_S_Resource.Table_Name);
|
Class<?> clazz = MTable.getClass(I_S_Resource.Table_Name);
|
||||||
|
@ -1074,43 +1111,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set Scrapped Quantity.
|
|
||||||
@param ScrappedQty
|
|
||||||
The Quantity scrapped due to QA issues
|
|
||||||
*/
|
|
||||||
public void setScrappedQty (BigDecimal ScrappedQty)
|
|
||||||
{
|
|
||||||
set_Value (COLUMNNAME_ScrappedQty, ScrappedQty);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Scrapped Quantity.
|
|
||||||
@return The Quantity scrapped due to QA issues
|
|
||||||
*/
|
|
||||||
public BigDecimal getScrappedQty ()
|
|
||||||
{
|
|
||||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ScrappedQty);
|
|
||||||
if (bd == null)
|
|
||||||
return Env.ZERO;
|
|
||||||
return bd;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set SetupTimeReal.
|
|
||||||
@param SetupTimeReal SetupTimeReal */
|
|
||||||
public void setSetupTimeReal (BigDecimal SetupTimeReal)
|
|
||||||
{
|
|
||||||
set_Value (COLUMNNAME_SetupTimeReal, SetupTimeReal);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get SetupTimeReal.
|
|
||||||
@return SetupTimeReal */
|
|
||||||
public BigDecimal getSetupTimeReal ()
|
|
||||||
{
|
|
||||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_SetupTimeReal);
|
|
||||||
if (bd == null)
|
|
||||||
return Env.ZERO;
|
|
||||||
return bd;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** User1_ID AD_Reference_ID=286 */
|
/** User1_ID AD_Reference_ID=286 */
|
||||||
public static final int USER1_ID_AD_Reference_ID=286;
|
public static final int USER1_ID_AD_Reference_ID=286;
|
||||||
/** Set User List 1.
|
/** Set User List 1.
|
||||||
|
|
|
@ -29,7 +29,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Model for PP_MRP
|
/** Generated Model for PP_MRP
|
||||||
* @author Adempiere (generated)
|
* @author Adempiere (generated)
|
||||||
* @version Release 3.5.0 - $Id$ */
|
* @version Release 3.5.1a - $Id$ */
|
||||||
public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
|
public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -119,45 +119,6 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public I_C_OrderLine getC_OrderLine() throws Exception
|
|
||||||
{
|
|
||||||
Class<?> clazz = MTable.getClass(I_C_OrderLine.Table_Name);
|
|
||||||
I_C_OrderLine result = null;
|
|
||||||
try {
|
|
||||||
Constructor<?> constructor = null;
|
|
||||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
|
||||||
result = (I_C_OrderLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_OrderLine_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 e;
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Sales Order Line.
|
|
||||||
@param C_OrderLine_ID
|
|
||||||
Sales Order Line
|
|
||||||
*/
|
|
||||||
public void setC_OrderLine_ID (int C_OrderLine_ID)
|
|
||||||
{
|
|
||||||
if (C_OrderLine_ID < 1)
|
|
||||||
set_Value (COLUMNNAME_C_OrderLine_ID, null);
|
|
||||||
else
|
|
||||||
set_Value (COLUMNNAME_C_OrderLine_ID, Integer.valueOf(C_OrderLine_ID));
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Sales Order Line.
|
|
||||||
@return Sales Order Line
|
|
||||||
*/
|
|
||||||
public int getC_OrderLine_ID ()
|
|
||||||
{
|
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_OrderLine_ID);
|
|
||||||
if (ii == null)
|
|
||||||
return 0;
|
|
||||||
return ii.intValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
public I_C_Order getC_Order() throws Exception
|
public I_C_Order getC_Order() throws Exception
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(I_C_Order.Table_Name);
|
Class<?> clazz = MTable.getClass(I_C_Order.Table_Name);
|
||||||
|
@ -197,14 +158,14 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public org.eevolution.model.I_DD_OrderLine getDD_OrderLine() throws Exception
|
public I_C_OrderLine getC_OrderLine() throws Exception
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(org.eevolution.model.I_DD_OrderLine.Table_Name);
|
Class<?> clazz = MTable.getClass(I_C_OrderLine.Table_Name);
|
||||||
org.eevolution.model.I_DD_OrderLine result = null;
|
I_C_OrderLine result = null;
|
||||||
try {
|
try {
|
||||||
Constructor<?> constructor = null;
|
Constructor<?> constructor = null;
|
||||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||||
result = (org.eevolution.model.I_DD_OrderLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getDD_OrderLine_ID()), get_TrxName()});
|
result = (I_C_OrderLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_OrderLine_ID()), get_TrxName()});
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||||
|
@ -213,57 +174,24 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set Distribution Order Line.
|
/** Set Sales Order Line.
|
||||||
@param DD_OrderLine_ID Distribution Order Line */
|
@param C_OrderLine_ID
|
||||||
public void setDD_OrderLine_ID (int DD_OrderLine_ID)
|
Sales Order Line
|
||||||
|
*/
|
||||||
|
public void setC_OrderLine_ID (int C_OrderLine_ID)
|
||||||
{
|
{
|
||||||
if (DD_OrderLine_ID < 1)
|
if (C_OrderLine_ID < 1)
|
||||||
set_Value (COLUMNNAME_DD_OrderLine_ID, null);
|
set_Value (COLUMNNAME_C_OrderLine_ID, null);
|
||||||
else
|
else
|
||||||
set_Value (COLUMNNAME_DD_OrderLine_ID, Integer.valueOf(DD_OrderLine_ID));
|
set_Value (COLUMNNAME_C_OrderLine_ID, Integer.valueOf(C_OrderLine_ID));
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Get Distribution Order Line.
|
/** Get Sales Order Line.
|
||||||
@return Distribution Order Line */
|
@return Sales Order Line
|
||||||
public int getDD_OrderLine_ID ()
|
*/
|
||||||
|
public int getC_OrderLine_ID ()
|
||||||
{
|
{
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_DD_OrderLine_ID);
|
Integer ii = (Integer)get_Value(COLUMNNAME_C_OrderLine_ID);
|
||||||
if (ii == null)
|
|
||||||
return 0;
|
|
||||||
return ii.intValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.eevolution.model.I_DD_Order getDD_Order() throws Exception
|
|
||||||
{
|
|
||||||
Class<?> clazz = MTable.getClass(org.eevolution.model.I_DD_Order.Table_Name);
|
|
||||||
org.eevolution.model.I_DD_Order result = null;
|
|
||||||
try {
|
|
||||||
Constructor<?> constructor = null;
|
|
||||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
|
||||||
result = (org.eevolution.model.I_DD_Order)constructor.newInstance(new Object[] {getCtx(), new Integer(getDD_Order_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 e;
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Distribution Order.
|
|
||||||
@param DD_Order_ID Distribution Order */
|
|
||||||
public void setDD_Order_ID (int DD_Order_ID)
|
|
||||||
{
|
|
||||||
if (DD_Order_ID < 1)
|
|
||||||
set_Value (COLUMNNAME_DD_Order_ID, null);
|
|
||||||
else
|
|
||||||
set_Value (COLUMNNAME_DD_Order_ID, Integer.valueOf(DD_Order_ID));
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Distribution Order.
|
|
||||||
@return Distribution Order */
|
|
||||||
public int getDD_Order_ID ()
|
|
||||||
{
|
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_DD_Order_ID);
|
|
||||||
if (ii == null)
|
if (ii == null)
|
||||||
return 0;
|
return 0;
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
|
@ -377,6 +305,78 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
|
||||||
return (Timestamp)get_Value(COLUMNNAME_DateStartSchedule);
|
return (Timestamp)get_Value(COLUMNNAME_DateStartSchedule);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public org.eevolution.model.I_DD_Order getDD_Order() throws Exception
|
||||||
|
{
|
||||||
|
Class<?> clazz = MTable.getClass(org.eevolution.model.I_DD_Order.Table_Name);
|
||||||
|
org.eevolution.model.I_DD_Order result = null;
|
||||||
|
try {
|
||||||
|
Constructor<?> constructor = null;
|
||||||
|
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||||
|
result = (org.eevolution.model.I_DD_Order)constructor.newInstance(new Object[] {getCtx(), new Integer(getDD_Order_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 e;
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Set Distribution Order.
|
||||||
|
@param DD_Order_ID Distribution Order */
|
||||||
|
public void setDD_Order_ID (int DD_Order_ID)
|
||||||
|
{
|
||||||
|
if (DD_Order_ID < 1)
|
||||||
|
set_Value (COLUMNNAME_DD_Order_ID, null);
|
||||||
|
else
|
||||||
|
set_Value (COLUMNNAME_DD_Order_ID, Integer.valueOf(DD_Order_ID));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Distribution Order.
|
||||||
|
@return Distribution Order */
|
||||||
|
public int getDD_Order_ID ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_DD_Order_ID);
|
||||||
|
if (ii == null)
|
||||||
|
return 0;
|
||||||
|
return ii.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
public org.eevolution.model.I_DD_OrderLine getDD_OrderLine() throws Exception
|
||||||
|
{
|
||||||
|
Class<?> clazz = MTable.getClass(org.eevolution.model.I_DD_OrderLine.Table_Name);
|
||||||
|
org.eevolution.model.I_DD_OrderLine result = null;
|
||||||
|
try {
|
||||||
|
Constructor<?> constructor = null;
|
||||||
|
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||||
|
result = (org.eevolution.model.I_DD_OrderLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getDD_OrderLine_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 e;
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Set Distribution Order Line.
|
||||||
|
@param DD_OrderLine_ID Distribution Order Line */
|
||||||
|
public void setDD_OrderLine_ID (int DD_OrderLine_ID)
|
||||||
|
{
|
||||||
|
if (DD_OrderLine_ID < 1)
|
||||||
|
set_Value (COLUMNNAME_DD_OrderLine_ID, null);
|
||||||
|
else
|
||||||
|
set_Value (COLUMNNAME_DD_OrderLine_ID, Integer.valueOf(DD_OrderLine_ID));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Distribution Order Line.
|
||||||
|
@return Distribution Order Line */
|
||||||
|
public int getDD_OrderLine_ID ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_DD_OrderLine_ID);
|
||||||
|
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
|
||||||
|
@ -447,45 +447,6 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public I_M_ForecastLine getM_ForecastLine() throws Exception
|
|
||||||
{
|
|
||||||
Class<?> clazz = MTable.getClass(I_M_ForecastLine.Table_Name);
|
|
||||||
I_M_ForecastLine result = null;
|
|
||||||
try {
|
|
||||||
Constructor<?> constructor = null;
|
|
||||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
|
||||||
result = (I_M_ForecastLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_ForecastLine_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 e;
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Forecast Line.
|
|
||||||
@param M_ForecastLine_ID
|
|
||||||
Forecast Line
|
|
||||||
*/
|
|
||||||
public void setM_ForecastLine_ID (int M_ForecastLine_ID)
|
|
||||||
{
|
|
||||||
if (M_ForecastLine_ID < 1)
|
|
||||||
set_Value (COLUMNNAME_M_ForecastLine_ID, null);
|
|
||||||
else
|
|
||||||
set_Value (COLUMNNAME_M_ForecastLine_ID, Integer.valueOf(M_ForecastLine_ID));
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Forecast Line.
|
|
||||||
@return Forecast Line
|
|
||||||
*/
|
|
||||||
public int getM_ForecastLine_ID ()
|
|
||||||
{
|
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_M_ForecastLine_ID);
|
|
||||||
if (ii == null)
|
|
||||||
return 0;
|
|
||||||
return ii.intValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
public I_M_Forecast getM_Forecast() throws Exception
|
public I_M_Forecast getM_Forecast() throws Exception
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(I_M_Forecast.Table_Name);
|
Class<?> clazz = MTable.getClass(I_M_Forecast.Table_Name);
|
||||||
|
@ -525,6 +486,45 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public I_M_ForecastLine getM_ForecastLine() throws Exception
|
||||||
|
{
|
||||||
|
Class<?> clazz = MTable.getClass(I_M_ForecastLine.Table_Name);
|
||||||
|
I_M_ForecastLine result = null;
|
||||||
|
try {
|
||||||
|
Constructor<?> constructor = null;
|
||||||
|
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||||
|
result = (I_M_ForecastLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_ForecastLine_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 e;
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Set Forecast Line.
|
||||||
|
@param M_ForecastLine_ID
|
||||||
|
Forecast Line
|
||||||
|
*/
|
||||||
|
public void setM_ForecastLine_ID (int M_ForecastLine_ID)
|
||||||
|
{
|
||||||
|
if (M_ForecastLine_ID < 1)
|
||||||
|
set_Value (COLUMNNAME_M_ForecastLine_ID, null);
|
||||||
|
else
|
||||||
|
set_Value (COLUMNNAME_M_ForecastLine_ID, Integer.valueOf(M_ForecastLine_ID));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Forecast Line.
|
||||||
|
@return Forecast Line
|
||||||
|
*/
|
||||||
|
public int getM_ForecastLine_ID ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_M_ForecastLine_ID);
|
||||||
|
if (ii == null)
|
||||||
|
return 0;
|
||||||
|
return ii.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
public I_M_Product getM_Product() throws Exception
|
public I_M_Product getM_Product() throws Exception
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(I_M_Product.Table_Name);
|
Class<?> clazz = MTable.getClass(I_M_Product.Table_Name);
|
||||||
|
@ -564,45 +564,6 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public I_M_RequisitionLine getM_RequisitionLine() throws Exception
|
|
||||||
{
|
|
||||||
Class<?> clazz = MTable.getClass(I_M_RequisitionLine.Table_Name);
|
|
||||||
I_M_RequisitionLine result = null;
|
|
||||||
try {
|
|
||||||
Constructor<?> constructor = null;
|
|
||||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
|
||||||
result = (I_M_RequisitionLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_RequisitionLine_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 e;
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Requisition Line.
|
|
||||||
@param M_RequisitionLine_ID
|
|
||||||
Material Requisition Line
|
|
||||||
*/
|
|
||||||
public void setM_RequisitionLine_ID (int M_RequisitionLine_ID)
|
|
||||||
{
|
|
||||||
if (M_RequisitionLine_ID < 1)
|
|
||||||
set_Value (COLUMNNAME_M_RequisitionLine_ID, null);
|
|
||||||
else
|
|
||||||
set_Value (COLUMNNAME_M_RequisitionLine_ID, Integer.valueOf(M_RequisitionLine_ID));
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Requisition Line.
|
|
||||||
@return Material Requisition Line
|
|
||||||
*/
|
|
||||||
public int getM_RequisitionLine_ID ()
|
|
||||||
{
|
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_M_RequisitionLine_ID);
|
|
||||||
if (ii == null)
|
|
||||||
return 0;
|
|
||||||
return ii.intValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
public I_M_Requisition getM_Requisition() throws Exception
|
public I_M_Requisition getM_Requisition() throws Exception
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(I_M_Requisition.Table_Name);
|
Class<?> clazz = MTable.getClass(I_M_Requisition.Table_Name);
|
||||||
|
@ -642,6 +603,45 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public I_M_RequisitionLine getM_RequisitionLine() throws Exception
|
||||||
|
{
|
||||||
|
Class<?> clazz = MTable.getClass(I_M_RequisitionLine.Table_Name);
|
||||||
|
I_M_RequisitionLine result = null;
|
||||||
|
try {
|
||||||
|
Constructor<?> constructor = null;
|
||||||
|
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||||
|
result = (I_M_RequisitionLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_RequisitionLine_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 e;
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Set Requisition Line.
|
||||||
|
@param M_RequisitionLine_ID
|
||||||
|
Material Requisition Line
|
||||||
|
*/
|
||||||
|
public void setM_RequisitionLine_ID (int M_RequisitionLine_ID)
|
||||||
|
{
|
||||||
|
if (M_RequisitionLine_ID < 1)
|
||||||
|
set_Value (COLUMNNAME_M_RequisitionLine_ID, null);
|
||||||
|
else
|
||||||
|
set_Value (COLUMNNAME_M_RequisitionLine_ID, Integer.valueOf(M_RequisitionLine_ID));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Requisition Line.
|
||||||
|
@return Material Requisition Line
|
||||||
|
*/
|
||||||
|
public int getM_RequisitionLine_ID ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_M_RequisitionLine_ID);
|
||||||
|
if (ii == null)
|
||||||
|
return 0;
|
||||||
|
return ii.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
public I_M_Warehouse getM_Warehouse() throws Exception
|
public I_M_Warehouse getM_Warehouse() throws Exception
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(I_M_Warehouse.Table_Name);
|
Class<?> clazz = MTable.getClass(I_M_Warehouse.Table_Name);
|
||||||
|
@ -711,6 +711,63 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
|
||||||
return new KeyNamePair(get_ID(), getName());
|
return new KeyNamePair(get_ID(), getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** OrderType AD_Reference_ID=53229 */
|
||||||
|
public static final int ORDERTYPE_AD_Reference_ID=53229;
|
||||||
|
/** Forecast = FCT */
|
||||||
|
public static final String ORDERTYPE_Forecast = "FCT";
|
||||||
|
/** Manufacturing Order = MOP */
|
||||||
|
public static final String ORDERTYPE_ManufacturingOrder = "MOP";
|
||||||
|
/** Purchase Order = POO */
|
||||||
|
public static final String ORDERTYPE_PurchaseOrder = "POO";
|
||||||
|
/** Material Requisition = POR */
|
||||||
|
public static final String ORDERTYPE_MaterialRequisition = "POR";
|
||||||
|
/** Sales Order = SOO */
|
||||||
|
public static final String ORDERTYPE_SalesOrder = "SOO";
|
||||||
|
/** Distribution Order = DOO */
|
||||||
|
public static final String ORDERTYPE_DistributionOrder = "DOO";
|
||||||
|
/** Set OrderType.
|
||||||
|
@param OrderType OrderType */
|
||||||
|
public void setOrderType (String OrderType)
|
||||||
|
{
|
||||||
|
|
||||||
|
if (OrderType == null || OrderType.equals("FCT") || OrderType.equals("MOP") || OrderType.equals("POO") || OrderType.equals("POR") || OrderType.equals("SOO") || OrderType.equals("DOO")); else throw new IllegalArgumentException ("OrderType Invalid value - " + OrderType + " - Reference_ID=53229 - FCT - MOP - POO - POR - SOO - DOO");
|
||||||
|
if (OrderType != null && OrderType.length() > 3)
|
||||||
|
{
|
||||||
|
log.warning("Length > 3 - truncated");
|
||||||
|
OrderType = OrderType.substring(0, 3);
|
||||||
|
}
|
||||||
|
set_Value (COLUMNNAME_OrderType, OrderType);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get OrderType.
|
||||||
|
@return OrderType */
|
||||||
|
public String getOrderType ()
|
||||||
|
{
|
||||||
|
return (String)get_Value(COLUMNNAME_OrderType);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Planner_ID AD_Reference_ID=286 */
|
||||||
|
public static final int PLANNER_ID_AD_Reference_ID=286;
|
||||||
|
/** Set Planner.
|
||||||
|
@param Planner_ID Planner */
|
||||||
|
public void setPlanner_ID (int Planner_ID)
|
||||||
|
{
|
||||||
|
if (Planner_ID < 1)
|
||||||
|
set_Value (COLUMNNAME_Planner_ID, null);
|
||||||
|
else
|
||||||
|
set_Value (COLUMNNAME_Planner_ID, Integer.valueOf(Planner_ID));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Planner.
|
||||||
|
@return Planner */
|
||||||
|
public int getPlanner_ID ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_Planner_ID);
|
||||||
|
if (ii == null)
|
||||||
|
return 0;
|
||||||
|
return ii.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
/** Set PP_MRP_ID.
|
/** Set PP_MRP_ID.
|
||||||
@param PP_MRP_ID PP_MRP_ID */
|
@param PP_MRP_ID PP_MRP_ID */
|
||||||
public void setPP_MRP_ID (int PP_MRP_ID)
|
public void setPP_MRP_ID (int PP_MRP_ID)
|
||||||
|
@ -802,28 +859,6 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Planner_ID AD_Reference_ID=286 */
|
|
||||||
public static final int PLANNER_ID_AD_Reference_ID=286;
|
|
||||||
/** Set Planner.
|
|
||||||
@param Planner_ID Planner */
|
|
||||||
public void setPlanner_ID (int Planner_ID)
|
|
||||||
{
|
|
||||||
if (Planner_ID < 1)
|
|
||||||
set_Value (COLUMNNAME_Planner_ID, null);
|
|
||||||
else
|
|
||||||
set_Value (COLUMNNAME_Planner_ID, Integer.valueOf(Planner_ID));
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Planner.
|
|
||||||
@return Planner */
|
|
||||||
public int getPlanner_ID ()
|
|
||||||
{
|
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_Planner_ID);
|
|
||||||
if (ii == null)
|
|
||||||
return 0;
|
|
||||||
return ii.intValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Priority.
|
/** Set Priority.
|
||||||
@param Priority
|
@param Priority
|
||||||
Indicates if this request is of a high, medium or low priority.
|
Indicates if this request is of a high, medium or low priority.
|
||||||
|
@ -906,38 +941,22 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set Type.
|
/** TypeMRP AD_Reference_ID=53230 */
|
||||||
@param Type
|
public static final int TYPEMRP_AD_Reference_ID=53230;
|
||||||
Type of Validation (SQL, Java Script, Java Language)
|
/** Demand = D */
|
||||||
*/
|
public static final String TYPEMRP_Demand = "D";
|
||||||
public void setType (String Type)
|
/** Supply = S */
|
||||||
{
|
public static final String TYPEMRP_Supply = "S";
|
||||||
|
|
||||||
if (Type != null && Type.length() > 1)
|
|
||||||
{
|
|
||||||
log.warning("Length > 1 - truncated");
|
|
||||||
Type = Type.substring(0, 1);
|
|
||||||
}
|
|
||||||
set_Value (COLUMNNAME_Type, Type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Type.
|
|
||||||
@return Type of Validation (SQL, Java Script, Java Language)
|
|
||||||
*/
|
|
||||||
public String getType ()
|
|
||||||
{
|
|
||||||
return (String)get_Value(COLUMNNAME_Type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set TypeMRP.
|
/** Set TypeMRP.
|
||||||
@param TypeMRP TypeMRP */
|
@param TypeMRP TypeMRP */
|
||||||
public void setTypeMRP (String TypeMRP)
|
public void setTypeMRP (String TypeMRP)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (TypeMRP != null && TypeMRP.length() > 3)
|
if (TypeMRP == null || TypeMRP.equals("D") || TypeMRP.equals("S")); else throw new IllegalArgumentException ("TypeMRP Invalid value - " + TypeMRP + " - Reference_ID=53230 - D - S");
|
||||||
|
if (TypeMRP != null && TypeMRP.length() > 1)
|
||||||
{
|
{
|
||||||
log.warning("Length > 3 - truncated");
|
log.warning("Length > 1 - truncated");
|
||||||
TypeMRP = TypeMRP.substring(0, 3);
|
TypeMRP = TypeMRP.substring(0, 1);
|
||||||
}
|
}
|
||||||
set_Value (COLUMNNAME_TypeMRP, TypeMRP);
|
set_Value (COLUMNNAME_TypeMRP, TypeMRP);
|
||||||
}
|
}
|
||||||
|
|
|
@ -62,10 +62,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
|
||||||
setIsApproved (false);
|
setIsApproved (false);
|
||||||
// N
|
// N
|
||||||
setIsPrinted (false);
|
setIsPrinted (false);
|
||||||
// N
|
|
||||||
setIsSOTrx (false);
|
|
||||||
// N
|
// N
|
||||||
setIsSelected (false);
|
setIsSelected (false);
|
||||||
|
// N
|
||||||
|
setIsSOTrx (false);
|
||||||
// N
|
// N
|
||||||
setLine (0);
|
setLine (0);
|
||||||
setM_Product_ID (0);
|
setM_Product_ID (0);
|
||||||
|
@ -278,6 +278,31 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** C_DocType_ID AD_Reference_ID=53233 */
|
||||||
|
public static final int C_DOCTYPE_ID_AD_Reference_ID=53233;
|
||||||
|
/** Set Document Type.
|
||||||
|
@param C_DocType_ID
|
||||||
|
Document type or rules
|
||||||
|
*/
|
||||||
|
public void setC_DocType_ID (int C_DocType_ID)
|
||||||
|
{
|
||||||
|
if (C_DocType_ID < 1)
|
||||||
|
set_Value (COLUMNNAME_C_DocType_ID, null);
|
||||||
|
else
|
||||||
|
set_Value (COLUMNNAME_C_DocType_ID, Integer.valueOf(C_DocType_ID));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Document Type.
|
||||||
|
@return Document type or rules
|
||||||
|
*/
|
||||||
|
public int getC_DocType_ID ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocType_ID);
|
||||||
|
if (ii == null)
|
||||||
|
return 0;
|
||||||
|
return ii.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
/** C_DocTypeTarget_ID AD_Reference_ID=53233 */
|
/** C_DocTypeTarget_ID AD_Reference_ID=53233 */
|
||||||
public static final int C_DOCTYPETARGET_ID_AD_Reference_ID=53233;
|
public static final int C_DOCTYPETARGET_ID_AD_Reference_ID=53233;
|
||||||
/** Set Target Document Type.
|
/** Set Target Document Type.
|
||||||
|
@ -302,29 +327,27 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** C_DocType_ID AD_Reference_ID=53233 */
|
/** Set Copy From.
|
||||||
public static final int C_DOCTYPE_ID_AD_Reference_ID=53233;
|
@param CopyFrom
|
||||||
/** Set Document Type.
|
Copy From Record
|
||||||
@param C_DocType_ID
|
|
||||||
Document type or rules
|
|
||||||
*/
|
*/
|
||||||
public void setC_DocType_ID (int C_DocType_ID)
|
public void setCopyFrom (String CopyFrom)
|
||||||
{
|
{
|
||||||
if (C_DocType_ID < 1)
|
|
||||||
set_Value (COLUMNNAME_C_DocType_ID, null);
|
if (CopyFrom != null && CopyFrom.length() > 1)
|
||||||
else
|
{
|
||||||
set_Value (COLUMNNAME_C_DocType_ID, Integer.valueOf(C_DocType_ID));
|
log.warning("Length > 1 - truncated");
|
||||||
|
CopyFrom = CopyFrom.substring(0, 1);
|
||||||
|
}
|
||||||
|
set_Value (COLUMNNAME_CopyFrom, CopyFrom);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Get Document Type.
|
/** Get Copy From.
|
||||||
@return Document type or rules
|
@return Copy From Record
|
||||||
*/
|
*/
|
||||||
public int getC_DocType_ID ()
|
public String getCopyFrom ()
|
||||||
{
|
{
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocType_ID);
|
return (String)get_Value(COLUMNNAME_CopyFrom);
|
||||||
if (ii == null)
|
|
||||||
return 0;
|
|
||||||
return ii.intValue();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public I_C_OrderLine getC_OrderLine() throws Exception
|
public I_C_OrderLine getC_OrderLine() throws Exception
|
||||||
|
@ -443,29 +466,6 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set Copy From.
|
|
||||||
@param CopyFrom
|
|
||||||
Copy From Record
|
|
||||||
*/
|
|
||||||
public void setCopyFrom (String CopyFrom)
|
|
||||||
{
|
|
||||||
|
|
||||||
if (CopyFrom != null && CopyFrom.length() > 1)
|
|
||||||
{
|
|
||||||
log.warning("Length > 1 - truncated");
|
|
||||||
CopyFrom = CopyFrom.substring(0, 1);
|
|
||||||
}
|
|
||||||
set_Value (COLUMNNAME_CopyFrom, CopyFrom);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Copy From.
|
|
||||||
@return Copy From Record
|
|
||||||
*/
|
|
||||||
public String getCopyFrom ()
|
|
||||||
{
|
|
||||||
return (String)get_Value(COLUMNNAME_CopyFrom);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set DateConfirm.
|
/** Set DateConfirm.
|
||||||
@param DateConfirm DateConfirm */
|
@param DateConfirm DateConfirm */
|
||||||
public void setDateConfirm (Timestamp DateConfirm)
|
public void setDateConfirm (Timestamp DateConfirm)
|
||||||
|
@ -862,6 +862,27 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Set Selected.
|
||||||
|
@param IsSelected Selected */
|
||||||
|
public void setIsSelected (boolean IsSelected)
|
||||||
|
{
|
||||||
|
set_Value (COLUMNNAME_IsSelected, Boolean.valueOf(IsSelected));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Selected.
|
||||||
|
@return Selected */
|
||||||
|
public boolean isSelected ()
|
||||||
|
{
|
||||||
|
Object oo = get_Value(COLUMNNAME_IsSelected);
|
||||||
|
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
|
||||||
|
@ -886,27 +907,6 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set Selected.
|
|
||||||
@param IsSelected Selected */
|
|
||||||
public void setIsSelected (boolean IsSelected)
|
|
||||||
{
|
|
||||||
set_Value (COLUMNNAME_IsSelected, Boolean.valueOf(IsSelected));
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Selected.
|
|
||||||
@return Selected */
|
|
||||||
public boolean isSelected ()
|
|
||||||
{
|
|
||||||
Object oo = get_Value(COLUMNNAME_IsSelected);
|
|
||||||
if (oo != null)
|
|
||||||
{
|
|
||||||
if (oo instanceof Boolean)
|
|
||||||
return ((Boolean)oo).booleanValue();
|
|
||||||
return "Y".equals(oo);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Line No.
|
/** Set Line No.
|
||||||
@param Line
|
@param Line
|
||||||
Unique line for this document
|
Unique line for this document
|
||||||
|
@ -1069,6 +1069,52 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
|
||||||
return (String)get_Value(COLUMNNAME_OrderType);
|
return (String)get_Value(COLUMNNAME_OrderType);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Planner_ID AD_Reference_ID=286 */
|
||||||
|
public static final int PLANNER_ID_AD_Reference_ID=286;
|
||||||
|
/** Set Planner.
|
||||||
|
@param Planner_ID Planner */
|
||||||
|
public void setPlanner_ID (int Planner_ID)
|
||||||
|
{
|
||||||
|
if (Planner_ID < 1)
|
||||||
|
set_Value (COLUMNNAME_Planner_ID, null);
|
||||||
|
else
|
||||||
|
set_Value (COLUMNNAME_Planner_ID, Integer.valueOf(Planner_ID));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Planner.
|
||||||
|
@return Planner */
|
||||||
|
public int getPlanner_ID ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_Planner_ID);
|
||||||
|
if (ii == null)
|
||||||
|
return 0;
|
||||||
|
return ii.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Set Posted.
|
||||||
|
@param Posted
|
||||||
|
Posting status
|
||||||
|
*/
|
||||||
|
public void setPosted (boolean Posted)
|
||||||
|
{
|
||||||
|
set_Value (COLUMNNAME_Posted, Boolean.valueOf(Posted));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Posted.
|
||||||
|
@return Posting status
|
||||||
|
*/
|
||||||
|
public boolean isPosted ()
|
||||||
|
{
|
||||||
|
Object oo = get_Value(COLUMNNAME_Posted);
|
||||||
|
if (oo != null)
|
||||||
|
{
|
||||||
|
if (oo instanceof Boolean)
|
||||||
|
return ((Boolean)oo).booleanValue();
|
||||||
|
return "Y".equals(oo);
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
/** Set PP_Order_ID.
|
/** Set PP_Order_ID.
|
||||||
@param PP_Order_ID PP_Order_ID */
|
@param PP_Order_ID PP_Order_ID */
|
||||||
public void setPP_Order_ID (int PP_Order_ID)
|
public void setPP_Order_ID (int PP_Order_ID)
|
||||||
|
@ -1126,52 +1172,6 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Planner_ID AD_Reference_ID=286 */
|
|
||||||
public static final int PLANNER_ID_AD_Reference_ID=286;
|
|
||||||
/** Set Planner.
|
|
||||||
@param Planner_ID Planner */
|
|
||||||
public void setPlanner_ID (int Planner_ID)
|
|
||||||
{
|
|
||||||
if (Planner_ID < 1)
|
|
||||||
set_Value (COLUMNNAME_Planner_ID, null);
|
|
||||||
else
|
|
||||||
set_Value (COLUMNNAME_Planner_ID, Integer.valueOf(Planner_ID));
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Planner.
|
|
||||||
@return Planner */
|
|
||||||
public int getPlanner_ID ()
|
|
||||||
{
|
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_Planner_ID);
|
|
||||||
if (ii == null)
|
|
||||||
return 0;
|
|
||||||
return ii.intValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Posted.
|
|
||||||
@param Posted
|
|
||||||
Posting status
|
|
||||||
*/
|
|
||||||
public void setPosted (boolean Posted)
|
|
||||||
{
|
|
||||||
set_Value (COLUMNNAME_Posted, Boolean.valueOf(Posted));
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Posted.
|
|
||||||
@return Posting status
|
|
||||||
*/
|
|
||||||
public boolean isPosted ()
|
|
||||||
{
|
|
||||||
Object oo = get_Value(COLUMNNAME_Posted);
|
|
||||||
if (oo != null)
|
|
||||||
{
|
|
||||||
if (oo instanceof Boolean)
|
|
||||||
return ((Boolean)oo).booleanValue();
|
|
||||||
return "Y".equals(oo);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** PriorityRule AD_Reference_ID=154 */
|
/** PriorityRule AD_Reference_ID=154 */
|
||||||
public static final int PRIORITYRULE_AD_Reference_ID=154;
|
public static final int PRIORITYRULE_AD_Reference_ID=154;
|
||||||
/** High = 3 */
|
/** High = 3 */
|
||||||
|
@ -1253,23 +1253,6 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set QtyBatchSize.
|
|
||||||
@param QtyBatchSize QtyBatchSize */
|
|
||||||
public void setQtyBatchSize (BigDecimal QtyBatchSize)
|
|
||||||
{
|
|
||||||
set_ValueNoCheck (COLUMNNAME_QtyBatchSize, QtyBatchSize);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get QtyBatchSize.
|
|
||||||
@return QtyBatchSize */
|
|
||||||
public BigDecimal getQtyBatchSize ()
|
|
||||||
{
|
|
||||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyBatchSize);
|
|
||||||
if (bd == null)
|
|
||||||
return Env.ZERO;
|
|
||||||
return bd;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set QtyBatchs.
|
/** Set QtyBatchs.
|
||||||
@param QtyBatchs QtyBatchs */
|
@param QtyBatchs QtyBatchs */
|
||||||
public void setQtyBatchs (BigDecimal QtyBatchs)
|
public void setQtyBatchs (BigDecimal QtyBatchs)
|
||||||
|
@ -1287,6 +1270,23 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
|
||||||
return bd;
|
return bd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Set QtyBatchSize.
|
||||||
|
@param QtyBatchSize QtyBatchSize */
|
||||||
|
public void setQtyBatchSize (BigDecimal QtyBatchSize)
|
||||||
|
{
|
||||||
|
set_ValueNoCheck (COLUMNNAME_QtyBatchSize, QtyBatchSize);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get QtyBatchSize.
|
||||||
|
@return QtyBatchSize */
|
||||||
|
public BigDecimal getQtyBatchSize ()
|
||||||
|
{
|
||||||
|
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyBatchSize);
|
||||||
|
if (bd == null)
|
||||||
|
return Env.ZERO;
|
||||||
|
return bd;
|
||||||
|
}
|
||||||
|
|
||||||
/** Set Delivered Quantity.
|
/** Set Delivered Quantity.
|
||||||
@param QtyDelivered
|
@param QtyDelivered
|
||||||
Delivered Quantity
|
Delivered Quantity
|
||||||
|
@ -1409,44 +1409,6 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
|
||||||
return bd;
|
return bd;
|
||||||
}
|
}
|
||||||
|
|
||||||
public I_S_Resource getS_Resource() throws Exception
|
|
||||||
{
|
|
||||||
Class<?> clazz = MTable.getClass(I_S_Resource.Table_Name);
|
|
||||||
I_S_Resource result = null;
|
|
||||||
try {
|
|
||||||
Constructor<?> constructor = null;
|
|
||||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
|
||||||
result = (I_S_Resource)constructor.newInstance(new Object[] {getCtx(), new Integer(getS_Resource_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 e;
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Resource.
|
|
||||||
@param S_Resource_ID
|
|
||||||
Resource
|
|
||||||
*/
|
|
||||||
public void setS_Resource_ID (int S_Resource_ID)
|
|
||||||
{
|
|
||||||
if (S_Resource_ID < 1)
|
|
||||||
throw new IllegalArgumentException ("S_Resource_ID is mandatory.");
|
|
||||||
set_ValueNoCheck (COLUMNNAME_S_Resource_ID, Integer.valueOf(S_Resource_ID));
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Resource.
|
|
||||||
@return Resource
|
|
||||||
*/
|
|
||||||
public int getS_Resource_ID ()
|
|
||||||
{
|
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_S_Resource_ID);
|
|
||||||
if (ii == null)
|
|
||||||
return 0;
|
|
||||||
return ii.intValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Schedule Type.
|
/** Set Schedule Type.
|
||||||
@param ScheduleType
|
@param ScheduleType
|
||||||
Type of schedule
|
Type of schedule
|
||||||
|
@ -1493,6 +1455,44 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
|
||||||
return (String)get_Value(COLUMNNAME_SerNo);
|
return (String)get_Value(COLUMNNAME_SerNo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public I_S_Resource getS_Resource() throws Exception
|
||||||
|
{
|
||||||
|
Class<?> clazz = MTable.getClass(I_S_Resource.Table_Name);
|
||||||
|
I_S_Resource result = null;
|
||||||
|
try {
|
||||||
|
Constructor<?> constructor = null;
|
||||||
|
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||||
|
result = (I_S_Resource)constructor.newInstance(new Object[] {getCtx(), new Integer(getS_Resource_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 e;
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Set Resource.
|
||||||
|
@param S_Resource_ID
|
||||||
|
Resource
|
||||||
|
*/
|
||||||
|
public void setS_Resource_ID (int S_Resource_ID)
|
||||||
|
{
|
||||||
|
if (S_Resource_ID < 1)
|
||||||
|
throw new IllegalArgumentException ("S_Resource_ID is mandatory.");
|
||||||
|
set_ValueNoCheck (COLUMNNAME_S_Resource_ID, Integer.valueOf(S_Resource_ID));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Resource.
|
||||||
|
@return Resource
|
||||||
|
*/
|
||||||
|
public int getS_Resource_ID ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_S_Resource_ID);
|
||||||
|
if (ii == null)
|
||||||
|
return 0;
|
||||||
|
return ii.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
/** User1_ID AD_Reference_ID=134 */
|
/** User1_ID AD_Reference_ID=134 */
|
||||||
public static final int USER1_ID_AD_Reference_ID=134;
|
public static final int USER1_ID_AD_Reference_ID=134;
|
||||||
/** Set User List 1.
|
/** Set User List 1.
|
||||||
|
|
|
@ -158,6 +158,29 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent
|
||||||
return (String)get_Value(COLUMNNAME_BOMUse);
|
return (String)get_Value(COLUMNNAME_BOMUse);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Set Copy From.
|
||||||
|
@param CopyFrom
|
||||||
|
Copy From Record
|
||||||
|
*/
|
||||||
|
public void setCopyFrom (String CopyFrom)
|
||||||
|
{
|
||||||
|
|
||||||
|
if (CopyFrom != null && CopyFrom.length() > 1)
|
||||||
|
{
|
||||||
|
log.warning("Length > 1 - truncated");
|
||||||
|
CopyFrom = CopyFrom.substring(0, 1);
|
||||||
|
}
|
||||||
|
set_Value (COLUMNNAME_CopyFrom, CopyFrom);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Copy From.
|
||||||
|
@return Copy From Record
|
||||||
|
*/
|
||||||
|
public String getCopyFrom ()
|
||||||
|
{
|
||||||
|
return (String)get_Value(COLUMNNAME_CopyFrom);
|
||||||
|
}
|
||||||
|
|
||||||
public I_C_UOM getC_UOM() throws Exception
|
public I_C_UOM getC_UOM() throws Exception
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(I_C_UOM.Table_Name);
|
Class<?> clazz = MTable.getClass(I_C_UOM.Table_Name);
|
||||||
|
@ -196,29 +219,6 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set Copy From.
|
|
||||||
@param CopyFrom
|
|
||||||
Copy From Record
|
|
||||||
*/
|
|
||||||
public void setCopyFrom (String CopyFrom)
|
|
||||||
{
|
|
||||||
|
|
||||||
if (CopyFrom != null && CopyFrom.length() > 1)
|
|
||||||
{
|
|
||||||
log.warning("Length > 1 - truncated");
|
|
||||||
CopyFrom = CopyFrom.substring(0, 1);
|
|
||||||
}
|
|
||||||
set_Value (COLUMNNAME_CopyFrom, CopyFrom);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Copy From.
|
|
||||||
@return Copy From Record
|
|
||||||
*/
|
|
||||||
public String getCopyFrom ()
|
|
||||||
{
|
|
||||||
return (String)get_Value(COLUMNNAME_CopyFrom);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Description.
|
/** Set Description.
|
||||||
@param Description
|
@param Description
|
||||||
Optional short description of the record
|
Optional short description of the record
|
||||||
|
|
|
@ -50,11 +50,11 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
|
||||||
// @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM PP_Order_BOMLine WHERE PP_Order_ID=@PP_Order_ID@
|
// @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM PP_Order_BOMLine WHERE PP_Order_ID=@PP_Order_ID@
|
||||||
setM_Product_ID (0);
|
setM_Product_ID (0);
|
||||||
setM_Warehouse_ID (0);
|
setM_Warehouse_ID (0);
|
||||||
setPP_Order_BOMLine_ID (0);
|
|
||||||
setPP_Order_BOM_ID (0);
|
setPP_Order_BOM_ID (0);
|
||||||
|
setPP_Order_BOMLine_ID (0);
|
||||||
setPP_Order_ID (0);
|
setPP_Order_ID (0);
|
||||||
setQtyBOM (Env.ZERO);
|
|
||||||
setQtyBatch (Env.ZERO);
|
setQtyBatch (Env.ZERO);
|
||||||
|
setQtyBOM (Env.ZERO);
|
||||||
setQtyDelivered (Env.ZERO);
|
setQtyDelivered (Env.ZERO);
|
||||||
setQtyPost (Env.ZERO);
|
setQtyPost (Env.ZERO);
|
||||||
setQtyReject (Env.ZERO);
|
setQtyReject (Env.ZERO);
|
||||||
|
@ -162,44 +162,6 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
|
||||||
return (String)get_Value(COLUMNNAME_BackflushGroup);
|
return (String)get_Value(COLUMNNAME_BackflushGroup);
|
||||||
}
|
}
|
||||||
|
|
||||||
public I_C_UOM getC_UOM() throws Exception
|
|
||||||
{
|
|
||||||
Class<?> clazz = MTable.getClass(I_C_UOM.Table_Name);
|
|
||||||
I_C_UOM result = null;
|
|
||||||
try {
|
|
||||||
Constructor<?> constructor = null;
|
|
||||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
|
||||||
result = (I_C_UOM)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_UOM_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 e;
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set UOM.
|
|
||||||
@param C_UOM_ID
|
|
||||||
Unit of Measure
|
|
||||||
*/
|
|
||||||
public void setC_UOM_ID (int C_UOM_ID)
|
|
||||||
{
|
|
||||||
if (C_UOM_ID < 1)
|
|
||||||
throw new IllegalArgumentException ("C_UOM_ID is mandatory.");
|
|
||||||
set_ValueNoCheck (COLUMNNAME_C_UOM_ID, Integer.valueOf(C_UOM_ID));
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get UOM.
|
|
||||||
@return Unit of Measure
|
|
||||||
*/
|
|
||||||
public int getC_UOM_ID ()
|
|
||||||
{
|
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_UOM_ID);
|
|
||||||
if (ii == null)
|
|
||||||
return 0;
|
|
||||||
return ii.intValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** ComponentType AD_Reference_ID=53225 */
|
/** ComponentType AD_Reference_ID=53225 */
|
||||||
public static final int COMPONENTTYPE_AD_Reference_ID=53225;
|
public static final int COMPONENTTYPE_AD_Reference_ID=53225;
|
||||||
/** By Product = BY */
|
/** By Product = BY */
|
||||||
|
@ -242,6 +204,44 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
|
||||||
return (String)get_Value(COLUMNNAME_ComponentType);
|
return (String)get_Value(COLUMNNAME_ComponentType);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public I_C_UOM getC_UOM() throws Exception
|
||||||
|
{
|
||||||
|
Class<?> clazz = MTable.getClass(I_C_UOM.Table_Name);
|
||||||
|
I_C_UOM result = null;
|
||||||
|
try {
|
||||||
|
Constructor<?> constructor = null;
|
||||||
|
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||||
|
result = (I_C_UOM)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_UOM_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 e;
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Set UOM.
|
||||||
|
@param C_UOM_ID
|
||||||
|
Unit of Measure
|
||||||
|
*/
|
||||||
|
public void setC_UOM_ID (int C_UOM_ID)
|
||||||
|
{
|
||||||
|
if (C_UOM_ID < 1)
|
||||||
|
throw new IllegalArgumentException ("C_UOM_ID is mandatory.");
|
||||||
|
set_ValueNoCheck (COLUMNNAME_C_UOM_ID, Integer.valueOf(C_UOM_ID));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get UOM.
|
||||||
|
@return Unit of Measure
|
||||||
|
*/
|
||||||
|
public int getC_UOM_ID ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_C_UOM_ID);
|
||||||
|
if (ii == null)
|
||||||
|
return 0;
|
||||||
|
return ii.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
/** Set Date Delivered.
|
/** Set Date Delivered.
|
||||||
@param DateDelivered
|
@param DateDelivered
|
||||||
Date when the product was delivered
|
Date when the product was delivered
|
||||||
|
@ -635,25 +635,6 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set PP_Order_BOMLine_ID.
|
|
||||||
@param PP_Order_BOMLine_ID PP_Order_BOMLine_ID */
|
|
||||||
public void setPP_Order_BOMLine_ID (int PP_Order_BOMLine_ID)
|
|
||||||
{
|
|
||||||
if (PP_Order_BOMLine_ID < 1)
|
|
||||||
throw new IllegalArgumentException ("PP_Order_BOMLine_ID is mandatory.");
|
|
||||||
set_ValueNoCheck (COLUMNNAME_PP_Order_BOMLine_ID, Integer.valueOf(PP_Order_BOMLine_ID));
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get PP_Order_BOMLine_ID.
|
|
||||||
@return PP_Order_BOMLine_ID */
|
|
||||||
public int getPP_Order_BOMLine_ID ()
|
|
||||||
{
|
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_BOMLine_ID);
|
|
||||||
if (ii == null)
|
|
||||||
return 0;
|
|
||||||
return ii.intValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.eevolution.model.I_PP_Order_BOM getPP_Order_BOM() throws Exception
|
public org.eevolution.model.I_PP_Order_BOM getPP_Order_BOM() throws Exception
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order_BOM.Table_Name);
|
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order_BOM.Table_Name);
|
||||||
|
@ -689,6 +670,25 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Set PP_Order_BOMLine_ID.
|
||||||
|
@param PP_Order_BOMLine_ID PP_Order_BOMLine_ID */
|
||||||
|
public void setPP_Order_BOMLine_ID (int PP_Order_BOMLine_ID)
|
||||||
|
{
|
||||||
|
if (PP_Order_BOMLine_ID < 1)
|
||||||
|
throw new IllegalArgumentException ("PP_Order_BOMLine_ID is mandatory.");
|
||||||
|
set_ValueNoCheck (COLUMNNAME_PP_Order_BOMLine_ID, Integer.valueOf(PP_Order_BOMLine_ID));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get PP_Order_BOMLine_ID.
|
||||||
|
@return PP_Order_BOMLine_ID */
|
||||||
|
public int getPP_Order_BOMLine_ID ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_BOMLine_ID);
|
||||||
|
if (ii == null)
|
||||||
|
return 0;
|
||||||
|
return ii.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
public org.eevolution.model.I_PP_Order getPP_Order() throws Exception
|
public org.eevolution.model.I_PP_Order getPP_Order() throws Exception
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order.Table_Name);
|
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order.Table_Name);
|
||||||
|
@ -724,28 +724,6 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set Quantity.
|
|
||||||
@param QtyBOM
|
|
||||||
Indicate the Quantity use in this BOM
|
|
||||||
*/
|
|
||||||
public void setQtyBOM (BigDecimal QtyBOM)
|
|
||||||
{
|
|
||||||
if (QtyBOM == null)
|
|
||||||
throw new IllegalArgumentException ("QtyBOM is mandatory.");
|
|
||||||
set_ValueNoCheck (COLUMNNAME_QtyBOM, QtyBOM);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Quantity.
|
|
||||||
@return Indicate the Quantity use in this BOM
|
|
||||||
*/
|
|
||||||
public BigDecimal getQtyBOM ()
|
|
||||||
{
|
|
||||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyBOM);
|
|
||||||
if (bd == null)
|
|
||||||
return Env.ZERO;
|
|
||||||
return bd;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Quantity %.
|
/** Set Quantity %.
|
||||||
@param QtyBatch
|
@param QtyBatch
|
||||||
Indicate the Quantity % use in this Formula
|
Indicate the Quantity % use in this Formula
|
||||||
|
@ -768,6 +746,28 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
|
||||||
return bd;
|
return bd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Set Quantity.
|
||||||
|
@param QtyBOM
|
||||||
|
Indicate the Quantity use in this BOM
|
||||||
|
*/
|
||||||
|
public void setQtyBOM (BigDecimal QtyBOM)
|
||||||
|
{
|
||||||
|
if (QtyBOM == null)
|
||||||
|
throw new IllegalArgumentException ("QtyBOM is mandatory.");
|
||||||
|
set_ValueNoCheck (COLUMNNAME_QtyBOM, QtyBOM);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Quantity.
|
||||||
|
@return Indicate the Quantity use in this BOM
|
||||||
|
*/
|
||||||
|
public BigDecimal getQtyBOM ()
|
||||||
|
{
|
||||||
|
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyBOM);
|
||||||
|
if (bd == null)
|
||||||
|
return Env.ZERO;
|
||||||
|
return bd;
|
||||||
|
}
|
||||||
|
|
||||||
/** Set Delivered Quantity.
|
/** Set Delivered Quantity.
|
||||||
@param QtyDelivered
|
@param QtyDelivered
|
||||||
Delivered Quantity
|
Delivered Quantity
|
||||||
|
|
|
@ -44,8 +44,8 @@ public class X_PP_Order_BOMLineMA extends PO implements I_PP_Order_BOMLineMA, I_
|
||||||
{
|
{
|
||||||
setM_AttributeSetInstance_ID (0);
|
setM_AttributeSetInstance_ID (0);
|
||||||
setMovementQty (Env.ZERO);
|
setMovementQty (Env.ZERO);
|
||||||
setPP_Order_BOMLineMA_ID (0);
|
|
||||||
setPP_Order_BOMLine_ID (0);
|
setPP_Order_BOMLine_ID (0);
|
||||||
|
setPP_Order_BOMLineMA_ID (0);
|
||||||
} */
|
} */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -121,25 +121,6 @@ public class X_PP_Order_BOMLineMA extends PO implements I_PP_Order_BOMLineMA, I_
|
||||||
return bd;
|
return bd;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set PP_Order_BOMLineMA_ID.
|
|
||||||
@param PP_Order_BOMLineMA_ID PP_Order_BOMLineMA_ID */
|
|
||||||
public void setPP_Order_BOMLineMA_ID (int PP_Order_BOMLineMA_ID)
|
|
||||||
{
|
|
||||||
if (PP_Order_BOMLineMA_ID < 1)
|
|
||||||
throw new IllegalArgumentException ("PP_Order_BOMLineMA_ID is mandatory.");
|
|
||||||
set_ValueNoCheck (COLUMNNAME_PP_Order_BOMLineMA_ID, Integer.valueOf(PP_Order_BOMLineMA_ID));
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get PP_Order_BOMLineMA_ID.
|
|
||||||
@return PP_Order_BOMLineMA_ID */
|
|
||||||
public int getPP_Order_BOMLineMA_ID ()
|
|
||||||
{
|
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_BOMLineMA_ID);
|
|
||||||
if (ii == null)
|
|
||||||
return 0;
|
|
||||||
return ii.intValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.eevolution.model.I_PP_Order_BOMLine getPP_Order_BOMLine() throws Exception
|
public org.eevolution.model.I_PP_Order_BOMLine getPP_Order_BOMLine() throws Exception
|
||||||
{
|
{
|
||||||
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);
|
||||||
|
@ -174,4 +155,23 @@ public class X_PP_Order_BOMLineMA extends PO implements I_PP_Order_BOMLineMA, I_
|
||||||
return 0;
|
return 0;
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Set PP_Order_BOMLineMA_ID.
|
||||||
|
@param PP_Order_BOMLineMA_ID PP_Order_BOMLineMA_ID */
|
||||||
|
public void setPP_Order_BOMLineMA_ID (int PP_Order_BOMLineMA_ID)
|
||||||
|
{
|
||||||
|
if (PP_Order_BOMLineMA_ID < 1)
|
||||||
|
throw new IllegalArgumentException ("PP_Order_BOMLineMA_ID is mandatory.");
|
||||||
|
set_ValueNoCheck (COLUMNNAME_PP_Order_BOMLineMA_ID, Integer.valueOf(PP_Order_BOMLineMA_ID));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get PP_Order_BOMLineMA_ID.
|
||||||
|
@return PP_Order_BOMLineMA_ID */
|
||||||
|
public int getPP_Order_BOMLineMA_ID ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_BOMLineMA_ID);
|
||||||
|
if (ii == null)
|
||||||
|
return 0;
|
||||||
|
return ii.intValue();
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -44,10 +44,10 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
|
||||||
super (ctx, PP_Order_Node_ID, trxName);
|
super (ctx, PP_Order_Node_ID, trxName);
|
||||||
/** if (PP_Order_Node_ID == 0)
|
/** if (PP_Order_Node_ID == 0)
|
||||||
{
|
{
|
||||||
setAD_WF_Node_ID (0);
|
|
||||||
setAD_Workflow_ID (0);
|
|
||||||
setAction (null);
|
setAction (null);
|
||||||
// N
|
// N
|
||||||
|
setAD_WF_Node_ID (0);
|
||||||
|
setAD_Workflow_ID (0);
|
||||||
setCost (Env.ZERO);
|
setCost (Env.ZERO);
|
||||||
setEntityType (null);
|
setEntityType (null);
|
||||||
// U
|
// U
|
||||||
|
@ -98,6 +98,56 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Action AD_Reference_ID=302 */
|
||||||
|
public static final int ACTION_AD_Reference_ID=302;
|
||||||
|
/** Wait (Sleep) = Z */
|
||||||
|
public static final String ACTION_WaitSleep = "Z";
|
||||||
|
/** User Choice = C */
|
||||||
|
public static final String ACTION_UserChoice = "C";
|
||||||
|
/** Sub Workflow = F */
|
||||||
|
public static final String ACTION_SubWorkflow = "F";
|
||||||
|
/** Set Variable = V */
|
||||||
|
public static final String ACTION_SetVariable = "V";
|
||||||
|
/** User Window = W */
|
||||||
|
public static final String ACTION_UserWindow = "W";
|
||||||
|
/** User Form = X */
|
||||||
|
public static final String ACTION_UserForm = "X";
|
||||||
|
/** Apps Task = T */
|
||||||
|
public static final String ACTION_AppsTask = "T";
|
||||||
|
/** Apps Report = R */
|
||||||
|
public static final String ACTION_AppsReport = "R";
|
||||||
|
/** Apps Process = P */
|
||||||
|
public static final String ACTION_AppsProcess = "P";
|
||||||
|
/** Document Action = D */
|
||||||
|
public static final String ACTION_DocumentAction = "D";
|
||||||
|
/** EMail = M */
|
||||||
|
public static final String ACTION_EMail = "M";
|
||||||
|
/** User Workbench = B */
|
||||||
|
public static final String ACTION_UserWorkbench = "B";
|
||||||
|
/** Set Action.
|
||||||
|
@param Action
|
||||||
|
Indicates the Action to be performed
|
||||||
|
*/
|
||||||
|
public void setAction (String Action)
|
||||||
|
{
|
||||||
|
if (Action == null) throw new IllegalArgumentException ("Action is mandatory");
|
||||||
|
if (Action.equals("Z") || Action.equals("C") || Action.equals("F") || Action.equals("V") || Action.equals("W") || Action.equals("X") || Action.equals("T") || Action.equals("R") || Action.equals("P") || Action.equals("D") || Action.equals("M") || Action.equals("B")); else throw new IllegalArgumentException ("Action Invalid value - " + Action + " - Reference_ID=302 - Z - C - F - V - W - X - T - R - P - D - M - B");
|
||||||
|
if (Action.length() > 1)
|
||||||
|
{
|
||||||
|
log.warning("Length > 1 - truncated");
|
||||||
|
Action = Action.substring(0, 1);
|
||||||
|
}
|
||||||
|
set_Value (COLUMNNAME_Action, Action);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Action.
|
||||||
|
@return Indicates the Action to be performed
|
||||||
|
*/
|
||||||
|
public String getAction ()
|
||||||
|
{
|
||||||
|
return (String)get_Value(COLUMNNAME_Action);
|
||||||
|
}
|
||||||
|
|
||||||
public I_AD_Column getAD_Column() throws Exception
|
public I_AD_Column getAD_Column() throws Exception
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(I_AD_Column.Table_Name);
|
Class<?> clazz = MTable.getClass(I_AD_Column.Table_Name);
|
||||||
|
@ -486,56 +536,6 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Action AD_Reference_ID=302 */
|
|
||||||
public static final int ACTION_AD_Reference_ID=302;
|
|
||||||
/** Wait (Sleep) = Z */
|
|
||||||
public static final String ACTION_WaitSleep = "Z";
|
|
||||||
/** User Choice = C */
|
|
||||||
public static final String ACTION_UserChoice = "C";
|
|
||||||
/** Sub Workflow = F */
|
|
||||||
public static final String ACTION_SubWorkflow = "F";
|
|
||||||
/** Set Variable = V */
|
|
||||||
public static final String ACTION_SetVariable = "V";
|
|
||||||
/** User Window = W */
|
|
||||||
public static final String ACTION_UserWindow = "W";
|
|
||||||
/** User Form = X */
|
|
||||||
public static final String ACTION_UserForm = "X";
|
|
||||||
/** Apps Task = T */
|
|
||||||
public static final String ACTION_AppsTask = "T";
|
|
||||||
/** Apps Report = R */
|
|
||||||
public static final String ACTION_AppsReport = "R";
|
|
||||||
/** Apps Process = P */
|
|
||||||
public static final String ACTION_AppsProcess = "P";
|
|
||||||
/** Document Action = D */
|
|
||||||
public static final String ACTION_DocumentAction = "D";
|
|
||||||
/** EMail = M */
|
|
||||||
public static final String ACTION_EMail = "M";
|
|
||||||
/** User Workbench = B */
|
|
||||||
public static final String ACTION_UserWorkbench = "B";
|
|
||||||
/** Set Action.
|
|
||||||
@param Action
|
|
||||||
Indicates the Action to be performed
|
|
||||||
*/
|
|
||||||
public void setAction (String Action)
|
|
||||||
{
|
|
||||||
if (Action == null) throw new IllegalArgumentException ("Action is mandatory");
|
|
||||||
if (Action.equals("Z") || Action.equals("C") || Action.equals("F") || Action.equals("V") || Action.equals("W") || Action.equals("X") || Action.equals("T") || Action.equals("R") || Action.equals("P") || Action.equals("D") || Action.equals("M") || Action.equals("B")); else throw new IllegalArgumentException ("Action Invalid value - " + Action + " - Reference_ID=302 - Z - C - F - V - W - X - T - R - P - D - M - B");
|
|
||||||
if (Action.length() > 1)
|
|
||||||
{
|
|
||||||
log.warning("Length > 1 - truncated");
|
|
||||||
Action = Action.substring(0, 1);
|
|
||||||
}
|
|
||||||
set_Value (COLUMNNAME_Action, Action);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Action.
|
|
||||||
@return Indicates the Action to be performed
|
|
||||||
*/
|
|
||||||
public String getAction ()
|
|
||||||
{
|
|
||||||
return (String)get_Value(COLUMNNAME_Action);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Attribute Name.
|
/** Set Attribute Name.
|
||||||
@param AttributeName
|
@param AttributeName
|
||||||
Name of the Attribute
|
Name of the Attribute
|
||||||
|
@ -1341,45 +1341,6 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public I_S_Resource getS_Resource() throws Exception
|
|
||||||
{
|
|
||||||
Class<?> clazz = MTable.getClass(I_S_Resource.Table_Name);
|
|
||||||
I_S_Resource result = null;
|
|
||||||
try {
|
|
||||||
Constructor<?> constructor = null;
|
|
||||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
|
||||||
result = (I_S_Resource)constructor.newInstance(new Object[] {getCtx(), new Integer(getS_Resource_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 e;
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Resource.
|
|
||||||
@param S_Resource_ID
|
|
||||||
Resource
|
|
||||||
*/
|
|
||||||
public void setS_Resource_ID (int S_Resource_ID)
|
|
||||||
{
|
|
||||||
if (S_Resource_ID < 1)
|
|
||||||
set_Value (COLUMNNAME_S_Resource_ID, null);
|
|
||||||
else
|
|
||||||
set_Value (COLUMNNAME_S_Resource_ID, Integer.valueOf(S_Resource_ID));
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Resource.
|
|
||||||
@return Resource
|
|
||||||
*/
|
|
||||||
public int getS_Resource_ID ()
|
|
||||||
{
|
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_S_Resource_ID);
|
|
||||||
if (ii == null)
|
|
||||||
return 0;
|
|
||||||
return ii.intValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Setup Time.
|
/** Set Setup Time.
|
||||||
@param SetupTime
|
@param SetupTime
|
||||||
Setup time before starting Production
|
Setup time before starting Production
|
||||||
|
@ -1464,6 +1425,45 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
|
||||||
return (String)get_Value(COLUMNNAME_SplitElement);
|
return (String)get_Value(COLUMNNAME_SplitElement);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public I_S_Resource getS_Resource() throws Exception
|
||||||
|
{
|
||||||
|
Class<?> clazz = MTable.getClass(I_S_Resource.Table_Name);
|
||||||
|
I_S_Resource result = null;
|
||||||
|
try {
|
||||||
|
Constructor<?> constructor = null;
|
||||||
|
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||||
|
result = (I_S_Resource)constructor.newInstance(new Object[] {getCtx(), new Integer(getS_Resource_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 e;
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Set Resource.
|
||||||
|
@param S_Resource_ID
|
||||||
|
Resource
|
||||||
|
*/
|
||||||
|
public void setS_Resource_ID (int S_Resource_ID)
|
||||||
|
{
|
||||||
|
if (S_Resource_ID < 1)
|
||||||
|
set_Value (COLUMNNAME_S_Resource_ID, null);
|
||||||
|
else
|
||||||
|
set_Value (COLUMNNAME_S_Resource_ID, Integer.valueOf(S_Resource_ID));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Resource.
|
||||||
|
@return Resource
|
||||||
|
*/
|
||||||
|
public int getS_Resource_ID ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_S_Resource_ID);
|
||||||
|
if (ii == null)
|
||||||
|
return 0;
|
||||||
|
return ii.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
/** StartMode AD_Reference_ID=303 */
|
/** StartMode AD_Reference_ID=303 */
|
||||||
public static final int STARTMODE_AD_Reference_ID=303;
|
public static final int STARTMODE_AD_Reference_ID=303;
|
||||||
/** Automatic = A */
|
/** Automatic = A */
|
||||||
|
|
|
@ -270,26 +270,6 @@ public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Pe
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set PP_Order_NodeNext_ID.
|
|
||||||
@param PP_Order_NodeNext_ID PP_Order_NodeNext_ID */
|
|
||||||
public void setPP_Order_NodeNext_ID (int PP_Order_NodeNext_ID)
|
|
||||||
{
|
|
||||||
if (PP_Order_NodeNext_ID < 1)
|
|
||||||
set_ValueNoCheck (COLUMNNAME_PP_Order_NodeNext_ID, null);
|
|
||||||
else
|
|
||||||
set_ValueNoCheck (COLUMNNAME_PP_Order_NodeNext_ID, Integer.valueOf(PP_Order_NodeNext_ID));
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get PP_Order_NodeNext_ID.
|
|
||||||
@return PP_Order_NodeNext_ID */
|
|
||||||
public int getPP_Order_NodeNext_ID ()
|
|
||||||
{
|
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_NodeNext_ID);
|
|
||||||
if (ii == null)
|
|
||||||
return 0;
|
|
||||||
return ii.intValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws Exception
|
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws Exception
|
||||||
{
|
{
|
||||||
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);
|
||||||
|
@ -325,6 +305,26 @@ public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Pe
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Set PP_Order_NodeNext_ID.
|
||||||
|
@param PP_Order_NodeNext_ID PP_Order_NodeNext_ID */
|
||||||
|
public void setPP_Order_NodeNext_ID (int PP_Order_NodeNext_ID)
|
||||||
|
{
|
||||||
|
if (PP_Order_NodeNext_ID < 1)
|
||||||
|
set_ValueNoCheck (COLUMNNAME_PP_Order_NodeNext_ID, null);
|
||||||
|
else
|
||||||
|
set_ValueNoCheck (COLUMNNAME_PP_Order_NodeNext_ID, Integer.valueOf(PP_Order_NodeNext_ID));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get PP_Order_NodeNext_ID.
|
||||||
|
@return PP_Order_NodeNext_ID */
|
||||||
|
public int getPP_Order_NodeNext_ID ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_NodeNext_ID);
|
||||||
|
if (ii == null)
|
||||||
|
return 0;
|
||||||
|
return ii.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
/** SeqNo AD_Reference_ID=110 */
|
/** SeqNo AD_Reference_ID=110 */
|
||||||
public static final int SEQNO_AD_Reference_ID=110;
|
public static final int SEQNO_AD_Reference_ID=110;
|
||||||
/** Set Sequence.
|
/** Set Sequence.
|
||||||
|
|
|
@ -44,8 +44,8 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
|
||||||
super (ctx, PP_Order_Workflow_ID, trxName);
|
super (ctx, PP_Order_Workflow_ID, trxName);
|
||||||
/** if (PP_Order_Workflow_ID == 0)
|
/** if (PP_Order_Workflow_ID == 0)
|
||||||
{
|
{
|
||||||
setAD_Workflow_ID (0);
|
|
||||||
setAccessLevel (null);
|
setAccessLevel (null);
|
||||||
|
setAD_Workflow_ID (0);
|
||||||
setAuthor (null);
|
setAuthor (null);
|
||||||
setCost (0);
|
setCost (0);
|
||||||
setDuration (0);
|
setDuration (0);
|
||||||
|
@ -95,6 +95,44 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** AccessLevel AD_Reference_ID=5 */
|
||||||
|
public static final int ACCESSLEVEL_AD_Reference_ID=5;
|
||||||
|
/** Organization = 1 */
|
||||||
|
public static final String ACCESSLEVEL_Organization = "1";
|
||||||
|
/** Client+Organization = 3 */
|
||||||
|
public static final String ACCESSLEVEL_ClientPlusOrganization = "3";
|
||||||
|
/** System only = 4 */
|
||||||
|
public static final String ACCESSLEVEL_SystemOnly = "4";
|
||||||
|
/** All = 7 */
|
||||||
|
public static final String ACCESSLEVEL_All = "7";
|
||||||
|
/** System+Client = 6 */
|
||||||
|
public static final String ACCESSLEVEL_SystemPlusClient = "6";
|
||||||
|
/** Client only = 2 */
|
||||||
|
public static final String ACCESSLEVEL_ClientOnly = "2";
|
||||||
|
/** Set Data Access Level.
|
||||||
|
@param AccessLevel
|
||||||
|
Access Level required
|
||||||
|
*/
|
||||||
|
public void setAccessLevel (String AccessLevel)
|
||||||
|
{
|
||||||
|
if (AccessLevel == null) throw new IllegalArgumentException ("AccessLevel is mandatory");
|
||||||
|
if (AccessLevel.equals("1") || AccessLevel.equals("3") || AccessLevel.equals("4") || AccessLevel.equals("7") || AccessLevel.equals("6") || AccessLevel.equals("2")); else throw new IllegalArgumentException ("AccessLevel Invalid value - " + AccessLevel + " - Reference_ID=5 - 1 - 3 - 4 - 7 - 6 - 2");
|
||||||
|
if (AccessLevel.length() > 1)
|
||||||
|
{
|
||||||
|
log.warning("Length > 1 - truncated");
|
||||||
|
AccessLevel = AccessLevel.substring(0, 1);
|
||||||
|
}
|
||||||
|
set_Value (COLUMNNAME_AccessLevel, AccessLevel);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Data Access Level.
|
||||||
|
@return Access Level required
|
||||||
|
*/
|
||||||
|
public String getAccessLevel ()
|
||||||
|
{
|
||||||
|
return (String)get_Value(COLUMNNAME_AccessLevel);
|
||||||
|
}
|
||||||
|
|
||||||
public I_AD_Table getAD_Table() throws Exception
|
public I_AD_Table getAD_Table() throws Exception
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(I_AD_Table.Table_Name);
|
Class<?> clazz = MTable.getClass(I_AD_Table.Table_Name);
|
||||||
|
@ -212,45 +250,6 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public I_AD_WorkflowProcessor getAD_WorkflowProcessor() throws Exception
|
|
||||||
{
|
|
||||||
Class<?> clazz = MTable.getClass(I_AD_WorkflowProcessor.Table_Name);
|
|
||||||
I_AD_WorkflowProcessor result = null;
|
|
||||||
try {
|
|
||||||
Constructor<?> constructor = null;
|
|
||||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
|
||||||
result = (I_AD_WorkflowProcessor)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_WorkflowProcessor_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 e;
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Workflow Processor.
|
|
||||||
@param AD_WorkflowProcessor_ID
|
|
||||||
Workflow Processor Server
|
|
||||||
*/
|
|
||||||
public void setAD_WorkflowProcessor_ID (int AD_WorkflowProcessor_ID)
|
|
||||||
{
|
|
||||||
if (AD_WorkflowProcessor_ID < 1)
|
|
||||||
set_Value (COLUMNNAME_AD_WorkflowProcessor_ID, null);
|
|
||||||
else
|
|
||||||
set_Value (COLUMNNAME_AD_WorkflowProcessor_ID, Integer.valueOf(AD_WorkflowProcessor_ID));
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Workflow Processor.
|
|
||||||
@return Workflow Processor Server
|
|
||||||
*/
|
|
||||||
public int getAD_WorkflowProcessor_ID ()
|
|
||||||
{
|
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_AD_WorkflowProcessor_ID);
|
|
||||||
if (ii == null)
|
|
||||||
return 0;
|
|
||||||
return ii.intValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
public I_AD_Workflow getAD_Workflow() throws Exception
|
public I_AD_Workflow getAD_Workflow() throws Exception
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(I_AD_Workflow.Table_Name);
|
Class<?> clazz = MTable.getClass(I_AD_Workflow.Table_Name);
|
||||||
|
@ -289,42 +288,43 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** AccessLevel AD_Reference_ID=5 */
|
public I_AD_WorkflowProcessor getAD_WorkflowProcessor() throws Exception
|
||||||
public static final int ACCESSLEVEL_AD_Reference_ID=5;
|
{
|
||||||
/** Organization = 1 */
|
Class<?> clazz = MTable.getClass(I_AD_WorkflowProcessor.Table_Name);
|
||||||
public static final String ACCESSLEVEL_Organization = "1";
|
I_AD_WorkflowProcessor result = null;
|
||||||
/** Client+Organization = 3 */
|
try {
|
||||||
public static final String ACCESSLEVEL_ClientPlusOrganization = "3";
|
Constructor<?> constructor = null;
|
||||||
/** System only = 4 */
|
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||||
public static final String ACCESSLEVEL_SystemOnly = "4";
|
result = (I_AD_WorkflowProcessor)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_WorkflowProcessor_ID()), get_TrxName()});
|
||||||
/** All = 7 */
|
} catch (Exception e) {
|
||||||
public static final String ACCESSLEVEL_All = "7";
|
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||||
/** System+Client = 6 */
|
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||||
public static final String ACCESSLEVEL_SystemPlusClient = "6";
|
throw e;
|
||||||
/** Client only = 2 */
|
}
|
||||||
public static final String ACCESSLEVEL_ClientOnly = "2";
|
return result;
|
||||||
/** Set Data Access Level.
|
}
|
||||||
@param AccessLevel
|
|
||||||
Access Level required
|
/** Set Workflow Processor.
|
||||||
|
@param AD_WorkflowProcessor_ID
|
||||||
|
Workflow Processor Server
|
||||||
*/
|
*/
|
||||||
public void setAccessLevel (String AccessLevel)
|
public void setAD_WorkflowProcessor_ID (int AD_WorkflowProcessor_ID)
|
||||||
{
|
{
|
||||||
if (AccessLevel == null) throw new IllegalArgumentException ("AccessLevel is mandatory");
|
if (AD_WorkflowProcessor_ID < 1)
|
||||||
if (AccessLevel.equals("1") || AccessLevel.equals("3") || AccessLevel.equals("4") || AccessLevel.equals("7") || AccessLevel.equals("6") || AccessLevel.equals("2")); else throw new IllegalArgumentException ("AccessLevel Invalid value - " + AccessLevel + " - Reference_ID=5 - 1 - 3 - 4 - 7 - 6 - 2");
|
set_Value (COLUMNNAME_AD_WorkflowProcessor_ID, null);
|
||||||
if (AccessLevel.length() > 1)
|
else
|
||||||
{
|
set_Value (COLUMNNAME_AD_WorkflowProcessor_ID, Integer.valueOf(AD_WorkflowProcessor_ID));
|
||||||
log.warning("Length > 1 - truncated");
|
|
||||||
AccessLevel = AccessLevel.substring(0, 1);
|
|
||||||
}
|
|
||||||
set_Value (COLUMNNAME_AccessLevel, AccessLevel);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Get Data Access Level.
|
/** Get Workflow Processor.
|
||||||
@return Access Level required
|
@return Workflow Processor Server
|
||||||
*/
|
*/
|
||||||
public String getAccessLevel ()
|
public int getAD_WorkflowProcessor_ID ()
|
||||||
{
|
{
|
||||||
return (String)get_Value(COLUMNNAME_AccessLevel);
|
Integer ii = (Integer)get_Value(COLUMNNAME_AD_WorkflowProcessor_ID);
|
||||||
|
if (ii == null)
|
||||||
|
return 0;
|
||||||
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set Author.
|
/** Set Author.
|
||||||
|
@ -831,6 +831,26 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Set Setup Time.
|
||||||
|
@param SetupTime
|
||||||
|
Setup time before starting Production
|
||||||
|
*/
|
||||||
|
public void setSetupTime (int SetupTime)
|
||||||
|
{
|
||||||
|
set_Value (COLUMNNAME_SetupTime, Integer.valueOf(SetupTime));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Setup Time.
|
||||||
|
@return Setup time before starting Production
|
||||||
|
*/
|
||||||
|
public int getSetupTime ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_SetupTime);
|
||||||
|
if (ii == null)
|
||||||
|
return 0;
|
||||||
|
return ii.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
public I_S_Resource getS_Resource() throws Exception
|
public I_S_Resource getS_Resource() throws Exception
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(I_S_Resource.Table_Name);
|
Class<?> clazz = MTable.getClass(I_S_Resource.Table_Name);
|
||||||
|
@ -870,24 +890,26 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set Setup Time.
|
/** Set Validate Workflow.
|
||||||
@param SetupTime
|
@param ValidateWorkflow Validate Workflow */
|
||||||
Setup time before starting Production
|
public void setValidateWorkflow (String ValidateWorkflow)
|
||||||
*/
|
|
||||||
public void setSetupTime (int SetupTime)
|
|
||||||
{
|
{
|
||||||
set_Value (COLUMNNAME_SetupTime, Integer.valueOf(SetupTime));
|
if (ValidateWorkflow == null)
|
||||||
|
throw new IllegalArgumentException ("ValidateWorkflow is mandatory.");
|
||||||
|
|
||||||
|
if (ValidateWorkflow.length() > 1)
|
||||||
|
{
|
||||||
|
log.warning("Length > 1 - truncated");
|
||||||
|
ValidateWorkflow = ValidateWorkflow.substring(0, 1);
|
||||||
|
}
|
||||||
|
set_Value (COLUMNNAME_ValidateWorkflow, ValidateWorkflow);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Get Setup Time.
|
/** Get Validate Workflow.
|
||||||
@return Setup time before starting Production
|
@return Validate Workflow */
|
||||||
*/
|
public String getValidateWorkflow ()
|
||||||
public int getSetupTime ()
|
|
||||||
{
|
{
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_SetupTime);
|
return (String)get_Value(COLUMNNAME_ValidateWorkflow);
|
||||||
if (ii == null)
|
|
||||||
return 0;
|
|
||||||
return ii.intValue();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set Valid from.
|
/** Set Valid from.
|
||||||
|
@ -924,28 +946,6 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
|
||||||
return (Timestamp)get_Value(COLUMNNAME_ValidTo);
|
return (Timestamp)get_Value(COLUMNNAME_ValidTo);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set Validate Workflow.
|
|
||||||
@param ValidateWorkflow Validate Workflow */
|
|
||||||
public void setValidateWorkflow (String ValidateWorkflow)
|
|
||||||
{
|
|
||||||
if (ValidateWorkflow == null)
|
|
||||||
throw new IllegalArgumentException ("ValidateWorkflow is mandatory.");
|
|
||||||
|
|
||||||
if (ValidateWorkflow.length() > 1)
|
|
||||||
{
|
|
||||||
log.warning("Length > 1 - truncated");
|
|
||||||
ValidateWorkflow = ValidateWorkflow.substring(0, 1);
|
|
||||||
}
|
|
||||||
set_Value (COLUMNNAME_ValidateWorkflow, ValidateWorkflow);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Validate Workflow.
|
|
||||||
@return Validate Workflow */
|
|
||||||
public String getValidateWorkflow ()
|
|
||||||
{
|
|
||||||
return (String)get_Value(COLUMNNAME_ValidateWorkflow);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Search Key.
|
/** Set Search Key.
|
||||||
@param Value
|
@param Value
|
||||||
Search key for the record in the format required - must be unique
|
Search key for the record in the format required - must be unique
|
||||||
|
|
|
@ -18,11 +18,13 @@
|
||||||
package org.eevolution.model;
|
package org.eevolution.model;
|
||||||
|
|
||||||
import java.lang.reflect.Constructor;
|
import java.lang.reflect.Constructor;
|
||||||
|
import java.math.BigDecimal;
|
||||||
import java.sql.ResultSet;
|
import java.sql.ResultSet;
|
||||||
import java.sql.Timestamp;
|
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.model.*;
|
import org.compiere.model.*;
|
||||||
|
import org.compiere.util.Env;
|
||||||
import org.compiere.util.KeyNamePair;
|
import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Model for PP_Product_BOM
|
/** Generated Model for PP_Product_BOM
|
||||||
|
@ -79,6 +81,25 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Set Amount.
|
||||||
|
@param Amt
|
||||||
|
Amount
|
||||||
|
*/
|
||||||
|
public void setAmt (BigDecimal Amt)
|
||||||
|
{
|
||||||
|
throw new IllegalArgumentException ("Amt is virtual column"); }
|
||||||
|
|
||||||
|
/** Get Amount.
|
||||||
|
@return Amount
|
||||||
|
*/
|
||||||
|
public BigDecimal getAmt ()
|
||||||
|
{
|
||||||
|
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Amt);
|
||||||
|
if (bd == null)
|
||||||
|
return Env.ZERO;
|
||||||
|
return bd;
|
||||||
|
}
|
||||||
|
|
||||||
/** BOMType AD_Reference_ID=347 */
|
/** BOMType AD_Reference_ID=347 */
|
||||||
public static final int BOMTYPE_AD_Reference_ID=347;
|
public static final int BOMTYPE_AD_Reference_ID=347;
|
||||||
/** Current Active = A */
|
/** Current Active = A */
|
||||||
|
@ -157,6 +178,49 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste
|
||||||
return (String)get_Value(COLUMNNAME_BOMUse);
|
return (String)get_Value(COLUMNNAME_BOMUse);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Set Copy From.
|
||||||
|
@param CopyFrom
|
||||||
|
Copy From Record
|
||||||
|
*/
|
||||||
|
public void setCopyFrom (String CopyFrom)
|
||||||
|
{
|
||||||
|
|
||||||
|
if (CopyFrom != null && CopyFrom.length() > 1)
|
||||||
|
{
|
||||||
|
log.warning("Length > 1 - truncated");
|
||||||
|
CopyFrom = CopyFrom.substring(0, 1);
|
||||||
|
}
|
||||||
|
set_Value (COLUMNNAME_CopyFrom, CopyFrom);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Copy From.
|
||||||
|
@return Copy From Record
|
||||||
|
*/
|
||||||
|
public String getCopyFrom ()
|
||||||
|
{
|
||||||
|
return (String)get_Value(COLUMNNAME_CopyFrom);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Set Cost.
|
||||||
|
@param Cost
|
||||||
|
Cost information
|
||||||
|
*/
|
||||||
|
public void setCost (BigDecimal Cost)
|
||||||
|
{
|
||||||
|
set_Value (COLUMNNAME_Cost, Cost);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Cost.
|
||||||
|
@return Cost information
|
||||||
|
*/
|
||||||
|
public BigDecimal getCost ()
|
||||||
|
{
|
||||||
|
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Cost);
|
||||||
|
if (bd == null)
|
||||||
|
return Env.ZERO;
|
||||||
|
return bd;
|
||||||
|
}
|
||||||
|
|
||||||
public I_C_UOM getC_UOM() throws Exception
|
public I_C_UOM getC_UOM() throws Exception
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(I_C_UOM.Table_Name);
|
Class<?> clazz = MTable.getClass(I_C_UOM.Table_Name);
|
||||||
|
@ -196,29 +260,6 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set Copy From.
|
|
||||||
@param CopyFrom
|
|
||||||
Copy From Record
|
|
||||||
*/
|
|
||||||
public void setCopyFrom (String CopyFrom)
|
|
||||||
{
|
|
||||||
|
|
||||||
if (CopyFrom != null && CopyFrom.length() > 1)
|
|
||||||
{
|
|
||||||
log.warning("Length > 1 - truncated");
|
|
||||||
CopyFrom = CopyFrom.substring(0, 1);
|
|
||||||
}
|
|
||||||
set_Value (COLUMNNAME_CopyFrom, CopyFrom);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get Copy From.
|
|
||||||
@return Copy From Record
|
|
||||||
*/
|
|
||||||
public String getCopyFrom ()
|
|
||||||
{
|
|
||||||
return (String)get_Value(COLUMNNAME_CopyFrom);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set Description.
|
/** Set Description.
|
||||||
@param Description
|
@param Description
|
||||||
Optional short description of the record
|
Optional short description of the record
|
||||||
|
@ -288,6 +329,25 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste
|
||||||
return (String)get_Value(COLUMNNAME_Help);
|
return (String)get_Value(COLUMNNAME_Help);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Set Margin %.
|
||||||
|
@param Margin
|
||||||
|
Margin for a product as a percentage
|
||||||
|
*/
|
||||||
|
public void setMargin (BigDecimal Margin)
|
||||||
|
{
|
||||||
|
throw new IllegalArgumentException ("Margin is virtual column"); }
|
||||||
|
|
||||||
|
/** Get Margin %.
|
||||||
|
@return Margin for a product as a percentage
|
||||||
|
*/
|
||||||
|
public BigDecimal getMargin ()
|
||||||
|
{
|
||||||
|
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Margin);
|
||||||
|
if (bd == null)
|
||||||
|
return Env.ZERO;
|
||||||
|
return bd;
|
||||||
|
}
|
||||||
|
|
||||||
/** Set Attribute Set Instance.
|
/** Set Attribute Set Instance.
|
||||||
@param M_AttributeSetInstance_ID
|
@param M_AttributeSetInstance_ID
|
||||||
Product Attribute Set Instance
|
Product Attribute Set Instance
|
||||||
|
@ -350,6 +410,45 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public I_M_PriceList_Version getM_PriceList_Version() throws Exception
|
||||||
|
{
|
||||||
|
Class<?> clazz = MTable.getClass(I_M_PriceList_Version.Table_Name);
|
||||||
|
I_M_PriceList_Version result = null;
|
||||||
|
try {
|
||||||
|
Constructor<?> constructor = null;
|
||||||
|
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||||
|
result = (I_M_PriceList_Version)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_PriceList_Version_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 e;
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Set Price List Version.
|
||||||
|
@param M_PriceList_Version_ID
|
||||||
|
Identifies a unique instance of a Price List
|
||||||
|
*/
|
||||||
|
public void setM_PriceList_Version_ID (int M_PriceList_Version_ID)
|
||||||
|
{
|
||||||
|
if (M_PriceList_Version_ID < 1)
|
||||||
|
set_ValueNoCheck (COLUMNNAME_M_PriceList_Version_ID, null);
|
||||||
|
else
|
||||||
|
set_ValueNoCheck (COLUMNNAME_M_PriceList_Version_ID, Integer.valueOf(M_PriceList_Version_ID));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Price List Version.
|
||||||
|
@return Identifies a unique instance of a Price List
|
||||||
|
*/
|
||||||
|
public int getM_PriceList_Version_ID ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_M_PriceList_Version_ID);
|
||||||
|
if (ii == null)
|
||||||
|
return 0;
|
||||||
|
return ii.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
public I_M_Product getM_Product() throws Exception
|
public I_M_Product getM_Product() throws Exception
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(I_M_Product.Table_Name);
|
Class<?> clazz = MTable.getClass(I_M_Product.Table_Name);
|
||||||
|
@ -435,6 +534,26 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Set Price.
|
||||||
|
@param Price
|
||||||
|
Price
|
||||||
|
*/
|
||||||
|
public void setPrice (BigDecimal Price)
|
||||||
|
{
|
||||||
|
set_Value (COLUMNNAME_Price, Price);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Price.
|
||||||
|
@return Price
|
||||||
|
*/
|
||||||
|
public BigDecimal getPrice ()
|
||||||
|
{
|
||||||
|
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Price);
|
||||||
|
if (bd == null)
|
||||||
|
return Env.ZERO;
|
||||||
|
return bd;
|
||||||
|
}
|
||||||
|
|
||||||
/** Set Process Now.
|
/** Set Process Now.
|
||||||
@param Processing Process Now */
|
@param Processing Process Now */
|
||||||
public void setProcessing (boolean Processing)
|
public void setProcessing (boolean Processing)
|
||||||
|
|
|
@ -48,8 +48,8 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_
|
||||||
setLine (0);
|
setLine (0);
|
||||||
// @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM PP_Product_BOMLine WHERE PP_Product_BOM_ID=@PP_Product_BOM_ID@
|
// @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM PP_Product_BOMLine WHERE PP_Product_BOM_ID=@PP_Product_BOM_ID@
|
||||||
setM_Product_ID (0);
|
setM_Product_ID (0);
|
||||||
setPP_Product_BOMLine_ID (0);
|
|
||||||
setPP_Product_BOM_ID (0);
|
setPP_Product_BOM_ID (0);
|
||||||
|
setPP_Product_BOMLine_ID (0);
|
||||||
setValidFrom (new Timestamp(System.currentTimeMillis()));
|
setValidFrom (new Timestamp(System.currentTimeMillis()));
|
||||||
// @#Date@
|
// @#Date@
|
||||||
} */
|
} */
|
||||||
|
@ -126,45 +126,6 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_
|
||||||
return (String)get_Value(COLUMNNAME_BackflushGroup);
|
return (String)get_Value(COLUMNNAME_BackflushGroup);
|
||||||
}
|
}
|
||||||
|
|
||||||
public I_C_UOM getC_UOM() throws Exception
|
|
||||||
{
|
|
||||||
Class<?> clazz = MTable.getClass(I_C_UOM.Table_Name);
|
|
||||||
I_C_UOM result = null;
|
|
||||||
try {
|
|
||||||
Constructor<?> constructor = null;
|
|
||||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
|
||||||
result = (I_C_UOM)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_UOM_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 e;
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set UOM.
|
|
||||||
@param C_UOM_ID
|
|
||||||
Unit of Measure
|
|
||||||
*/
|
|
||||||
public void setC_UOM_ID (int C_UOM_ID)
|
|
||||||
{
|
|
||||||
if (C_UOM_ID < 1)
|
|
||||||
set_Value (COLUMNNAME_C_UOM_ID, null);
|
|
||||||
else
|
|
||||||
set_Value (COLUMNNAME_C_UOM_ID, Integer.valueOf(C_UOM_ID));
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get UOM.
|
|
||||||
@return Unit of Measure
|
|
||||||
*/
|
|
||||||
public int getC_UOM_ID ()
|
|
||||||
{
|
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_UOM_ID);
|
|
||||||
if (ii == null)
|
|
||||||
return 0;
|
|
||||||
return ii.intValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** ComponentType AD_Reference_ID=53225 */
|
/** ComponentType AD_Reference_ID=53225 */
|
||||||
public static final int COMPONENTTYPE_AD_Reference_ID=53225;
|
public static final int COMPONENTTYPE_AD_Reference_ID=53225;
|
||||||
/** By Product = BY */
|
/** By Product = BY */
|
||||||
|
@ -207,6 +168,45 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_
|
||||||
return (String)get_Value(COLUMNNAME_ComponentType);
|
return (String)get_Value(COLUMNNAME_ComponentType);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public I_C_UOM getC_UOM() throws Exception
|
||||||
|
{
|
||||||
|
Class<?> clazz = MTable.getClass(I_C_UOM.Table_Name);
|
||||||
|
I_C_UOM result = null;
|
||||||
|
try {
|
||||||
|
Constructor<?> constructor = null;
|
||||||
|
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||||
|
result = (I_C_UOM)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_UOM_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 e;
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Set UOM.
|
||||||
|
@param C_UOM_ID
|
||||||
|
Unit of Measure
|
||||||
|
*/
|
||||||
|
public void setC_UOM_ID (int C_UOM_ID)
|
||||||
|
{
|
||||||
|
if (C_UOM_ID < 1)
|
||||||
|
set_Value (COLUMNNAME_C_UOM_ID, null);
|
||||||
|
else
|
||||||
|
set_Value (COLUMNNAME_C_UOM_ID, Integer.valueOf(C_UOM_ID));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get UOM.
|
||||||
|
@return Unit of Measure
|
||||||
|
*/
|
||||||
|
public int getC_UOM_ID ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_C_UOM_ID);
|
||||||
|
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
|
||||||
|
@ -514,28 +514,6 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set BOM Line.
|
|
||||||
@param PP_Product_BOMLine_ID
|
|
||||||
BOM Line
|
|
||||||
*/
|
|
||||||
public void setPP_Product_BOMLine_ID (int PP_Product_BOMLine_ID)
|
|
||||||
{
|
|
||||||
if (PP_Product_BOMLine_ID < 1)
|
|
||||||
throw new IllegalArgumentException ("PP_Product_BOMLine_ID is mandatory.");
|
|
||||||
set_ValueNoCheck (COLUMNNAME_PP_Product_BOMLine_ID, Integer.valueOf(PP_Product_BOMLine_ID));
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get BOM Line.
|
|
||||||
@return BOM Line
|
|
||||||
*/
|
|
||||||
public int getPP_Product_BOMLine_ID ()
|
|
||||||
{
|
|
||||||
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Product_BOMLine_ID);
|
|
||||||
if (ii == null)
|
|
||||||
return 0;
|
|
||||||
return ii.intValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws Exception
|
public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws Exception
|
||||||
{
|
{
|
||||||
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Product_BOM.Table_Name);
|
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Product_BOM.Table_Name);
|
||||||
|
@ -574,24 +552,26 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set Quantity.
|
/** Set BOM Line.
|
||||||
@param QtyBOM
|
@param PP_Product_BOMLine_ID
|
||||||
Indicate the Quantity use in this BOM
|
BOM Line
|
||||||
*/
|
*/
|
||||||
public void setQtyBOM (BigDecimal QtyBOM)
|
public void setPP_Product_BOMLine_ID (int PP_Product_BOMLine_ID)
|
||||||
{
|
{
|
||||||
set_Value (COLUMNNAME_QtyBOM, QtyBOM);
|
if (PP_Product_BOMLine_ID < 1)
|
||||||
|
throw new IllegalArgumentException ("PP_Product_BOMLine_ID is mandatory.");
|
||||||
|
set_ValueNoCheck (COLUMNNAME_PP_Product_BOMLine_ID, Integer.valueOf(PP_Product_BOMLine_ID));
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Get Quantity.
|
/** Get BOM Line.
|
||||||
@return Indicate the Quantity use in this BOM
|
@return BOM Line
|
||||||
*/
|
*/
|
||||||
public BigDecimal getQtyBOM ()
|
public int getPP_Product_BOMLine_ID ()
|
||||||
{
|
{
|
||||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyBOM);
|
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Product_BOMLine_ID);
|
||||||
if (bd == null)
|
if (ii == null)
|
||||||
return Env.ZERO;
|
return 0;
|
||||||
return bd;
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set Quantity %.
|
/** Set Quantity %.
|
||||||
|
@ -614,6 +594,26 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_
|
||||||
return bd;
|
return bd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Set Quantity.
|
||||||
|
@param QtyBOM
|
||||||
|
Indicate the Quantity use in this BOM
|
||||||
|
*/
|
||||||
|
public void setQtyBOM (BigDecimal QtyBOM)
|
||||||
|
{
|
||||||
|
set_Value (COLUMNNAME_QtyBOM, QtyBOM);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Quantity.
|
||||||
|
@return Indicate the Quantity use in this BOM
|
||||||
|
*/
|
||||||
|
public BigDecimal getQtyBOM ()
|
||||||
|
{
|
||||||
|
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyBOM);
|
||||||
|
if (bd == null)
|
||||||
|
return Env.ZERO;
|
||||||
|
return bd;
|
||||||
|
}
|
||||||
|
|
||||||
/** Set Scrap.
|
/** Set Scrap.
|
||||||
@param Scrap
|
@param Scrap
|
||||||
Indicate the Scrap Quantity that is generate in a manufacturing process
|
Indicate the Scrap Quantity that is generate in a manufacturing process
|
||||||
|
@ -669,4 +669,20 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_
|
||||||
{
|
{
|
||||||
return (Timestamp)get_Value(COLUMNNAME_ValidTo);
|
return (Timestamp)get_Value(COLUMNNAME_ValidTo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Set Search Key.
|
||||||
|
@param Value
|
||||||
|
Search key for the record in the format required - must be unique
|
||||||
|
*/
|
||||||
|
public void setValue (String Value)
|
||||||
|
{
|
||||||
|
throw new IllegalArgumentException ("Value is virtual column"); }
|
||||||
|
|
||||||
|
/** Get Search Key.
|
||||||
|
@return Search key for the record in the format required - must be unique
|
||||||
|
*/
|
||||||
|
public String getValue ()
|
||||||
|
{
|
||||||
|
return (String)get_Value(COLUMNNAME_Value);
|
||||||
|
}
|
||||||
}
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue