Update class model to Libero

This commit is contained in:
vpj-cd 2009-06-11 17:27:36 +00:00
parent 97eb2edc10
commit 0c592d25d0
58 changed files with 7270 additions and 826 deletions

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -45,6 +42,14 @@ public interface I_DD_NetworkDistribution
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -71,6 +76,22 @@ public interface I_DD_NetworkDistribution
*/
public String getCopyFrom();
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name DD_NetworkDistribution_ID */
public static final String COLUMNNAME_DD_NetworkDistribution_ID = "DD_NetworkDistribution_ID";
@ -119,6 +140,19 @@ public interface I_DD_NetworkDistribution
*/
public String getHelp();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name M_ChangeNotice_ID */
public static final String COLUMNNAME_M_ChangeNotice_ID = "M_ChangeNotice_ID";
@ -165,6 +199,22 @@ public interface I_DD_NetworkDistribution
/** Get Revision */
public String getRevision();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
/** Column name ValidFrom */
public static final String COLUMNNAME_ValidFrom = "ValidFrom";

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -45,6 +42,14 @@ public interface I_DD_NetworkDistributionLine
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -58,6 +63,22 @@ public interface I_DD_NetworkDistributionLine
*/
public int getAD_Org_ID();
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name DD_NetworkDistributionLine_ID */
public static final String COLUMNNAME_DD_NetworkDistributionLine_ID = "DD_NetworkDistributionLine_ID";
@ -78,6 +99,19 @@ public interface I_DD_NetworkDistributionLine
public org.eevolution.model.I_DD_NetworkDistribution getDD_NetworkDistribution() throws RuntimeException;
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name M_Shipper_ID */
public static final String COLUMNNAME_M_Shipper_ID = "M_Shipper_ID";
@ -154,6 +188,22 @@ public interface I_DD_NetworkDistributionLine
/** Get Transfert Time */
public BigDecimal getTransfertTime();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
/** Column name ValidFrom */
public static final String COLUMNNAME_ValidFrom = "ValidFrom";

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -45,6 +42,14 @@ public interface I_DD_Order
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_OrgTrx_ID */
public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID";
@ -263,6 +268,22 @@ public interface I_DD_Order
/** Get Create Package */
public String getCreatePackage();
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name DD_Order_ID */
public static final String COLUMNNAME_DD_Order_ID = "DD_Order_ID";
@ -441,6 +462,19 @@ public interface I_DD_Order
*/
public String getGenerateTo();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name IsApproved */
public static final String COLUMNNAME_IsApproved = "IsApproved";
@ -719,6 +753,22 @@ public interface I_DD_Order
*/
public String getTrackingNo();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
/** Column name User1_ID */
public static final String COLUMNNAME_User1_ID = "User1_ID";

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -45,6 +42,14 @@ public interface I_DD_OrderLine
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_OrgTrx_ID */
public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID";
@ -159,6 +164,22 @@ public interface I_DD_OrderLine
*/
public BigDecimal getConfirmedQty();
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name DD_OrderLine_ID */
public static final String COLUMNNAME_DD_OrderLine_ID = "DD_OrderLine_ID";
@ -244,6 +265,19 @@ public interface I_DD_OrderLine
*/
public BigDecimal getFreightAmt();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name IsDescription */
public static final String COLUMNNAME_IsDescription = "IsDescription";
@ -472,6 +506,22 @@ public interface I_DD_OrderLine
*/
public BigDecimal getTargetQty();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
/** Column name User1_ID */
public static final String COLUMNNAME_User1_ID = "User1_ID";

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -45,6 +42,14 @@ public interface I_PP_Cost_Collector
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_OrgTrx_ID */
public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID";
@ -185,6 +190,22 @@ public interface I_PP_Cost_Collector
*/
public String getCostCollectorType();
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name DateAcct */
public static final String COLUMNNAME_DateAcct = "DateAcct";
@ -259,6 +280,19 @@ public interface I_PP_Cost_Collector
/** Get Duration Real */
public BigDecimal getDurationReal();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name IsBatchTime */
public static final String COLUMNNAME_IsBatchTime = "IsBatchTime";
@ -506,6 +540,22 @@ public interface I_PP_Cost_Collector
/** Get Setup Time Real */
public BigDecimal getSetupTimeReal();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
/** Column name User1_ID */
public static final String COLUMNNAME_User1_ID = "User1_ID";

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -45,6 +42,14 @@ public interface I_PP_Order
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_OrgTrx_ID */
public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID";
@ -213,6 +218,22 @@ public interface I_PP_Order
*/
public String getCopyFrom();
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name DateConfirm */
public static final String COLUMNNAME_DateConfirm = "DateConfirm";
@ -371,6 +392,19 @@ public interface I_PP_Order
/** Get Float Befored */
public BigDecimal getFloatBefored();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name IsApproved */
public static final String COLUMNNAME_IsApproved = "IsApproved";
@ -722,6 +756,22 @@ public interface I_PP_Order
*/
public String getSerNo();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
/** Column name User1_ID */
public static final String COLUMNNAME_User1_ID = "User1_ID";
@ -751,9 +801,13 @@ public interface I_PP_Order
/** Column name Yield */
public static final String COLUMNNAME_Yield = "Yield";
/** Set Yield */
/** Set Yield %.
* The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
*/
public void setYield (BigDecimal Yield);
/** Get Yield */
/** Get Yield %.
* The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
*/
public BigDecimal getYield();
}

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -45,6 +42,14 @@ public interface I_PP_Order_BOM
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -112,6 +117,22 @@ public interface I_PP_Order_BOM
*/
public String getCopyFrom();
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name Description */
public static final String COLUMNNAME_Description = "Description";
@ -151,6 +172,19 @@ public interface I_PP_Order_BOM
*/
public String getHelp();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name M_AttributeSetInstance_ID */
public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID";
@ -245,6 +279,22 @@ public interface I_PP_Order_BOM
/** Get Revision */
public String getRevision();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
/** Column name ValidFrom */
public static final String COLUMNNAME_ValidFrom = "ValidFrom";

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -45,6 +42,14 @@ public interface I_PP_Order_BOMLine
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -125,6 +130,22 @@ public interface I_PP_Order_BOMLine
*/
public String getComponentType();
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name DateDelivered */
public static final String COLUMNNAME_DateDelivered = "DateDelivered";
@ -190,6 +211,19 @@ public interface I_PP_Order_BOMLine
*/
public String getHelp();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name IsCritical */
public static final String COLUMNNAME_IsCritical = "IsCritical";
@ -475,6 +509,22 @@ public interface I_PP_Order_BOMLine
*/
public BigDecimal getScrap();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
/** Column name ValidFrom */
public static final String COLUMNNAME_ValidFrom = "ValidFrom";

View File

@ -0,0 +1,581 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
package org.eevolution.model;
import java.math.BigDecimal;
import java.sql.Timestamp;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
/** Generated Interface for PP_Order_BOMLine_v
* @author Adempiere (generated)
* @version Release 3.5.3a
*/
public interface I_PP_Order_BOMLine_v
{
/** TableName=PP_Order_BOMLine_v */
public static final String Table_Name = "PP_Order_BOMLine_v";
/** AD_Table_ID=53198 */
public static final int Table_ID = MTable.getTable_ID(Table_Name);
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
/** AccessLevel = 3 - Client - Org
*/
BigDecimal accessLevel = BigDecimal.valueOf(3);
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
/** Set Organization.
* Organizational entity within client
*/
public void setAD_Org_ID (int AD_Org_ID);
/** Get Organization.
* Organizational entity within client
*/
public int getAD_Org_ID();
/** Column name AD_User_ID */
public static final String COLUMNNAME_AD_User_ID = "AD_User_ID";
/** Set User/Contact.
* User within the system - Internal or Business Partner Contact
*/
public void setAD_User_ID (int AD_User_ID);
/** Get User/Contact.
* User within the system - Internal or Business Partner Contact
*/
public int getAD_User_ID();
public I_AD_User getAD_User() throws RuntimeException;
/** Column name Assay */
public static final String COLUMNNAME_Assay = "Assay";
/** Set Quantity Assay.
* Indicated the Quantity Assay to use into Quality Order
*/
public void setAssay (BigDecimal Assay);
/** Get Quantity Assay.
* Indicated the Quantity Assay to use into Quality Order
*/
public BigDecimal getAssay();
/** Column name BackflushGroup */
public static final String COLUMNNAME_BackflushGroup = "BackflushGroup";
/** Set Backflush Group.
* The Grouping Components to the Backflush
*/
public void setBackflushGroup (String BackflushGroup);
/** Get Backflush Group.
* The Grouping Components to the Backflush
*/
public String getBackflushGroup();
/** Column name C_UOM_ID */
public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID";
/** Set UOM.
* Unit of Measure
*/
public void setC_UOM_ID (int C_UOM_ID);
/** Get UOM.
* Unit of Measure
*/
public int getC_UOM_ID();
public I_C_UOM getC_UOM() throws RuntimeException;
/** 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 Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name DateDelivered */
public static final String COLUMNNAME_DateDelivered = "DateDelivered";
/** Set Date Delivered.
* Date when the product was delivered
*/
public void setDateDelivered (Timestamp DateDelivered);
/** Get Date Delivered.
* Date when the product was delivered
*/
public Timestamp getDateDelivered();
/** Column name Description */
public static final String COLUMNNAME_Description = "Description";
/** Set Description.
* Optional short description of the record
*/
public void setDescription (String Description);
/** Get Description.
* Optional short description of the record
*/
public String getDescription();
/** Column name Feature */
public static final String COLUMNNAME_Feature = "Feature";
/** Set Feature.
* Indicated the Feature for Product Configure
*/
public void setFeature (String Feature);
/** Get Feature.
* Indicated the Feature for Product Configure
*/
public String getFeature();
/** Column name Forecast */
public static final String COLUMNNAME_Forecast = "Forecast";
/** Set Forecast.
* Indicated the % of participation this component into a of the BOM Planning
*/
public void setForecast (BigDecimal Forecast);
/** Get Forecast.
* Indicated the % of participation this component into a of the BOM Planning
*/
public BigDecimal getForecast();
/** Column name Help */
public static final String COLUMNNAME_Help = "Help";
/** Set Comment/Help.
* Comment or Hint
*/
public void setHelp (String Help);
/** Get Comment/Help.
* Comment or Hint
*/
public String getHelp();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name IsCritical */
public static final String COLUMNNAME_IsCritical = "IsCritical";
/** Set Is Critical Component.
* Indicate that a Manufacturing Order can not begin without have this component
*/
public void setIsCritical (boolean IsCritical);
/** Get Is Critical Component.
* Indicate that a Manufacturing Order can not begin without have this component
*/
public boolean isCritical();
/** Column name IsQtyPercentage */
public static final String COLUMNNAME_IsQtyPercentage = "IsQtyPercentage";
/** Set Is Qty Percentage.
* Indicate that this component is based in % Quantity
*/
public void setIsQtyPercentage (BigDecimal IsQtyPercentage);
/** Get Is Qty Percentage.
* Indicate that this component is based in % Quantity
*/
public BigDecimal getIsQtyPercentage();
/** Column name IssueMethod */
public static final String COLUMNNAME_IssueMethod = "IssueMethod";
/** Set Issue Method.
* There are two methods for issue the components to Manufacturing Order
*/
public void setIssueMethod (String IssueMethod);
/** Get Issue Method.
* There are two methods for issue the components to Manufacturing Order
*/
public String getIssueMethod();
/** Column name LeadTimeOffset */
public static final String COLUMNNAME_LeadTimeOffset = "LeadTimeOffset";
/** Set Lead Time Offset.
* Optional Lead Time offest before starting production
*/
public void setLeadTimeOffset (int LeadTimeOffset);
/** Get Lead Time Offset.
* Optional Lead Time offest before starting production
*/
public int getLeadTimeOffset();
/** Column name Line */
public static final String COLUMNNAME_Line = "Line";
/** Set Line No.
* Unique line for this document
*/
public void setLine (int Line);
/** Get Line No.
* Unique line for this document
*/
public int getLine();
/** Column name M_AttributeSetInstance_ID */
public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID";
/** Set Attribute Set Instance.
* Product Attribute Set Instance
*/
public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID);
/** Get Attribute Set Instance.
* Product Attribute Set Instance
*/
public int getM_AttributeSetInstance_ID();
/** Column name M_ChangeNotice_ID */
public static final String COLUMNNAME_M_ChangeNotice_ID = "M_ChangeNotice_ID";
/** Set Change Notice.
* Bill of Materials (Engineering) Change Notice (Version)
*/
public void setM_ChangeNotice_ID (int M_ChangeNotice_ID);
/** Get Change Notice.
* Bill of Materials (Engineering) Change Notice (Version)
*/
public int getM_ChangeNotice_ID();
public I_M_ChangeNotice getM_ChangeNotice() throws RuntimeException;
/** Column name M_Locator_ID */
public static final String COLUMNNAME_M_Locator_ID = "M_Locator_ID";
/** Set Locator.
* Warehouse Locator
*/
public void setM_Locator_ID (int M_Locator_ID);
/** Get Locator.
* Warehouse Locator
*/
public int getM_Locator_ID();
public I_M_Locator getM_Locator() throws RuntimeException;
/** 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 RuntimeException;
/** 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 RuntimeException;
/** Column name PP_Order_BOMLine_ID */
public static final String COLUMNNAME_PP_Order_BOMLine_ID = "PP_Order_BOMLine_ID";
/** Set Manufacturing Order BOM Line */
public void setPP_Order_BOMLine_ID (int PP_Order_BOMLine_ID);
/** Get Manufacturing Order BOM Line */
public int getPP_Order_BOMLine_ID();
public org.eevolution.model.I_PP_Order_BOMLine getPP_Order_BOMLine() throws RuntimeException;
/** Column name PP_Order_BOM_ID */
public static final String COLUMNNAME_PP_Order_BOM_ID = "PP_Order_BOM_ID";
/** Set Manufacturing Order BOM */
public void setPP_Order_BOM_ID (int PP_Order_BOM_ID);
/** Get Manufacturing Order BOM */
public int getPP_Order_BOM_ID();
public org.eevolution.model.I_PP_Order_BOM getPP_Order_BOM() throws RuntimeException;
/** Column name PP_Order_ID */
public static final String COLUMNNAME_PP_Order_ID = "PP_Order_ID";
/** Set Manufacturing Order */
public void setPP_Order_ID (int PP_Order_ID);
/** Get Manufacturing Order */
public int getPP_Order_ID();
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException;
/** Column name QtyAvailable */
public static final String COLUMNNAME_QtyAvailable = "QtyAvailable";
/** Set Available Quantity.
* Available Quantity (On Hand - Reserved)
*/
public void setQtyAvailable (BigDecimal QtyAvailable);
/** Get Available Quantity.
* Available Quantity (On Hand - Reserved)
*/
public BigDecimal getQtyAvailable();
/** 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 */
public static final String COLUMNNAME_QtyBatch = "QtyBatch";
/** Set Quantity in %.
* Indicate the Quantity % use in this Formula
*/
public void setQtyBatch (BigDecimal QtyBatch);
/** Get Quantity in %.
* Indicate the Quantity % use in this Formula
*/
public BigDecimal getQtyBatch();
/** Column name QtyBatchSize */
public static final String COLUMNNAME_QtyBatchSize = "QtyBatchSize";
/** Set Qty Batch Size */
public void setQtyBatchSize (BigDecimal QtyBatchSize);
/** Get Qty Batch Size */
public BigDecimal getQtyBatchSize();
/** Column name QtyDelivered */
public static final String COLUMNNAME_QtyDelivered = "QtyDelivered";
/** Set Delivered Quantity.
* Delivered Quantity
*/
public void setQtyDelivered (BigDecimal QtyDelivered);
/** Get Delivered Quantity.
* Delivered Quantity
*/
public BigDecimal getQtyDelivered();
/** Column name QtyOnHand */
public static final String COLUMNNAME_QtyOnHand = "QtyOnHand";
/** Set On Hand Quantity.
* On Hand Quantity
*/
public void setQtyOnHand (BigDecimal QtyOnHand);
/** Get On Hand Quantity.
* On Hand Quantity
*/
public BigDecimal getQtyOnHand();
/** Column name QtyPost */
public static final String COLUMNNAME_QtyPost = "QtyPost";
/** Set Qty Post */
public void setQtyPost (BigDecimal QtyPost);
/** Get Qty Post */
public BigDecimal getQtyPost();
/** Column name QtyReject */
public static final String COLUMNNAME_QtyReject = "QtyReject";
/** Set Qty Reject */
public void setQtyReject (BigDecimal QtyReject);
/** Get Qty Reject */
public BigDecimal getQtyReject();
/** Column name QtyRequiered */
public static final String COLUMNNAME_QtyRequiered = "QtyRequiered";
/** Set Qty Requiered */
public void setQtyRequiered (BigDecimal QtyRequiered);
/** Get Qty Requiered */
public BigDecimal getQtyRequiered();
/** Column name QtyReserved */
public static final String COLUMNNAME_QtyReserved = "QtyReserved";
/** Set Reserved Quantity.
* Reserved Quantity
*/
public void setQtyReserved (BigDecimal QtyReserved);
/** Get Reserved Quantity.
* Reserved Quantity
*/
public BigDecimal getQtyReserved();
/** Column name QtyScrap */
public static final String COLUMNNAME_QtyScrap = "QtyScrap";
/** Set QtyScrap.
* Scrap Quantity for this componet
*/
public void setQtyScrap (BigDecimal QtyScrap);
/** Get QtyScrap.
* Scrap Quantity for this componet
*/
public BigDecimal getQtyScrap();
/** Column name Scrap */
public static final String COLUMNNAME_Scrap = "Scrap";
/** Set % Scrap.
* Indicate the % Scrap for calculate the Scrap Quantity
*/
public void setScrap (BigDecimal Scrap);
/** Get % Scrap.
* Indicate the % Scrap for calculate the Scrap Quantity
*/
public BigDecimal getScrap();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
/** Column name ValidFrom */
public static final String COLUMNNAME_ValidFrom = "ValidFrom";
/** Set Valid from.
* Valid from including this date (first day)
*/
public void setValidFrom (Timestamp ValidFrom);
/** Get Valid from.
* Valid from including this date (first day)
*/
public Timestamp getValidFrom();
/** Column name ValidTo */
public static final String COLUMNNAME_ValidTo = "ValidTo";
/** Set Valid to.
* Valid to including this date (last day)
*/
public void setValidTo (Timestamp ValidTo);
/** Get Valid to.
* Valid to including this date (last day)
*/
public Timestamp getValidTo();
}

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -45,6 +42,14 @@ public interface I_PP_Order_Node
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Column_ID */
public static final String COLUMNNAME_AD_Column_ID = "AD_Column_ID";
@ -275,6 +280,22 @@ public interface I_PP_Order_Node
*/
public BigDecimal getCost();
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name DateFinish */
public static final String COLUMNNAME_DateFinish = "DateFinish";
@ -426,6 +447,19 @@ public interface I_PP_Order_Node
*/
public String getHelp();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name IsCentrallyMaintained */
public static final String COLUMNNAME_IsCentrallyMaintained = "IsCentrallyMaintained";
@ -508,10 +542,14 @@ public interface I_PP_Order_Node
/** Column name OverlapUnits */
public static final String COLUMNNAME_OverlapUnits = "OverlapUnits";
/** Set Overlap Units */
/** Set Overlap Units.
* Overlap Units are number of units that must be completed before they are moved the next activity
*/
public void setOverlapUnits (int OverlapUnits);
/** Get Overlap Units */
/** Get Overlap Units.
* Overlap Units are number of units that must be completed before they are moved the next activity
*/
public int getOverlapUnits();
/** Column name PP_Order_ID */
@ -699,12 +737,32 @@ public interface I_PP_Order_Node
/** Column name UnitsCycles */
public static final String COLUMNNAME_UnitsCycles = "UnitsCycles";
/** Set Units Cycles */
/** Set Units by Cycles.
* The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.
*/
public void setUnitsCycles (int UnitsCycles);
/** Get Units Cycles */
/** Get Units by Cycles.
* The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.
*/
public int getUnitsCycles();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
/** Column name ValidFrom */
public static final String COLUMNNAME_ValidFrom = "ValidFrom";
@ -808,4 +866,17 @@ public interface I_PP_Order_Node
* Absolute Y (vertical) position in 1/72 of an inch
*/
public int getYPosition();
/** Column name Yield */
public static final String COLUMNNAME_Yield = "Yield";
/** Set Yield %.
* The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
*/
public void setYield (int Yield);
/** Get Yield %.
* The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
*/
public int getYield();
}

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -20,6 +17,7 @@
package org.eevolution.model;
import java.math.BigDecimal;
import java.sql.Timestamp;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
@ -44,6 +42,14 @@ public interface I_PP_Order_NodeNext
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -85,6 +91,22 @@ public interface I_PP_Order_NodeNext
public I_AD_WF_Node getAD_WF_Node() throws RuntimeException;
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name Description */
public static final String COLUMNNAME_Description = "Description";
@ -113,6 +135,19 @@ public interface I_PP_Order_NodeNext
*/
public String getEntityType();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name IsStdUserWorkflow */
public static final String COLUMNNAME_IsStdUserWorkflow = "IsStdUserWorkflow";
@ -193,4 +228,20 @@ public interface I_PP_Order_NodeNext
* Code resulting in TRUE of FALSE
*/
public String getTransitionCode();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
}

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -20,6 +17,7 @@
package org.eevolution.model;
import java.math.BigDecimal;
import java.sql.Timestamp;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
@ -44,6 +42,14 @@ public interface I_PP_Order_Node_Asset
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -72,6 +78,35 @@ public interface I_PP_Order_Node_Asset
public I_A_Asset getA_Asset() throws RuntimeException;
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name PP_Order_ID */
public static final String COLUMNNAME_PP_Order_ID = "PP_Order_ID";
@ -113,4 +148,20 @@ public interface I_PP_Order_Node_Asset
public int getPP_Order_Workflow_ID();
public org.eevolution.model.I_PP_Order_Workflow getPP_Order_Workflow() throws RuntimeException;
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
}

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -20,6 +17,7 @@
package org.eevolution.model;
import java.math.BigDecimal;
import java.sql.Timestamp;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
@ -44,6 +42,14 @@ public interface I_PP_Order_Node_Product
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -57,6 +63,35 @@ public interface I_PP_Order_Node_Product
*/
public int getAD_Org_ID();
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name IsSubcontracting */
public static final String COLUMNNAME_IsSubcontracting = "IsSubcontracting";
@ -151,12 +186,19 @@ public interface I_PP_Order_Node_Product
*/
public int getSeqNo();
/** Column name Yield */
public static final String COLUMNNAME_Yield = "Yield";
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Set Yield */
public void setYield (int Yield);
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Get Yield */
public int getYield();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
}

View File

@ -0,0 +1,532 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
package org.eevolution.model;
import java.math.BigDecimal;
import java.sql.Timestamp;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
/** Generated Interface for PP_Order_Node_v
* @author Adempiere (generated)
* @version Release 3.5.3a
*/
public interface I_PP_Order_Node_v
{
/** TableName=PP_Order_Node_v */
public static final String Table_Name = "PP_Order_Node_v";
/** AD_Table_ID=53200 */
public static final int Table_ID = MTable.getTable_ID(Table_Name);
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
/** AccessLevel = 3 - Client - Org
*/
BigDecimal accessLevel = BigDecimal.valueOf(3);
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
/** Set Organization.
* Organizational entity within client
*/
public void setAD_Org_ID (int AD_Org_ID);
/** Get Organization.
* Organizational entity within client
*/
public int getAD_Org_ID();
/** Column name C_BPartner_ID */
public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID";
/** Set Business Partner .
* Identifies a Business Partner
*/
public void setC_BPartner_ID (int C_BPartner_ID);
/** Get Business Partner .
* Identifies a Business Partner
*/
public int getC_BPartner_ID();
public I_C_BPartner getC_BPartner() throws RuntimeException;
/** 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 Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name DateFinish */
public static final String COLUMNNAME_DateFinish = "DateFinish";
/** Set Finish Date.
* Finish or (planned) completion date
*/
public void setDateFinish (Timestamp DateFinish);
/** Get Finish Date.
* Finish or (planned) completion date
*/
public Timestamp getDateFinish();
/** Column name DateFinishSchedule */
public static final String COLUMNNAME_DateFinishSchedule = "DateFinishSchedule";
/** Set DateFinishSchedule */
public void setDateFinishSchedule (Timestamp DateFinishSchedule);
/** Get DateFinishSchedule */
public Timestamp getDateFinishSchedule();
/** Column name DateStart */
public static final String COLUMNNAME_DateStart = "DateStart";
/** Set DateStart */
public void setDateStart (Timestamp DateStart);
/** Get DateStart */
public Timestamp getDateStart();
/** Column name DateStartSchedule */
public static final String COLUMNNAME_DateStartSchedule = "DateStartSchedule";
/** Set DateStartSchedule */
public void setDateStartSchedule (Timestamp DateStartSchedule);
/** Get DateStartSchedule */
public Timestamp getDateStartSchedule();
/** Column name Description */
public static final String COLUMNNAME_Description = "Description";
/** Set Description.
* Optional short description of the record
*/
public void setDescription (String Description);
/** Get Description.
* Optional short description of the record
*/
public String getDescription();
/** Column name DocAction */
public static final String COLUMNNAME_DocAction = "DocAction";
/** Set Document Action.
* The targeted status of the document
*/
public void setDocAction (String DocAction);
/** Get Document Action.
* The targeted status of the document
*/
public String getDocAction();
/** Column name DocStatus */
public static final String COLUMNNAME_DocStatus = "DocStatus";
/** Set Document Status.
* The current status of the document
*/
public void setDocStatus (String DocStatus);
/** Get Document Status.
* The current status of the document
*/
public String getDocStatus();
/** Column name Duration */
public static final String COLUMNNAME_Duration = "Duration";
/** Set Duration.
* Normal Duration in Duration Unit
*/
public void setDuration (int Duration);
/** Get Duration.
* Normal Duration in Duration Unit
*/
public int getDuration();
/** Column name DurationReal */
public static final String COLUMNNAME_DurationReal = "DurationReal";
/** Set Duration Real */
public void setDurationReal (int DurationReal);
/** Get Duration Real */
public int getDurationReal();
/** Column name DurationRequiered */
public static final String COLUMNNAME_DurationRequiered = "DurationRequiered";
/** Set Duration Requiered */
public void setDurationRequiered (int DurationRequiered);
/** Get Duration Requiered */
public int getDurationRequiered();
/** Column name Help */
public static final String COLUMNNAME_Help = "Help";
/** Set Comment/Help.
* Comment or Hint
*/
public void setHelp (String Help);
/** Get Comment/Help.
* Comment or Hint
*/
public String getHelp();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name IsMilestone */
public static final String COLUMNNAME_IsMilestone = "IsMilestone";
/** Set Is Milestone */
public void setIsMilestone (boolean IsMilestone);
/** Get Is Milestone */
public boolean isMilestone();
/** Column name IsSubcontracting */
public static final String COLUMNNAME_IsSubcontracting = "IsSubcontracting";
/** Set Is Subcontracting */
public void setIsSubcontracting (boolean IsSubcontracting);
/** Get Is Subcontracting */
public boolean isSubcontracting();
/** Column name MovingTime */
public static final String COLUMNNAME_MovingTime = "MovingTime";
/** Set Moving Time */
public void setMovingTime (int MovingTime);
/** Get Moving Time */
public int getMovingTime();
/** Column name Name */
public static final String COLUMNNAME_Name = "Name";
/** Set Name.
* Alphanumeric identifier of the entity
*/
public void setName (String Name);
/** Get Name.
* Alphanumeric identifier of the entity
*/
public String getName();
/** Column name OverlapUnits */
public static final String COLUMNNAME_OverlapUnits = "OverlapUnits";
/** Set Overlap Units.
* Overlap Units are number of units that must be completed before they are moved the next activity
*/
public void setOverlapUnits (int OverlapUnits);
/** Get Overlap Units.
* Overlap Units are number of units that must be completed before they are moved the next activity
*/
public int getOverlapUnits();
/** Column name PP_Order_ID */
public static final String COLUMNNAME_PP_Order_ID = "PP_Order_ID";
/** Set Manufacturing Order */
public void setPP_Order_ID (int PP_Order_ID);
/** Get Manufacturing Order */
public int getPP_Order_ID();
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException;
/** Column name PP_Order_Node_ID */
public static final String COLUMNNAME_PP_Order_Node_ID = "PP_Order_Node_ID";
/** Set Manufacturing Order Activity */
public void setPP_Order_Node_ID (int PP_Order_Node_ID);
/** Get Manufacturing Order Activity */
public int getPP_Order_Node_ID();
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws RuntimeException;
/** Column name PP_Order_Workflow_ID */
public static final String COLUMNNAME_PP_Order_Workflow_ID = "PP_Order_Workflow_ID";
/** Set Manufacturing Order Workflow */
public void setPP_Order_Workflow_ID (int PP_Order_Workflow_ID);
/** Get Manufacturing Order Workflow */
public int getPP_Order_Workflow_ID();
public org.eevolution.model.I_PP_Order_Workflow getPP_Order_Workflow() throws RuntimeException;
/** Column name Priority */
public static final String COLUMNNAME_Priority = "Priority";
/** Set Priority.
* Indicates if this request is of a high, medium or low priority.
*/
public void setPriority (String Priority);
/** Get Priority.
* Indicates if this request is of a high, medium or low priority.
*/
public String getPriority();
/** Column name QtyDelivered */
public static final String COLUMNNAME_QtyDelivered = "QtyDelivered";
/** Set Delivered Quantity.
* Delivered Quantity
*/
public void setQtyDelivered (BigDecimal QtyDelivered);
/** Get Delivered Quantity.
* Delivered Quantity
*/
public BigDecimal getQtyDelivered();
/** Column name QtyRequiered */
public static final String COLUMNNAME_QtyRequiered = "QtyRequiered";
/** Set Qty Requiered */
public void setQtyRequiered (BigDecimal QtyRequiered);
/** Get Qty Requiered */
public BigDecimal getQtyRequiered();
/** Column name QtyScrap */
public static final String COLUMNNAME_QtyScrap = "QtyScrap";
/** Set QtyScrap.
* Scrap Quantity for this componet
*/
public void setQtyScrap (BigDecimal QtyScrap);
/** Get QtyScrap.
* Scrap Quantity for this componet
*/
public BigDecimal getQtyScrap();
/** Column name QueuingTime */
public static final String COLUMNNAME_QueuingTime = "QueuingTime";
/** Set Queuing Time */
public void setQueuingTime (int QueuingTime);
/** Get Queuing Time */
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 RuntimeException;
/** 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 SetupTimeReal */
public static final String COLUMNNAME_SetupTimeReal = "SetupTimeReal";
/** Set Setup Time Real */
public void setSetupTimeReal (int SetupTimeReal);
/** Get Setup Time Real */
public int getSetupTimeReal();
/** Column name UnitsCycles */
public static final String COLUMNNAME_UnitsCycles = "UnitsCycles";
/** Set Units by Cycles.
* The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.
*/
public void setUnitsCycles (int UnitsCycles);
/** Get Units by Cycles.
* The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.
*/
public int getUnitsCycles();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
/** Column name ValidFrom */
public static final String COLUMNNAME_ValidFrom = "ValidFrom";
/** Set Valid from.
* Valid from including this date (first day)
*/
public void setValidFrom (Timestamp ValidFrom);
/** Get Valid from.
* Valid from including this date (first day)
*/
public Timestamp getValidFrom();
/** Column name ValidTo */
public static final String COLUMNNAME_ValidTo = "ValidTo";
/** Set Valid to.
* Valid to including this date (last day)
*/
public void setValidTo (Timestamp ValidTo);
/** Get Valid to.
* Valid to including this date (last day)
*/
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();
/** Column name WaitingTime */
public static final String COLUMNNAME_WaitingTime = "WaitingTime";
/** Set Waiting Time.
* Workflow Simulation Waiting time
*/
public void setWaitingTime (int WaitingTime);
/** Get Waiting Time.
* Workflow Simulation Waiting time
*/
public int getWaitingTime();
/** Column name WorkingTime */
public static final String COLUMNNAME_WorkingTime = "WorkingTime";
/** Set Working Time.
* Workflow Simulation Execution Time
*/
public void setWorkingTime (int WorkingTime);
/** Get Working Time.
* Workflow Simulation Execution Time
*/
public int getWorkingTime();
/** Column name Yield */
public static final String COLUMNNAME_Yield = "Yield";
/** Set Yield %.
* The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
*/
public void setYield (int Yield);
/** Get Yield %.
* The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
*/
public int getYield();
}

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -45,6 +42,14 @@ public interface I_PP_Order_Workflow
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -172,6 +177,22 @@ public interface I_PP_Order_Workflow
*/
public BigDecimal getCost();
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name Description */
public static final String COLUMNNAME_Description = "Description";
@ -252,6 +273,19 @@ public interface I_PP_Order_Workflow
*/
public String getHelp();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name IsDefault */
public static final String COLUMNNAME_IsDefault = "IsDefault";
@ -300,6 +334,19 @@ public interface I_PP_Order_Workflow
*/
public String getName();
/** Column name OverlapUnits */
public static final String COLUMNNAME_OverlapUnits = "OverlapUnits";
/** Set Overlap Units.
* Overlap Units are number of units that must be completed before they are moved the next activity
*/
public void setOverlapUnits (BigDecimal OverlapUnits);
/** Get Overlap Units.
* Overlap Units are number of units that must be completed before they are moved the next activity
*/
public BigDecimal getOverlapUnits();
/** Column name PP_Order_ID */
public static final String COLUMNNAME_PP_Order_ID = "PP_Order_ID";
@ -412,6 +459,35 @@ public interface I_PP_Order_Workflow
*/
public int getSetupTime();
/** Column name UnitsCycles */
public static final String COLUMNNAME_UnitsCycles = "UnitsCycles";
/** Set Units by Cycles.
* The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.
*/
public void setUnitsCycles (BigDecimal UnitsCycles);
/** Get Units by Cycles.
* The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.
*/
public BigDecimal getUnitsCycles();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
/** Column name ValidFrom */
public static final String COLUMNNAME_ValidFrom = "ValidFrom";
@ -511,4 +587,17 @@ public interface I_PP_Order_Workflow
* Workflow Simulation Execution Time
*/
public int getWorkingTime();
/** Column name Yield */
public static final String COLUMNNAME_Yield = "Yield";
/** Set Yield %.
* The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
*/
public void setYield (int Yield);
/** Get Yield %.
* The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
*/
public int getYield();
}

View File

@ -0,0 +1,908 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
package org.eevolution.model;
import java.math.BigDecimal;
import java.sql.Timestamp;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
/** Generated Interface for PP_Order_Workflow_Header_v
* @author Adempiere (generated)
* @version Release 3.5.3a
*/
public interface I_PP_Order_Workflow_Header_v
{
/** TableName=PP_Order_Workflow_Header_v */
public static final String Table_Name = "PP_Order_Workflow_Header_v";
/** AD_Table_ID=53199 */
public static final int Table_ID = MTable.getTable_ID(Table_Name);
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
/** AccessLevel = 3 - Client - Org
*/
BigDecimal accessLevel = BigDecimal.valueOf(3);
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Language */
public static final String COLUMNNAME_AD_Language = "AD_Language";
/** Set Language.
* Language for this entity
*/
public void setAD_Language (String AD_Language);
/** Get Language.
* Language for this entity
*/
public String getAD_Language();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
/** Set Organization.
* Organizational entity within client
*/
public void setAD_Org_ID (int AD_Org_ID);
/** Get Organization.
* Organizational entity within client
*/
public int getAD_Org_ID();
/** Column name AD_Workflow_ID */
public static final String COLUMNNAME_AD_Workflow_ID = "AD_Workflow_ID";
/** Set Workflow.
* Workflow or combination of tasks
*/
public void setAD_Workflow_ID (int AD_Workflow_ID);
/** Get Workflow.
* Workflow or combination of tasks
*/
public int getAD_Workflow_ID();
public I_AD_Workflow getAD_Workflow() throws RuntimeException;
/** Column name Assay */
public static final String COLUMNNAME_Assay = "Assay";
/** Set Quantity Assay.
* Indicated the Quantity Assay to use into Quality Order
*/
public void setAssay (BigDecimal Assay);
/** Get Quantity Assay.
* Indicated the Quantity Assay to use into Quality Order
*/
public BigDecimal getAssay();
/** Column name Author */
public static final String COLUMNNAME_Author = "Author";
/** Set Author.
* Author/Creator of the Entity
*/
public void setAuthor (String Author);
/** Get Author.
* Author/Creator of the Entity
*/
public String getAuthor();
/** Column name C_Activity_ID */
public static final String COLUMNNAME_C_Activity_ID = "C_Activity_ID";
/** Set Activity.
* Business Activity
*/
public void setC_Activity_ID (int C_Activity_ID);
/** Get Activity.
* Business Activity
*/
public int getC_Activity_ID();
public I_C_Activity getC_Activity() throws RuntimeException;
/** Column name C_Campaign_ID */
public static final String COLUMNNAME_C_Campaign_ID = "C_Campaign_ID";
/** Set Campaign.
* Marketing Campaign
*/
public void setC_Campaign_ID (int C_Campaign_ID);
/** Get Campaign.
* Marketing Campaign
*/
public int getC_Campaign_ID();
public I_C_Campaign getC_Campaign() throws RuntimeException;
/** 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();
public I_C_DocType getC_DocType() throws RuntimeException;
/** 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 RuntimeException;
/** Column name C_Project_ID */
public static final String COLUMNNAME_C_Project_ID = "C_Project_ID";
/** Set Project.
* Financial Project
*/
public void setC_Project_ID (int C_Project_ID);
/** Get Project.
* Financial Project
*/
public int getC_Project_ID();
public I_C_Project getC_Project() throws RuntimeException;
/** Column name C_UOM_ID */
public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID";
/** Set UOM.
* Unit of Measure
*/
public void setC_UOM_ID (int C_UOM_ID);
/** Get UOM.
* Unit of Measure
*/
public int getC_UOM_ID();
public I_C_UOM getC_UOM() throws RuntimeException;
/** 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 Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name DateConfirm */
public static final String COLUMNNAME_DateConfirm = "DateConfirm";
/** Set DateConfirm */
public void setDateConfirm (Timestamp DateConfirm);
/** Get DateConfirm */
public Timestamp getDateConfirm();
/** Column name DateDelivered */
public static final String COLUMNNAME_DateDelivered = "DateDelivered";
/** Set Date Delivered.
* Date when the product was delivered
*/
public void setDateDelivered (Timestamp DateDelivered);
/** Get Date Delivered.
* Date when the product was delivered
*/
public Timestamp getDateDelivered();
/** Column name DateFinish */
public static final String COLUMNNAME_DateFinish = "DateFinish";
/** Set Finish Date.
* Finish or (planned) completion date
*/
public void setDateFinish (Timestamp DateFinish);
/** Get Finish Date.
* Finish or (planned) completion date
*/
public Timestamp getDateFinish();
/** Column name DateFinishSchedule */
public static final String COLUMNNAME_DateFinishSchedule = "DateFinishSchedule";
/** Set DateFinishSchedule */
public void setDateFinishSchedule (Timestamp DateFinishSchedule);
/** Get DateFinishSchedule */
public Timestamp getDateFinishSchedule();
/** Column name DateOrdered */
public static final String COLUMNNAME_DateOrdered = "DateOrdered";
/** Set Date Ordered.
* Date of Order
*/
public void setDateOrdered (Timestamp DateOrdered);
/** Get Date Ordered.
* Date of Order
*/
public Timestamp getDateOrdered();
/** Column name DatePromised */
public static final String COLUMNNAME_DatePromised = "DatePromised";
/** Set Date Promised.
* Date Order was promised
*/
public void setDatePromised (Timestamp DatePromised);
/** Get Date Promised.
* Date Order was promised
*/
public Timestamp getDatePromised();
/** Column name DateStart */
public static final String COLUMNNAME_DateStart = "DateStart";
/** Set DateStart */
public void setDateStart (Timestamp DateStart);
/** Get DateStart */
public Timestamp getDateStart();
/** Column name DateStartSchedule */
public static final String COLUMNNAME_DateStartSchedule = "DateStartSchedule";
/** Set DateStartSchedule */
public void setDateStartSchedule (Timestamp DateStartSchedule);
/** Get DateStartSchedule */
public Timestamp getDateStartSchedule();
/** Column name Description */
public static final String COLUMNNAME_Description = "Description";
/** Set Description.
* Optional short description of the record
*/
public void setDescription (String Description);
/** Get Description.
* Optional short description of the record
*/
public String getDescription();
/** Column name DocStatus */
public static final String COLUMNNAME_DocStatus = "DocStatus";
/** Set Document Status.
* The current status of the document
*/
public void setDocStatus (String DocStatus);
/** Get Document Status.
* The current status of the document
*/
public String getDocStatus();
/** Column name DocumentNo */
public static final String COLUMNNAME_DocumentNo = "DocumentNo";
/** Set Document No.
* Document sequence number of the document
*/
public void setDocumentNo (String DocumentNo);
/** Get Document No.
* Document sequence number of the document
*/
public String getDocumentNo();
/** Column name DocumentType */
public static final String COLUMNNAME_DocumentType = "DocumentType";
/** Set Document Type.
* Document Type
*/
public void setDocumentType (String DocumentType);
/** Get Document Type.
* Document Type
*/
public String getDocumentType();
/** Column name DocumentTypeNote */
public static final String COLUMNNAME_DocumentTypeNote = "DocumentTypeNote";
/** Set Document Type Note.
* Optional note of a document type
*/
public void setDocumentTypeNote (String DocumentTypeNote);
/** Get Document Type Note.
* Optional note of a document type
*/
public String getDocumentTypeNote();
/** Column name Duration */
public static final String COLUMNNAME_Duration = "Duration";
/** Set Duration.
* Normal Duration in Duration Unit
*/
public void setDuration (int Duration);
/** Get Duration.
* Normal Duration in Duration Unit
*/
public int getDuration();
/** Column name DurationUnit */
public static final String COLUMNNAME_DurationUnit = "DurationUnit";
/** Set Duration Unit.
* Unit of Duration
*/
public void setDurationUnit (String DurationUnit);
/** Get Duration Unit.
* Unit of Duration
*/
public String getDurationUnit();
/** Column name FloatAfter */
public static final String COLUMNNAME_FloatAfter = "FloatAfter";
/** Set Float After */
public void setFloatAfter (BigDecimal FloatAfter);
/** Get Float After */
public BigDecimal getFloatAfter();
/** Column name FloatBefored */
public static final String COLUMNNAME_FloatBefored = "FloatBefored";
/** Set Float Befored */
public void setFloatBefored (BigDecimal FloatBefored);
/** Get Float Befored */
public BigDecimal getFloatBefored();
/** Column name Help */
public static final String COLUMNNAME_Help = "Help";
/** Set Comment/Help.
* Comment or Hint
*/
public void setHelp (String Help);
/** Get Comment/Help.
* Comment or Hint
*/
public String getHelp();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name Line */
public static final String COLUMNNAME_Line = "Line";
/** Set Line No.
* Unique line for this document
*/
public void setLine (int Line);
/** Get Line No.
* Unique line for this document
*/
public int getLine();
/** Column name Lot */
public static final String COLUMNNAME_Lot = "Lot";
/** Set Lot No.
* Lot number (alphanumeric)
*/
public void setLot (String Lot);
/** Get Lot No.
* Lot number (alphanumeric)
*/
public String getLot();
/** 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 RuntimeException;
/** Column name MovingTime */
public static final String COLUMNNAME_MovingTime = "MovingTime";
/** Set Moving Time */
public void setMovingTime (int MovingTime);
/** Get Moving Time */
public int getMovingTime();
/** Column name Name */
public static final String COLUMNNAME_Name = "Name";
/** Set Name.
* Alphanumeric identifier of the entity
*/
public void setName (String Name);
/** Get Name.
* Alphanumeric identifier of the entity
*/
public String getName();
/** Column name Org_Location_ID */
public static final String COLUMNNAME_Org_Location_ID = "Org_Location_ID";
/** Set Org Address.
* Organization Location/Address
*/
public void setOrg_Location_ID (int Org_Location_ID);
/** Get Org Address.
* Organization Location/Address
*/
public int getOrg_Location_ID();
/** Column name OverlapUnits */
public static final String COLUMNNAME_OverlapUnits = "OverlapUnits";
/** Set Overlap Units.
* Overlap Units are number of units that must be completed before they are moved the next activity
*/
public void setOverlapUnits (BigDecimal OverlapUnits);
/** Get Overlap Units.
* Overlap Units are number of units that must be completed before they are moved the next activity
*/
public BigDecimal getOverlapUnits();
/** Column name PP_Order_ID */
public static final String COLUMNNAME_PP_Order_ID = "PP_Order_ID";
/** Set Manufacturing Order */
public void setPP_Order_ID (int PP_Order_ID);
/** Get Manufacturing Order */
public int getPP_Order_ID();
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException;
/** Column name PP_Product_BOM_ID */
public static final String COLUMNNAME_PP_Product_BOM_ID = "PP_Product_BOM_ID";
/** Set BOM & Formula.
* BOM & Formula
*/
public void setPP_Product_BOM_ID (int PP_Product_BOM_ID);
/** Get BOM & Formula.
* BOM & Formula
*/
public int getPP_Product_BOM_ID();
public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws RuntimeException;
/** 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 PriorityRule */
public static final String COLUMNNAME_PriorityRule = "PriorityRule";
/** Set Priority.
* Priority of a document
*/
public void setPriorityRule (String PriorityRule);
/** Get Priority.
* Priority of a document
*/
public String getPriorityRule();
/** Column name PublishStatus */
public static final String COLUMNNAME_PublishStatus = "PublishStatus";
/** Set Publication Status.
* Status of Publication
*/
public void setPublishStatus (boolean PublishStatus);
/** Get Publication Status.
* Status of Publication
*/
public boolean isPublishStatus();
/** Column name QtyBatchSize */
public static final String COLUMNNAME_QtyBatchSize = "QtyBatchSize";
/** Set Qty Batch Size */
public void setQtyBatchSize (BigDecimal QtyBatchSize);
/** Get Qty Batch Size */
public BigDecimal getQtyBatchSize();
/** Column name QtyBatchs */
public static final String COLUMNNAME_QtyBatchs = "QtyBatchs";
/** Set Qty Batchs */
public void setQtyBatchs (BigDecimal QtyBatchs);
/** Get Qty Batchs */
public BigDecimal getQtyBatchs();
/** Column name QtyDelivered */
public static final String COLUMNNAME_QtyDelivered = "QtyDelivered";
/** Set Delivered Quantity.
* Delivered Quantity
*/
public void setQtyDelivered (BigDecimal QtyDelivered);
/** Get Delivered Quantity.
* Delivered Quantity
*/
public BigDecimal getQtyDelivered();
/** Column name QtyEntered */
public static final String COLUMNNAME_QtyEntered = "QtyEntered";
/** Set Quantity.
* The Quantity Entered is based on the selected UoM
*/
public void setQtyEntered (BigDecimal QtyEntered);
/** Get Quantity.
* The Quantity Entered is based on the selected UoM
*/
public BigDecimal getQtyEntered();
/** Column name QtyOrdered */
public static final String COLUMNNAME_QtyOrdered = "QtyOrdered";
/** Set Ordered Quantity.
* Ordered Quantity
*/
public void setQtyOrdered (BigDecimal QtyOrdered);
/** Get Ordered Quantity.
* Ordered Quantity
*/
public BigDecimal getQtyOrdered();
/** Column name QtyReject */
public static final String COLUMNNAME_QtyReject = "QtyReject";
/** Set Qty Reject */
public void setQtyReject (BigDecimal QtyReject);
/** Get Qty Reject */
public BigDecimal getQtyReject();
/** Column name QtyReserved */
public static final String COLUMNNAME_QtyReserved = "QtyReserved";
/** Set Reserved Quantity.
* Reserved Quantity
*/
public void setQtyReserved (BigDecimal QtyReserved);
/** Get Reserved Quantity.
* Reserved Quantity
*/
public BigDecimal getQtyReserved();
/** Column name QtyScrap */
public static final String COLUMNNAME_QtyScrap = "QtyScrap";
/** Set QtyScrap.
* Scrap Quantity for this componet
*/
public void setQtyScrap (BigDecimal QtyScrap);
/** Get QtyScrap.
* Scrap Quantity for this componet
*/
public BigDecimal getQtyScrap();
/** Column name QueuingTime */
public static final String COLUMNNAME_QueuingTime = "QueuingTime";
/** Set Queuing Time */
public void setQueuingTime (int QueuingTime);
/** Get Queuing Time */
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 RuntimeException;
/** Column name SalesRep_Name */
public static final String COLUMNNAME_SalesRep_Name = "SalesRep_Name";
/** Set Sales Representative */
public void setSalesRep_Name (String SalesRep_Name);
/** Get Sales Representative */
public String getSalesRep_Name();
/** Column name SerNo */
public static final String COLUMNNAME_SerNo = "SerNo";
/** Set Serial No.
* Product Serial Number
*/
public void setSerNo (String SerNo);
/** Get Serial No.
* Product Serial Number
*/
public String getSerNo();
/** 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 TaxID */
public static final String COLUMNNAME_TaxID = "TaxID";
/** Set Tax ID.
* Tax Identification
*/
public void setTaxID (String TaxID);
/** Get Tax ID.
* Tax Identification
*/
public String getTaxID();
/** Column name UnitsCycles */
public static final String COLUMNNAME_UnitsCycles = "UnitsCycles";
/** Set Units by Cycles.
* The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.
*/
public void setUnitsCycles (BigDecimal UnitsCycles);
/** Get Units by Cycles.
* The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.
*/
public BigDecimal getUnitsCycles();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
/** Column name ValidFrom */
public static final String COLUMNNAME_ValidFrom = "ValidFrom";
/** Set Valid from.
* Valid from including this date (first day)
*/
public void setValidFrom (Timestamp ValidFrom);
/** Get Valid from.
* Valid from including this date (first day)
*/
public Timestamp getValidFrom();
/** Column name ValidTo */
public static final String COLUMNNAME_ValidTo = "ValidTo";
/** Set Valid to.
* Valid to including this date (last day)
*/
public void setValidTo (Timestamp ValidTo);
/** Get Valid to.
* Valid to including this date (last day)
*/
public Timestamp getValidTo();
/** Column name Version */
public static final String COLUMNNAME_Version = "Version";
/** Set Version.
* Version of the table definition
*/
public void setVersion (int Version);
/** Get Version.
* Version of the table definition
*/
public int getVersion();
/** Column name WaitingTime */
public static final String COLUMNNAME_WaitingTime = "WaitingTime";
/** Set Waiting Time.
* Workflow Simulation Waiting time
*/
public void setWaitingTime (int WaitingTime);
/** Get Waiting Time.
* Workflow Simulation Waiting time
*/
public int getWaitingTime();
/** Column name Warehouse_Location_ID */
public static final String COLUMNNAME_Warehouse_Location_ID = "Warehouse_Location_ID";
/** Set Warehouse Address.
* Warehouse Location/Address
*/
public void setWarehouse_Location_ID (int Warehouse_Location_ID);
/** Get Warehouse Address.
* Warehouse Location/Address
*/
public int getWarehouse_Location_ID();
/** Column name WorkflowType */
public static final String COLUMNNAME_WorkflowType = "WorkflowType";
/** Set Workflow Type.
* Type of Worflow
*/
public void setWorkflowType (String WorkflowType);
/** Get Workflow Type.
* Type of Worflow
*/
public String getWorkflowType();
/** Column name WorkingTime */
public static final String COLUMNNAME_WorkingTime = "WorkingTime";
/** Set Working Time.
* Workflow Simulation Execution Time
*/
public void setWorkingTime (int WorkingTime);
/** Get Working Time.
* Workflow Simulation Execution Time
*/
public int getWorkingTime();
/** Column name Yield */
public static final String COLUMNNAME_Yield = "Yield";
/** Set Yield %.
* The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
*/
public void setYield (int Yield);
/** Get Yield %.
* The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
*/
public int getYield();
}

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -45,6 +42,14 @@ public interface I_PP_Product_BOM
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -112,6 +117,22 @@ public interface I_PP_Product_BOM
*/
public String getCopyFrom();
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name Description */
public static final String COLUMNNAME_Description = "Description";
@ -151,6 +172,19 @@ public interface I_PP_Product_BOM
*/
public String getHelp();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name M_AttributeSetInstance_ID */
public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID";
@ -238,6 +272,22 @@ public interface I_PP_Product_BOM
/** Get Revision */
public String getRevision();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
/** Column name ValidFrom */
public static final String COLUMNNAME_ValidFrom = "ValidFrom";

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -45,6 +42,14 @@ public interface I_PP_Product_BOMLine
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -112,6 +117,22 @@ public interface I_PP_Product_BOMLine
*/
public String getComponentType();
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name Description */
public static final String COLUMNNAME_Description = "Description";
@ -164,6 +185,19 @@ public interface I_PP_Product_BOMLine
*/
public String getHelp();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name IsCritical */
public static final String COLUMNNAME_IsCritical = "IsCritical";
@ -339,6 +373,22 @@ public interface I_PP_Product_BOMLine
*/
public BigDecimal getScrap();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
/** Column name ValidFrom */
public static final String COLUMNNAME_ValidFrom = "ValidFrom";

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -220,10 +217,14 @@ public interface I_PP_Product_Planning
/** Column name Order_Max */
public static final String COLUMNNAME_Order_Max = "Order_Max";
/** Set Order Max */
/** Set Maximum Order Qty.
* Maximum order quantity in UOM
*/
public void setOrder_Max (BigDecimal Order_Max);
/** Get Order Max */
/** Get Maximum Order Qty.
* Maximum order quantity in UOM
*/
public BigDecimal getOrder_Max();
/** Column name Order_Min */
@ -390,9 +391,13 @@ public interface I_PP_Product_Planning
/** Column name Yield */
public static final String COLUMNNAME_Yield = "Yield";
/** Set Yield */
/** Set Yield %.
* The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
*/
public void setYield (int Yield);
/** Get Yield */
/** Get Yield %.
* The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
*/
public int getYield();
}

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -20,6 +17,7 @@
package org.eevolution.model;
import java.math.BigDecimal;
import java.sql.Timestamp;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
@ -44,6 +42,14 @@ public interface I_PP_WF_Node_Asset
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -87,6 +93,35 @@ public interface I_PP_WF_Node_Asset
public I_A_Asset getA_Asset() throws RuntimeException;
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name PP_WF_Node_Asset_ID */
public static final String COLUMNNAME_PP_WF_Node_Asset_ID = "PP_WF_Node_Asset_ID";
@ -110,4 +145,20 @@ public interface I_PP_WF_Node_Asset
lowest number comes first
*/
public int getSeqNo();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
}

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -20,6 +17,7 @@
package org.eevolution.model;
import java.math.BigDecimal;
import java.sql.Timestamp;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
@ -44,6 +42,14 @@ public interface I_PP_WF_Node_Product
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -85,6 +91,22 @@ public interface I_PP_WF_Node_Product
*/
public String getConfigurationLevel();
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name EntityType */
public static final String COLUMNNAME_EntityType = "EntityType";
@ -100,6 +122,19 @@ public interface I_PP_WF_Node_Product
*/
public String getEntityType();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name IsSubcontracting */
public static final String COLUMNNAME_IsSubcontracting = "IsSubcontracting";
@ -161,12 +196,19 @@ public interface I_PP_WF_Node_Product
*/
public int getSeqNo();
/** Column name Yield */
public static final String COLUMNNAME_Yield = "Yield";
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Set Yield */
public void setYield (int Yield);
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Get Yield */
public int getYield();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
}

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -45,6 +42,14 @@ public interface I_QM_Specification
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -73,6 +78,22 @@ public interface I_QM_Specification
public I_AD_Workflow getAD_Workflow() throws RuntimeException;
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name Description */
public static final String COLUMNNAME_Description = "Description";
@ -86,6 +107,19 @@ public interface I_QM_Specification
*/
public String getDescription();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name M_AttributeSet_ID */
public static final String COLUMNNAME_M_AttributeSet_ID = "M_AttributeSet_ID";
@ -153,6 +187,22 @@ public interface I_QM_Specification
/** Get Quality Specification */
public int getQM_Specification_ID();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
/** Column name ValidFrom */
public static final String COLUMNNAME_ValidFrom = "ValidFrom";

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -45,6 +42,14 @@ public interface I_QM_SpecificationLine
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -71,6 +76,35 @@ public interface I_QM_SpecificationLine
*/
public String getAndOr();
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name M_Attribute_ID */
public static final String COLUMNNAME_M_Attribute_ID = "M_Attribute_ID";
@ -134,6 +168,22 @@ public interface I_QM_SpecificationLine
*/
public int getSeqNo();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
/** Column name ValidFrom */
public static final String COLUMNNAME_ValidFrom = "ValidFrom";

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *

View File

@ -1,17 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -20,6 +17,7 @@
package org.eevolution.model;
import java.math.BigDecimal;
import java.sql.Timestamp;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
@ -44,6 +42,14 @@ public interface I_T_MRP_CRP
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -72,6 +78,22 @@ public interface I_T_MRP_CRP
public I_AD_PInstance getAD_PInstance() throws RuntimeException;
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name Description */
public static final String COLUMNNAME_Description = "Description";
@ -85,6 +107,19 @@ public interface I_T_MRP_CRP
*/
public String getDescription();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name SeqNo */
public static final String COLUMNNAME_SeqNo = "SeqNo";
@ -108,4 +143,20 @@ public interface I_T_MRP_CRP
/** Get Temporal MRP & CRP */
public int getT_MRP_CRP_ID();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
}

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -34,7 +34,7 @@ public class X_DD_NetworkDistribution extends PO implements I_DD_NetworkDistribu
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_DD_NetworkDistribution (Properties ctx, int DD_NetworkDistribution_ID, String trxName)
@ -97,9 +97,10 @@ public class X_DD_NetworkDistribution extends PO implements I_DD_NetworkDistribu
@param DD_NetworkDistribution_ID Network Distribution */
public void setDD_NetworkDistribution_ID (int DD_NetworkDistribution_ID)
{
if (DD_NetworkDistribution_ID < 1)
throw new IllegalArgumentException ("DD_NetworkDistribution_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_DD_NetworkDistribution_ID, Integer.valueOf(DD_NetworkDistribution_ID));
if (DD_NetworkDistribution_ID < 1)
set_ValueNoCheck (COLUMNNAME_DD_NetworkDistribution_ID, null);
else
set_ValueNoCheck (COLUMNNAME_DD_NetworkDistribution_ID, Integer.valueOf(DD_NetworkDistribution_ID));
}
/** Get Network Distribution.
@ -208,8 +209,6 @@ public class X_DD_NetworkDistribution extends PO implements I_DD_NetworkDistribu
*/
public void setName (String Name)
{
if (Name == null)
throw new IllegalArgumentException ("Name is mandatory.");
set_Value (COLUMNNAME_Name, Name);
}
@ -296,8 +295,6 @@ public class X_DD_NetworkDistribution extends PO implements I_DD_NetworkDistribu
*/
public void setValue (String Value)
{
if (Value == null)
throw new IllegalArgumentException ("Value is mandatory.");
set_Value (COLUMNNAME_Value, Value);
}

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -35,7 +35,7 @@ public class X_DD_NetworkDistributionLine extends PO implements I_DD_NetworkDist
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_DD_NetworkDistributionLine (Properties ctx, int DD_NetworkDistributionLine_ID, String trxName)
@ -84,9 +84,10 @@ public class X_DD_NetworkDistributionLine extends PO implements I_DD_NetworkDist
@param DD_NetworkDistributionLine_ID Network Distribution Line */
public void setDD_NetworkDistributionLine_ID (int DD_NetworkDistributionLine_ID)
{
if (DD_NetworkDistributionLine_ID < 1)
throw new IllegalArgumentException ("DD_NetworkDistributionLine_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_DD_NetworkDistributionLine_ID, Integer.valueOf(DD_NetworkDistributionLine_ID));
if (DD_NetworkDistributionLine_ID < 1)
set_ValueNoCheck (COLUMNNAME_DD_NetworkDistributionLine_ID, null);
else
set_ValueNoCheck (COLUMNNAME_DD_NetworkDistributionLine_ID, Integer.valueOf(DD_NetworkDistributionLine_ID));
}
/** Get Network Distribution Line.
@ -119,9 +120,10 @@ public class X_DD_NetworkDistributionLine extends PO implements I_DD_NetworkDist
@param DD_NetworkDistribution_ID Network Distribution */
public void setDD_NetworkDistribution_ID (int DD_NetworkDistribution_ID)
{
if (DD_NetworkDistribution_ID < 1)
throw new IllegalArgumentException ("DD_NetworkDistribution_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_DD_NetworkDistribution_ID, Integer.valueOf(DD_NetworkDistribution_ID));
if (DD_NetworkDistribution_ID < 1)
set_ValueNoCheck (COLUMNNAME_DD_NetworkDistribution_ID, null);
else
set_ValueNoCheck (COLUMNNAME_DD_NetworkDistribution_ID, Integer.valueOf(DD_NetworkDistribution_ID));
}
/** Get Network Distribution.
@ -156,9 +158,10 @@ public class X_DD_NetworkDistributionLine extends PO implements I_DD_NetworkDist
*/
public void setM_Shipper_ID (int M_Shipper_ID)
{
if (M_Shipper_ID < 1)
throw new IllegalArgumentException ("M_Shipper_ID is mandatory.");
set_Value (COLUMNNAME_M_Shipper_ID, Integer.valueOf(M_Shipper_ID));
if (M_Shipper_ID < 1)
set_Value (COLUMNNAME_M_Shipper_ID, null);
else
set_Value (COLUMNNAME_M_Shipper_ID, Integer.valueOf(M_Shipper_ID));
}
/** Get Shipper.
@ -178,9 +181,10 @@ public class X_DD_NetworkDistributionLine extends PO implements I_DD_NetworkDist
*/
public void setM_WarehouseSource_ID (int M_WarehouseSource_ID)
{
if (M_WarehouseSource_ID < 1)
throw new IllegalArgumentException ("M_WarehouseSource_ID is mandatory.");
set_Value (COLUMNNAME_M_WarehouseSource_ID, Integer.valueOf(M_WarehouseSource_ID));
if (M_WarehouseSource_ID < 1)
set_Value (COLUMNNAME_M_WarehouseSource_ID, null);
else
set_Value (COLUMNNAME_M_WarehouseSource_ID, Integer.valueOf(M_WarehouseSource_ID));
}
/** Get Source Warehouse.
@ -200,9 +204,10 @@ public class X_DD_NetworkDistributionLine extends PO implements I_DD_NetworkDist
*/
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));
if (M_Warehouse_ID < 1)
set_Value (COLUMNNAME_M_Warehouse_ID, null);
else
set_Value (COLUMNNAME_M_Warehouse_ID, Integer.valueOf(M_Warehouse_ID));
}
/** Get Warehouse.

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -36,7 +36,7 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_DD_Order (Properties ctx, int DD_Order_ID, String trxName)
@ -224,9 +224,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
*/
public void setC_BPartner_ID (int C_BPartner_ID)
{
if (C_BPartner_ID < 1)
throw new IllegalArgumentException ("C_BPartner_ID is mandatory.");
set_Value (COLUMNNAME_C_BPartner_ID, Integer.valueOf(C_BPartner_ID));
if (C_BPartner_ID < 1)
set_Value (COLUMNNAME_C_BPartner_ID, null);
else
set_Value (COLUMNNAME_C_BPartner_ID, Integer.valueOf(C_BPartner_ID));
}
/** Get Business Partner .
@ -363,9 +364,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
*/
public void setC_DocType_ID (int C_DocType_ID)
{
if (C_DocType_ID < 0)
throw new IllegalArgumentException ("C_DocType_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_C_DocType_ID, Integer.valueOf(C_DocType_ID));
if (C_DocType_ID < 0)
set_ValueNoCheck (COLUMNNAME_C_DocType_ID, null);
else
set_ValueNoCheck (COLUMNNAME_C_DocType_ID, Integer.valueOf(C_DocType_ID));
}
/** Get Document Type.
@ -565,9 +567,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
@param DD_Order_ID Distribution Order */
public void setDD_Order_ID (int DD_Order_ID)
{
if (DD_Order_ID < 1)
throw new IllegalArgumentException ("DD_Order_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_DD_Order_ID, Integer.valueOf(DD_Order_ID));
if (DD_Order_ID < 1)
set_ValueNoCheck (COLUMNNAME_DD_Order_ID, null);
else
set_ValueNoCheck (COLUMNNAME_DD_Order_ID, Integer.valueOf(DD_Order_ID));
}
/** Get Distribution Order.
@ -668,9 +671,6 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
*/
public void setDeliveryRule (String DeliveryRule)
{
if (DeliveryRule == null) throw new IllegalArgumentException ("DeliveryRule is mandatory");
if (DeliveryRule.equals("R") || DeliveryRule.equals("A") || DeliveryRule.equals("L") || DeliveryRule.equals("O") || DeliveryRule.equals("F") || DeliveryRule.equals("M"));
else throw new IllegalArgumentException ("DeliveryRule Invalid value - " + DeliveryRule + " - Reference_ID=151 - R - A - L - O - F - M");
set_Value (COLUMNNAME_DeliveryRule, DeliveryRule);
}
@ -697,9 +697,6 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
*/
public void setDeliveryViaRule (String DeliveryViaRule)
{
if (DeliveryViaRule == null) throw new IllegalArgumentException ("DeliveryViaRule is mandatory");
if (DeliveryViaRule.equals("P") || DeliveryViaRule.equals("D") || DeliveryViaRule.equals("S"));
else throw new IllegalArgumentException ("DeliveryViaRule Invalid value - " + DeliveryViaRule + " - Reference_ID=152 - P - D - S");
set_Value (COLUMNNAME_DeliveryViaRule, DeliveryViaRule);
}
@ -765,9 +762,6 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
*/
public void setDocAction (String DocAction)
{
if (DocAction == null) throw new IllegalArgumentException ("DocAction is mandatory");
if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC"));
else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC");
set_Value (COLUMNNAME_DocAction, DocAction);
}
@ -812,9 +806,6 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
*/
public void setDocStatus (String DocStatus)
{
if (DocStatus == null) throw new IllegalArgumentException ("DocStatus is mandatory");
if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC"));
else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC");
set_Value (COLUMNNAME_DocStatus, DocStatus);
}
@ -833,8 +824,6 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
*/
public void setDocumentNo (String DocumentNo)
{
if (DocumentNo == null)
throw new IllegalArgumentException ("DocumentNo is mandatory.");
set_ValueNoCheck (COLUMNNAME_DocumentNo, DocumentNo);
}
@ -890,9 +879,6 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
*/
public void setFreightCostRule (String FreightCostRule)
{
if (FreightCostRule == null) throw new IllegalArgumentException ("FreightCostRule is mandatory");
if (FreightCostRule.equals("I") || FreightCostRule.equals("F") || FreightCostRule.equals("C") || FreightCostRule.equals("L"));
else throw new IllegalArgumentException ("FreightCostRule Invalid value - " + FreightCostRule + " - Reference_ID=153 - I - F - C - L");
set_Value (COLUMNNAME_FreightCostRule, FreightCostRule);
}
@ -1169,9 +1155,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
*/
public void setM_Warehouse_ID (int M_Warehouse_ID)
{
if (M_Warehouse_ID < 1)
throw new IllegalArgumentException ("M_Warehouse_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_M_Warehouse_ID, Integer.valueOf(M_Warehouse_ID));
if (M_Warehouse_ID < 1)
set_ValueNoCheck (COLUMNNAME_M_Warehouse_ID, null);
else
set_ValueNoCheck (COLUMNNAME_M_Warehouse_ID, Integer.valueOf(M_Warehouse_ID));
}
/** Get Warehouse.
@ -1281,9 +1268,6 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
*/
public void setPriorityRule (String PriorityRule)
{
if (PriorityRule == null) throw new IllegalArgumentException ("PriorityRule is mandatory");
if (PriorityRule.equals("3") || PriorityRule.equals("5") || PriorityRule.equals("7") || PriorityRule.equals("1") || PriorityRule.equals("9"));
else throw new IllegalArgumentException ("PriorityRule Invalid value - " + PriorityRule + " - Reference_ID=154 - 3 - 5 - 7 - 1 - 9");
set_Value (COLUMNNAME_PriorityRule, PriorityRule);
}

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -36,7 +36,7 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_DD_OrderLine (Properties ctx, int DD_OrderLine_ID, String trxName)
@ -52,7 +52,7 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
// N
setIsInvoiced (false);
setLine (0);
// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM DD_OrderLine WHERE DD_OrderLine_ID=@DD_OrderLine_ID@
// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM DD_OrderLine WHERE DD_OrderLine_ID=@DD_Order_ID@
setM_LocatorTo_ID (0);
// @M_LocatorTo_ID@
setM_Locator_ID (0);
@ -294,9 +294,10 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
*/
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));
if (C_UOM_ID < 1)
set_ValueNoCheck (COLUMNNAME_C_UOM_ID, null);
else
set_ValueNoCheck (COLUMNNAME_C_UOM_ID, Integer.valueOf(C_UOM_ID));
}
/** Get UOM.
@ -334,9 +335,10 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
@param DD_OrderLine_ID Distribution Order Line */
public void setDD_OrderLine_ID (int DD_OrderLine_ID)
{
if (DD_OrderLine_ID < 1)
throw new IllegalArgumentException ("DD_OrderLine_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_DD_OrderLine_ID, Integer.valueOf(DD_OrderLine_ID));
if (DD_OrderLine_ID < 1)
set_ValueNoCheck (COLUMNNAME_DD_OrderLine_ID, null);
else
set_ValueNoCheck (COLUMNNAME_DD_OrderLine_ID, Integer.valueOf(DD_OrderLine_ID));
}
/** Get Distribution Order Line.
@ -369,9 +371,10 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
@param DD_Order_ID Distribution Order */
public void setDD_Order_ID (int DD_Order_ID)
{
if (DD_Order_ID < 1)
throw new IllegalArgumentException ("DD_Order_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_DD_Order_ID, Integer.valueOf(DD_Order_ID));
if (DD_Order_ID < 1)
set_ValueNoCheck (COLUMNNAME_DD_Order_ID, null);
else
set_ValueNoCheck (COLUMNNAME_DD_Order_ID, Integer.valueOf(DD_Order_ID));
}
/** Get Distribution Order.
@ -597,7 +600,7 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
*/
public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID)
{
if (M_AttributeSetInstance_ID < 1)
if (M_AttributeSetInstance_ID < 0)
set_Value (COLUMNNAME_M_AttributeSetInstance_ID, null);
else
set_Value (COLUMNNAME_M_AttributeSetInstance_ID, Integer.valueOf(M_AttributeSetInstance_ID));
@ -620,9 +623,10 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
*/
public void setM_LocatorTo_ID (int M_LocatorTo_ID)
{
if (M_LocatorTo_ID < 1)
throw new IllegalArgumentException ("M_LocatorTo_ID is mandatory.");
set_Value (COLUMNNAME_M_LocatorTo_ID, Integer.valueOf(M_LocatorTo_ID));
if (M_LocatorTo_ID < 1)
set_Value (COLUMNNAME_M_LocatorTo_ID, null);
else
set_Value (COLUMNNAME_M_LocatorTo_ID, Integer.valueOf(M_LocatorTo_ID));
}
/** Get Locator To.
@ -658,9 +662,10 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
*/
public void setM_Locator_ID (int M_Locator_ID)
{
if (M_Locator_ID < 1)
throw new IllegalArgumentException ("M_Locator_ID is mandatory.");
set_Value (COLUMNNAME_M_Locator_ID, Integer.valueOf(M_Locator_ID));
if (M_Locator_ID < 1)
set_Value (COLUMNNAME_M_Locator_ID, null);
else
set_Value (COLUMNNAME_M_Locator_ID, Integer.valueOf(M_Locator_ID));
}
/** Get Locator.
@ -764,8 +769,6 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
*/
public void setQtyEntered (BigDecimal QtyEntered)
{
if (QtyEntered == null)
throw new IllegalArgumentException ("QtyEntered is mandatory.");
set_Value (COLUMNNAME_QtyEntered, QtyEntered);
}
@ -803,8 +806,6 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
*/
public void setQtyOrdered (BigDecimal QtyOrdered)
{
if (QtyOrdered == null)
throw new IllegalArgumentException ("QtyOrdered is mandatory.");
set_Value (COLUMNNAME_QtyOrdered, QtyOrdered);
}

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -36,7 +36,7 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_PP_Cost_Collector (Properties ctx, int PP_Cost_Collector_ID, String trxName)
@ -239,9 +239,10 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
*/
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));
if (C_DocTypeTarget_ID < 1)
set_ValueNoCheck (COLUMNNAME_C_DocTypeTarget_ID, null);
else
set_ValueNoCheck (COLUMNNAME_C_DocTypeTarget_ID, Integer.valueOf(C_DocTypeTarget_ID));
}
/** Get Target Document Type.
@ -261,9 +262,10 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
*/
public void setC_DocType_ID (int C_DocType_ID)
{
if (C_DocType_ID < 0)
throw new IllegalArgumentException ("C_DocType_ID is mandatory.");
set_Value (COLUMNNAME_C_DocType_ID, Integer.valueOf(C_DocType_ID));
if (C_DocType_ID < 0)
set_Value (COLUMNNAME_C_DocType_ID, null);
else
set_Value (COLUMNNAME_C_DocType_ID, Integer.valueOf(C_DocType_ID));
}
/** Get Document Type.
@ -377,9 +379,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
*/
public void setCostCollectorType (String CostCollectorType)
{
if (CostCollectorType == null) throw new IllegalArgumentException ("CostCollectorType is mandatory");
if (CostCollectorType.equals("100") || CostCollectorType.equals("110") || CostCollectorType.equals("120") || CostCollectorType.equals("130") || CostCollectorType.equals("140") || CostCollectorType.equals("150") || CostCollectorType.equals("160"));
else throw new IllegalArgumentException ("CostCollectorType Invalid value - " + CostCollectorType + " - Reference_ID=53287 - 100 - 110 - 120 - 130 - 140 - 150 - 160");
set_Value (COLUMNNAME_CostCollectorType, CostCollectorType);
}
@ -398,8 +397,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
*/
public void setDateAcct (Timestamp DateAcct)
{
if (DateAcct == null)
throw new IllegalArgumentException ("DateAcct is mandatory.");
set_Value (COLUMNNAME_DateAcct, DateAcct);
}
@ -465,9 +462,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
public void setDocAction (String DocAction)
{
if (DocAction == null || DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC"));
else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC");
set_Value (COLUMNNAME_DocAction, DocAction);
}
@ -512,9 +506,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
public void setDocStatus (String DocStatus)
{
if (DocStatus == null || DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC"));
else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC");
set_Value (COLUMNNAME_DocStatus, DocStatus);
}
@ -608,7 +599,7 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
*/
public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID)
{
if (M_AttributeSetInstance_ID < 1)
if (M_AttributeSetInstance_ID < 0)
set_Value (COLUMNNAME_M_AttributeSetInstance_ID, null);
else
set_Value (COLUMNNAME_M_AttributeSetInstance_ID, Integer.valueOf(M_AttributeSetInstance_ID));
@ -631,9 +622,10 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
*/
public void setM_Locator_ID (int M_Locator_ID)
{
if (M_Locator_ID < 1)
throw new IllegalArgumentException ("M_Locator_ID is mandatory.");
set_Value (COLUMNNAME_M_Locator_ID, Integer.valueOf(M_Locator_ID));
if (M_Locator_ID < 1)
set_Value (COLUMNNAME_M_Locator_ID, null);
else
set_Value (COLUMNNAME_M_Locator_ID, Integer.valueOf(M_Locator_ID));
}
/** Get Locator.
@ -669,9 +661,10 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
*/
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));
if (M_Product_ID < 1)
set_Value (COLUMNNAME_M_Product_ID, null);
else
set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID));
}
/** Get Product.
@ -715,9 +708,10 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
*/
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));
if (M_Warehouse_ID < 1)
set_Value (COLUMNNAME_M_Warehouse_ID, null);
else
set_Value (COLUMNNAME_M_Warehouse_ID, Integer.valueOf(M_Warehouse_ID));
}
/** Get Warehouse.
@ -737,8 +731,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
*/
public void setMovementDate (Timestamp MovementDate)
{
if (MovementDate == null)
throw new IllegalArgumentException ("MovementDate is mandatory.");
set_Value (COLUMNNAME_MovementDate, MovementDate);
}
@ -756,8 +748,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
*/
public void setMovementQty (BigDecimal MovementQty)
{
if (MovementQty == null)
throw new IllegalArgumentException ("MovementQty is mandatory.");
set_Value (COLUMNNAME_MovementQty, MovementQty);
}
@ -776,9 +766,10 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
@param PP_Cost_Collector_ID Manufacturing Cost Collector */
public void setPP_Cost_Collector_ID (int PP_Cost_Collector_ID)
{
if (PP_Cost_Collector_ID < 1)
throw new IllegalArgumentException ("PP_Cost_Collector_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Cost_Collector_ID, Integer.valueOf(PP_Cost_Collector_ID));
if (PP_Cost_Collector_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Cost_Collector_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Cost_Collector_ID, Integer.valueOf(PP_Cost_Collector_ID));
}
/** Get Manufacturing Cost Collector.
@ -847,9 +838,10 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
@param PP_Order_ID Manufacturing Order */
public void setPP_Order_ID (int PP_Order_ID)
{
if (PP_Order_ID < 1)
throw new IllegalArgumentException ("PP_Order_ID is mandatory.");
set_Value (COLUMNNAME_PP_Order_ID, Integer.valueOf(PP_Order_ID));
if (PP_Order_ID < 1)
set_Value (COLUMNNAME_PP_Order_ID, null);
else
set_Value (COLUMNNAME_PP_Order_ID, Integer.valueOf(PP_Order_ID));
}
/** Get Manufacturing Order.
@ -1065,9 +1057,10 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
*/
public void setS_Resource_ID (int S_Resource_ID)
{
if (S_Resource_ID < 1)
throw new IllegalArgumentException ("S_Resource_ID is mandatory.");
set_Value (COLUMNNAME_S_Resource_ID, Integer.valueOf(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.

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -83,9 +83,10 @@ public class X_PP_Cost_CollectorMA extends PO implements I_PP_Cost_CollectorMA,
*/
public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID)
{
if (M_AttributeSetInstance_ID < 0)
throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory.");
set_Value (COLUMNNAME_M_AttributeSetInstance_ID, Integer.valueOf(M_AttributeSetInstance_ID));
if (M_AttributeSetInstance_ID < 0)
set_Value (COLUMNNAME_M_AttributeSetInstance_ID, null);
else
set_Value (COLUMNNAME_M_AttributeSetInstance_ID, Integer.valueOf(M_AttributeSetInstance_ID));
}
/** Get Attribute Set Instance.
@ -105,8 +106,6 @@ public class X_PP_Cost_CollectorMA extends PO implements I_PP_Cost_CollectorMA,
*/
public void setMovementQty (BigDecimal MovementQty)
{
if (MovementQty == null)
throw new IllegalArgumentException ("MovementQty is mandatory.");
set_Value (COLUMNNAME_MovementQty, MovementQty);
}
@ -125,9 +124,10 @@ public class X_PP_Cost_CollectorMA extends PO implements I_PP_Cost_CollectorMA,
@param PP_Cost_CollectorMA_ID Manufacturing Order MA */
public void setPP_Cost_CollectorMA_ID (int PP_Cost_CollectorMA_ID)
{
if (PP_Cost_CollectorMA_ID < 1)
throw new IllegalArgumentException ("PP_Cost_CollectorMA_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Cost_CollectorMA_ID, Integer.valueOf(PP_Cost_CollectorMA_ID));
if (PP_Cost_CollectorMA_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Cost_CollectorMA_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Cost_CollectorMA_ID, Integer.valueOf(PP_Cost_CollectorMA_ID));
}
/** Get Manufacturing Order MA.
@ -160,9 +160,10 @@ public class X_PP_Cost_CollectorMA extends PO implements I_PP_Cost_CollectorMA,
@param PP_Cost_Collector_ID Manufacturing Cost Collector */
public void setPP_Cost_Collector_ID (int PP_Cost_Collector_ID)
{
if (PP_Cost_Collector_ID < 1)
throw new IllegalArgumentException ("PP_Cost_Collector_ID is mandatory.");
set_Value (COLUMNNAME_PP_Cost_Collector_ID, Integer.valueOf(PP_Cost_Collector_ID));
if (PP_Cost_Collector_ID < 1)
set_Value (COLUMNNAME_PP_Cost_Collector_ID, null);
else
set_Value (COLUMNNAME_PP_Cost_Collector_ID, Integer.valueOf(PP_Cost_Collector_ID));
}
/** Get Manufacturing Cost Collector.

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -303,8 +303,6 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
*/
public void setDateOrdered (Timestamp DateOrdered)
{
if (DateOrdered == null)
throw new IllegalArgumentException ("DateOrdered is mandatory.");
set_Value (COLUMNNAME_DateOrdered, DateOrdered);
}
@ -322,8 +320,6 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
*/
public void setDatePromised (Timestamp DatePromised)
{
if (DatePromised == null)
throw new IllegalArgumentException ("DatePromised is mandatory.");
set_Value (COLUMNNAME_DatePromised, DatePromised);
}
@ -427,7 +423,7 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
public void setDocStatus (String DocStatus)
{
if (DocStatus == null || DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC")); else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC"); set_Value (COLUMNNAME_DocStatus, DocStatus);
set_Value (COLUMNNAME_DocStatus, DocStatus);
}
/** Get Document Status.
@ -679,9 +675,10 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
*/
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));
if (M_Warehouse_ID < 1)
set_Value (COLUMNNAME_M_Warehouse_ID, null);
else
set_Value (COLUMNNAME_M_Warehouse_ID, Integer.valueOf(M_Warehouse_ID));
}
/** Get Warehouse.
@ -739,7 +736,7 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
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"); set_Value (COLUMNNAME_OrderType, OrderType);
set_Value (COLUMNNAME_OrderType, OrderType);
}
/** Get OrderType.
@ -753,9 +750,10 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
@param PP_MRP_ID Material Requirement Planning */
public void setPP_MRP_ID (int PP_MRP_ID)
{
if (PP_MRP_ID < 1)
throw new IllegalArgumentException ("PP_MRP_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_MRP_ID, Integer.valueOf(PP_MRP_ID));
if (PP_MRP_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_MRP_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_MRP_ID, Integer.valueOf(PP_MRP_ID));
}
/** Get Material Requirement Planning.
@ -947,7 +945,7 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
public void setTypeMRP (String TypeMRP)
{
if (TypeMRP == null || TypeMRP.equals("D") || TypeMRP.equals("S")); else throw new IllegalArgumentException ("TypeMRP Invalid value - " + TypeMRP + " - Reference_ID=53230 - D - S"); set_Value (COLUMNNAME_TypeMRP, TypeMRP);
set_Value (COLUMNNAME_TypeMRP, TypeMRP);
}
/** Get TypeMRP.
@ -963,8 +961,6 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
*/
public void setValue (String Value)
{
if (Value == null)
throw new IllegalArgumentException ("Value is mandatory.");
set_Value (COLUMNNAME_Value, Value);
}

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -36,7 +36,7 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_PP_Order (Properties ctx, int PP_Order_ID, String trxName)
@ -162,9 +162,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
*/
public void setAD_Workflow_ID (int AD_Workflow_ID)
{
if (AD_Workflow_ID < 1)
throw new IllegalArgumentException ("AD_Workflow_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_AD_Workflow_ID, Integer.valueOf(AD_Workflow_ID));
if (AD_Workflow_ID < 1)
set_ValueNoCheck (COLUMNNAME_AD_Workflow_ID, null);
else
set_ValueNoCheck (COLUMNNAME_AD_Workflow_ID, Integer.valueOf(AD_Workflow_ID));
}
/** Get Workflow.
@ -282,9 +283,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
*/
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));
if (C_DocTypeTarget_ID < 1)
set_ValueNoCheck (COLUMNNAME_C_DocTypeTarget_ID, null);
else
set_ValueNoCheck (COLUMNNAME_C_DocTypeTarget_ID, Integer.valueOf(C_DocTypeTarget_ID));
}
/** Get Target Document Type.
@ -304,7 +306,7 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
*/
public void setC_DocType_ID (int C_DocType_ID)
{
if (C_DocType_ID < 1)
if (C_DocType_ID < 0)
set_Value (COLUMNNAME_C_DocType_ID, null);
else
set_Value (COLUMNNAME_C_DocType_ID, Integer.valueOf(C_DocType_ID));
@ -421,9 +423,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
*/
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));
if (C_UOM_ID < 1)
set_ValueNoCheck (COLUMNNAME_C_UOM_ID, null);
else
set_ValueNoCheck (COLUMNNAME_C_UOM_ID, Integer.valueOf(C_UOM_ID));
}
/** Get UOM.
@ -522,8 +525,6 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
*/
public void setDateOrdered (Timestamp DateOrdered)
{
if (DateOrdered == null)
throw new IllegalArgumentException ("DateOrdered is mandatory.");
set_Value (COLUMNNAME_DateOrdered, DateOrdered);
}
@ -541,8 +542,6 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
*/
public void setDatePromised (Timestamp DatePromised)
{
if (DatePromised == null)
throw new IllegalArgumentException ("DatePromised is mandatory.");
set_Value (COLUMNNAME_DatePromised, DatePromised);
}
@ -572,8 +571,6 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
@param DateStartSchedule DateStartSchedule */
public void setDateStartSchedule (Timestamp DateStartSchedule)
{
if (DateStartSchedule == null)
throw new IllegalArgumentException ("DateStartSchedule is mandatory.");
set_Value (COLUMNNAME_DateStartSchedule, DateStartSchedule);
}
@ -637,9 +634,6 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
*/
public void setDocAction (String DocAction)
{
if (DocAction == null) throw new IllegalArgumentException ("DocAction is mandatory");
if (DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC"));
else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC");
set_Value (COLUMNNAME_DocAction, DocAction);
}
@ -684,9 +678,6 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
*/
public void setDocStatus (String DocStatus)
{
if (DocStatus == null) throw new IllegalArgumentException ("DocStatus is mandatory");
if (DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC"));
else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC");
set_Value (COLUMNNAME_DocStatus, DocStatus);
}
@ -705,8 +696,6 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
*/
public void setDocumentNo (String DocumentNo)
{
if (DocumentNo == null)
throw new IllegalArgumentException ("DocumentNo is mandatory.");
set_Value (COLUMNNAME_DocumentNo, DocumentNo);
}
@ -920,7 +909,7 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
*/
public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID)
{
if (M_AttributeSetInstance_ID < 1)
if (M_AttributeSetInstance_ID < 0)
set_Value (COLUMNNAME_M_AttributeSetInstance_ID, null);
else
set_Value (COLUMNNAME_M_AttributeSetInstance_ID, Integer.valueOf(M_AttributeSetInstance_ID));
@ -943,9 +932,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
*/
public void setM_Product_ID (int M_Product_ID)
{
if (M_Product_ID < 1)
throw new IllegalArgumentException ("M_Product_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID));
if (M_Product_ID < 1)
set_ValueNoCheck (COLUMNNAME_M_Product_ID, null);
else
set_ValueNoCheck (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID));
}
/** Get Product.
@ -981,9 +971,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
*/
public void setM_Warehouse_ID (int M_Warehouse_ID)
{
if (M_Warehouse_ID < 1)
throw new IllegalArgumentException ("M_Warehouse_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_M_Warehouse_ID, Integer.valueOf(M_Warehouse_ID));
if (M_Warehouse_ID < 1)
set_ValueNoCheck (COLUMNNAME_M_Warehouse_ID, null);
else
set_ValueNoCheck (COLUMNNAME_M_Warehouse_ID, Integer.valueOf(M_Warehouse_ID));
}
/** Get Warehouse.
@ -1015,9 +1006,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
@param PP_Order_ID Manufacturing Order */
public void setPP_Order_ID (int PP_Order_ID)
{
if (PP_Order_ID < 1)
throw new IllegalArgumentException ("PP_Order_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, Integer.valueOf(PP_Order_ID));
if (PP_Order_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, Integer.valueOf(PP_Order_ID));
}
/** Get Manufacturing Order.
@ -1052,9 +1044,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
*/
public void setPP_Product_BOM_ID (int PP_Product_BOM_ID)
{
if (PP_Product_BOM_ID < 1)
throw new IllegalArgumentException ("PP_Product_BOM_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Product_BOM_ID, Integer.valueOf(PP_Product_BOM_ID));
if (PP_Product_BOM_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Product_BOM_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Product_BOM_ID, Integer.valueOf(PP_Product_BOM_ID));
}
/** Get BOM & Formula.
@ -1130,9 +1123,6 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
*/
public void setPriorityRule (String PriorityRule)
{
if (PriorityRule == null) throw new IllegalArgumentException ("PriorityRule is mandatory");
if (PriorityRule.equals("3") || PriorityRule.equals("5") || PriorityRule.equals("7") || PriorityRule.equals("1") || PriorityRule.equals("9"));
else throw new IllegalArgumentException ("PriorityRule Invalid value - " + PriorityRule + " - Reference_ID=154 - 3 - 5 - 7 - 1 - 9");
set_Value (COLUMNNAME_PriorityRule, PriorityRule);
}
@ -1230,8 +1220,6 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
*/
public void setQtyDelivered (BigDecimal QtyDelivered)
{
if (QtyDelivered == null)
throw new IllegalArgumentException ("QtyDelivered is mandatory.");
set_Value (COLUMNNAME_QtyDelivered, QtyDelivered);
}
@ -1272,8 +1260,6 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
*/
public void setQtyOrdered (BigDecimal QtyOrdered)
{
if (QtyOrdered == null)
throw new IllegalArgumentException ("QtyOrdered is mandatory.");
set_ValueNoCheck (COLUMNNAME_QtyOrdered, QtyOrdered);
}
@ -1292,8 +1278,6 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
@param QtyReject Qty Reject */
public void setQtyReject (BigDecimal QtyReject)
{
if (QtyReject == null)
throw new IllegalArgumentException ("QtyReject is mandatory.");
set_Value (COLUMNNAME_QtyReject, QtyReject);
}
@ -1333,8 +1317,6 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
*/
public void setQtyScrap (BigDecimal QtyScrap)
{
if (QtyScrap == null)
throw new IllegalArgumentException ("QtyScrap is mandatory.");
set_Value (COLUMNNAME_QtyScrap, QtyScrap);
}
@ -1371,9 +1353,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
*/
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));
if (S_Resource_ID < 1)
set_ValueNoCheck (COLUMNNAME_S_Resource_ID, null);
else
set_ValueNoCheck (COLUMNNAME_S_Resource_ID, Integer.valueOf(S_Resource_ID));
}
/** Get Resource.
@ -1467,17 +1450,18 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
return ii.intValue();
}
/** Set Yield.
@param Yield Yield */
/** Set Yield %.
@param Yield
The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
*/
public void setYield (BigDecimal Yield)
{
if (Yield == null)
throw new IllegalArgumentException ("Yield is mandatory.");
set_Value (COLUMNNAME_Yield, Yield);
}
/** Get Yield.
@return Yield */
/** Get Yield %.
@return The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
*/
public BigDecimal getYield ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Yield);

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -34,7 +34,7 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_PP_Order_BOM (Properties ctx, int PP_Order_BOM_ID, String trxName)
@ -107,9 +107,6 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent
public void setBOMType (String BOMType)
{
if (BOMType == null || BOMType.equals("A") || BOMType.equals("O") || BOMType.equals("P") || BOMType.equals("S") || BOMType.equals("F") || BOMType.equals("M") || BOMType.equals("R") || BOMType.equals("C") || BOMType.equals("K"));
else throw new IllegalArgumentException ("BOMType Invalid value - " + BOMType + " - Reference_ID=347 - A - O - P - S - F - M - R - C - K");
set_Value (COLUMNNAME_BOMType, BOMType);
}
@ -140,9 +137,6 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent
public void setBOMUse (String BOMUse)
{
if (BOMUse == null || BOMUse.equals("A") || BOMUse.equals("E") || BOMUse.equals("M") || BOMUse.equals("P") || BOMUse.equals("Q"));
else throw new IllegalArgumentException ("BOMUse Invalid value - " + BOMUse + " - Reference_ID=348 - A - E - M - P - Q");
set_Value (COLUMNNAME_BOMUse, BOMUse);
}
@ -176,9 +170,10 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent
*/
public void setC_UOM_ID (int C_UOM_ID)
{
if (C_UOM_ID < 1)
throw new IllegalArgumentException ("C_UOM_ID is mandatory.");
set_Value (COLUMNNAME_C_UOM_ID, Integer.valueOf(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.
@ -266,7 +261,7 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent
*/
public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID)
{
if (M_AttributeSetInstance_ID < 1)
if (M_AttributeSetInstance_ID < 0)
set_Value (COLUMNNAME_M_AttributeSetInstance_ID, null);
else
set_Value (COLUMNNAME_M_AttributeSetInstance_ID, Integer.valueOf(M_AttributeSetInstance_ID));
@ -344,9 +339,10 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent
*/
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));
if (M_Product_ID < 1)
set_Value (COLUMNNAME_M_Product_ID, null);
else
set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID));
}
/** Get Product.
@ -366,8 +362,6 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent
*/
public void setName (String Name)
{
if (Name == null)
throw new IllegalArgumentException ("Name is mandatory.");
set_Value (COLUMNNAME_Name, Name);
}
@ -391,9 +385,10 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent
@param PP_Order_BOM_ID Manufacturing Order BOM */
public void setPP_Order_BOM_ID (int PP_Order_BOM_ID)
{
if (PP_Order_BOM_ID < 1)
throw new IllegalArgumentException ("PP_Order_BOM_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Order_BOM_ID, Integer.valueOf(PP_Order_BOM_ID));
if (PP_Order_BOM_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_BOM_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_BOM_ID, Integer.valueOf(PP_Order_BOM_ID));
}
/** Get Manufacturing Order BOM.
@ -426,9 +421,10 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent
@param PP_Order_ID Manufacturing Order */
public void setPP_Order_ID (int PP_Order_ID)
{
if (PP_Order_ID < 1)
throw new IllegalArgumentException ("PP_Order_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, Integer.valueOf(PP_Order_ID));
if (PP_Order_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, Integer.valueOf(PP_Order_ID));
}
/** Get Manufacturing Order.
@ -482,8 +478,6 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent
*/
public void setValidFrom (Timestamp ValidFrom)
{
if (ValidFrom == null)
throw new IllegalArgumentException ("ValidFrom is mandatory.");
set_Value (COLUMNNAME_ValidFrom, ValidFrom);
}
@ -518,8 +512,6 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent
*/
public void setValue (String Value)
{
if (Value == null)
throw new IllegalArgumentException ("Value is mandatory.");
set_Value (COLUMNNAME_Value, Value);
}

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -36,7 +36,7 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_PP_Order_BOMLine (Properties ctx, int PP_Order_BOMLine_ID, String trxName)
@ -176,9 +176,10 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
*/
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));
if (C_UOM_ID < 1)
set_ValueNoCheck (COLUMNNAME_C_UOM_ID, null);
else
set_ValueNoCheck (COLUMNNAME_C_UOM_ID, Integer.valueOf(C_UOM_ID));
}
/** Get UOM.
@ -194,8 +195,8 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
/** ComponentType AD_Reference_ID=53225 */
public static final int COMPONENTTYPE_AD_Reference_ID=53225;
/** By Product = BY */
public static final String COMPONENTTYPE_ByProduct = "BY";
/** By-Product = BY */
public static final String COMPONENTTYPE_By_Product = "BY";
/** Component = CO */
public static final String COMPONENTTYPE_Component = "CO";
/** Phantom = PH */
@ -210,6 +211,8 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
public static final String COMPONENTTYPE_Option = "OP";
/** Variant = VA */
public static final String COMPONENTTYPE_Variant = "VA";
/** Co-Product = CP */
public static final String COMPONENTTYPE_Co_Product = "CP";
/** Set Component Type.
@param ComponentType
Component Type for a Bill of Material or Formula
@ -217,9 +220,6 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
public void setComponentType (String ComponentType)
{
if (ComponentType == null || ComponentType.equals("BY") || ComponentType.equals("CO") || ComponentType.equals("PH") || ComponentType.equals("PK") || ComponentType.equals("PL") || ComponentType.equals("TL") || ComponentType.equals("OP") || ComponentType.equals("VA"));
else throw new IllegalArgumentException ("ComponentType Invalid value - " + ComponentType + " - Reference_ID=53225 - BY - CO - PH - PK - PL - TL - OP - VA");
set_Value (COLUMNNAME_ComponentType, ComponentType);
}
@ -382,9 +382,6 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
public void setIssueMethod (String IssueMethod)
{
if (IssueMethod == null || IssueMethod.equals("0") || IssueMethod.equals("1") || IssueMethod.equals("2"));
else throw new IllegalArgumentException ("IssueMethod Invalid value - " + IssueMethod + " - Reference_ID=53226 - 0 - 1 - 2");
set_Value (COLUMNNAME_IssueMethod, IssueMethod);
}
@ -442,7 +439,7 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
*/
public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID)
{
if (M_AttributeSetInstance_ID < 1)
if (M_AttributeSetInstance_ID < 0)
set_ValueNoCheck (COLUMNNAME_M_AttributeSetInstance_ID, null);
else
set_ValueNoCheck (COLUMNNAME_M_AttributeSetInstance_ID, Integer.valueOf(M_AttributeSetInstance_ID));
@ -543,9 +540,10 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
*/
public void setM_Product_ID (int M_Product_ID)
{
if (M_Product_ID < 1)
throw new IllegalArgumentException ("M_Product_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID));
if (M_Product_ID < 1)
set_ValueNoCheck (COLUMNNAME_M_Product_ID, null);
else
set_ValueNoCheck (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID));
}
/** Get Product.
@ -589,9 +587,10 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
*/
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));
if (M_Warehouse_ID < 1)
set_Value (COLUMNNAME_M_Warehouse_ID, null);
else
set_Value (COLUMNNAME_M_Warehouse_ID, Integer.valueOf(M_Warehouse_ID));
}
/** Get Warehouse.
@ -609,9 +608,10 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
@param PP_Order_BOMLine_ID Manufacturing Order BOM Line */
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));
if (PP_Order_BOMLine_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_BOMLine_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_BOMLine_ID, Integer.valueOf(PP_Order_BOMLine_ID));
}
/** Get Manufacturing Order BOM Line.
@ -644,9 +644,10 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
@param PP_Order_BOM_ID Manufacturing Order BOM */
public void setPP_Order_BOM_ID (int PP_Order_BOM_ID)
{
if (PP_Order_BOM_ID < 1)
throw new IllegalArgumentException ("PP_Order_BOM_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Order_BOM_ID, Integer.valueOf(PP_Order_BOM_ID));
if (PP_Order_BOM_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_BOM_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_BOM_ID, Integer.valueOf(PP_Order_BOM_ID));
}
/** Get Manufacturing Order BOM.
@ -679,9 +680,10 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
@param PP_Order_ID Manufacturing Order */
public void setPP_Order_ID (int PP_Order_ID)
{
if (PP_Order_ID < 1)
throw new IllegalArgumentException ("PP_Order_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, Integer.valueOf(PP_Order_ID));
if (PP_Order_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, Integer.valueOf(PP_Order_ID));
}
/** Get Manufacturing Order.
@ -700,8 +702,6 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
*/
public void setQtyBOM (BigDecimal QtyBOM)
{
if (QtyBOM == null)
throw new IllegalArgumentException ("QtyBOM is mandatory.");
set_ValueNoCheck (COLUMNNAME_QtyBOM, QtyBOM);
}
@ -722,8 +722,6 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
*/
public void setQtyBatch (BigDecimal QtyBatch)
{
if (QtyBatch == null)
throw new IllegalArgumentException ("QtyBatch is mandatory.");
set_ValueNoCheck (COLUMNNAME_QtyBatch, QtyBatch);
}
@ -744,8 +742,6 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
*/
public void setQtyDelivered (BigDecimal QtyDelivered)
{
if (QtyDelivered == null)
throw new IllegalArgumentException ("QtyDelivered is mandatory.");
set_ValueNoCheck (COLUMNNAME_QtyDelivered, QtyDelivered);
}
@ -784,8 +780,6 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
@param QtyPost Qty Post */
public void setQtyPost (BigDecimal QtyPost)
{
if (QtyPost == null)
throw new IllegalArgumentException ("QtyPost is mandatory.");
set_ValueNoCheck (COLUMNNAME_QtyPost, QtyPost);
}
@ -803,8 +797,6 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
@param QtyReject Qty Reject */
public void setQtyReject (BigDecimal QtyReject)
{
if (QtyReject == null)
throw new IllegalArgumentException ("QtyReject is mandatory.");
set_ValueNoCheck (COLUMNNAME_QtyReject, QtyReject);
}
@ -822,8 +814,6 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
@param QtyRequiered Qty Requiered */
public void setQtyRequiered (BigDecimal QtyRequiered)
{
if (QtyRequiered == null)
throw new IllegalArgumentException ("QtyRequiered is mandatory.");
set_Value (COLUMNNAME_QtyRequiered, QtyRequiered);
}
@ -843,8 +833,6 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
*/
public void setQtyReserved (BigDecimal QtyReserved)
{
if (QtyReserved == null)
throw new IllegalArgumentException ("QtyReserved is mandatory.");
set_ValueNoCheck (COLUMNNAME_QtyReserved, QtyReserved);
}
@ -865,8 +853,6 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
*/
public void setQtyScrap (BigDecimal QtyScrap)
{
if (QtyScrap == null)
throw new IllegalArgumentException ("QtyScrap is mandatory.");
set_ValueNoCheck (COLUMNNAME_QtyScrap, QtyScrap);
}
@ -907,8 +893,6 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
*/
public void setValidFrom (Timestamp ValidFrom)
{
if (ValidFrom == null)
throw new IllegalArgumentException ("ValidFrom is mandatory.");
set_Value (COLUMNNAME_ValidFrom, ValidFrom);
}

View File

@ -0,0 +1,976 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.math.BigDecimal;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import org.compiere.util.Env;
/** Generated Model for PP_Order_BOMLine_v
* @author Adempiere (generated)
* @version Release 3.5.3a - $Id$ */
public class X_PP_Order_BOMLine_v extends PO implements I_PP_Order_BOMLine_v, I_Persistent
{
/**
*
*/
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_PP_Order_BOMLine_v (Properties ctx, int PP_Order_BOMLine_v_ID, String trxName)
{
super (ctx, PP_Order_BOMLine_v_ID, trxName);
/** if (PP_Order_BOMLine_v_ID == 0)
{
} */
}
/** Load Constructor */
public X_PP_Order_BOMLine_v (Properties ctx, ResultSet rs, String trxName)
{
super (ctx, rs, trxName);
}
/** AccessLevel
* @return 3 - Client - Org
*/
protected int get_AccessLevel()
{
return accessLevel.intValue();
}
/** Load Meta Data */
protected POInfo initPO (Properties ctx)
{
POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName());
return poi;
}
public String toString()
{
StringBuffer sb = new StringBuffer ("X_PP_Order_BOMLine_v[")
.append(get_ID()).append("]");
return sb.toString();
}
public I_AD_User getAD_User() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_User.Table_Name);
I_AD_User result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_User)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_User_ID()), get_TrxName()});
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw new RuntimeException( e );
}
return result;
}
/** Set User/Contact.
@param AD_User_ID
User within the system - Internal or Business Partner Contact
*/
public void setAD_User_ID (int AD_User_ID)
{
if (AD_User_ID < 1)
set_Value (COLUMNNAME_AD_User_ID, null);
else
set_Value (COLUMNNAME_AD_User_ID, Integer.valueOf(AD_User_ID));
}
/** Get User/Contact.
@return User within the system - Internal or Business Partner Contact
*/
public int getAD_User_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_User_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Quantity Assay.
@param Assay
Indicated the Quantity Assay to use into Quality Order
*/
public void setAssay (BigDecimal Assay)
{
set_Value (COLUMNNAME_Assay, Assay);
}
/** Get Quantity Assay.
@return Indicated the Quantity Assay to use into Quality Order
*/
public BigDecimal getAssay ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Assay);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Backflush Group.
@param BackflushGroup
The Grouping Components to the Backflush
*/
public void setBackflushGroup (String BackflushGroup)
{
set_Value (COLUMNNAME_BackflushGroup, BackflushGroup);
}
/** Get Backflush Group.
@return The Grouping Components to the Backflush
*/
public String getBackflushGroup ()
{
return (String)get_Value(COLUMNNAME_BackflushGroup);
}
public I_C_UOM getC_UOM() throws RuntimeException
{
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 new RuntimeException( 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 */
public static final int COMPONENTTYPE_AD_Reference_ID=53225;
/** By-Product = BY */
public static final String COMPONENTTYPE_By_Product = "BY";
/** Component = CO */
public static final String COMPONENTTYPE_Component = "CO";
/** Phantom = PH */
public static final String COMPONENTTYPE_Phantom = "PH";
/** Packing = PK */
public static final String COMPONENTTYPE_Packing = "PK";
/** Planning = PL */
public static final String COMPONENTTYPE_Planning = "PL";
/** Tools = TL */
public static final String COMPONENTTYPE_Tools = "TL";
/** Option = OP */
public static final String COMPONENTTYPE_Option = "OP";
/** Variant = VA */
public static final String COMPONENTTYPE_Variant = "VA";
/** Co-Product = CP */
public static final String COMPONENTTYPE_Co_Product = "CP";
/** Set Component Type.
@param ComponentType
Component Type for a Bill of Material or Formula
*/
public void setComponentType (String ComponentType)
{
set_Value (COLUMNNAME_ComponentType, ComponentType);
}
/** Get Component Type.
@return Component Type for a Bill of Material or Formula
*/
public String getComponentType ()
{
return (String)get_Value(COLUMNNAME_ComponentType);
}
/** Set Date Delivered.
@param DateDelivered
Date when the product was delivered
*/
public void setDateDelivered (Timestamp DateDelivered)
{
set_Value (COLUMNNAME_DateDelivered, DateDelivered);
}
/** Get Date Delivered.
@return Date when the product was delivered
*/
public Timestamp getDateDelivered ()
{
return (Timestamp)get_Value(COLUMNNAME_DateDelivered);
}
/** Set Description.
@param Description
Optional short description of the record
*/
public void setDescription (String Description)
{
set_Value (COLUMNNAME_Description, Description);
}
/** Get Description.
@return Optional short description of the record
*/
public String getDescription ()
{
return (String)get_Value(COLUMNNAME_Description);
}
/** Set Feature.
@param Feature
Indicated the Feature for Product Configure
*/
public void setFeature (String Feature)
{
set_Value (COLUMNNAME_Feature, Feature);
}
/** Get Feature.
@return Indicated the Feature for Product Configure
*/
public String getFeature ()
{
return (String)get_Value(COLUMNNAME_Feature);
}
/** Set Forecast.
@param Forecast
Indicated the % of participation this component into a of the BOM Planning
*/
public void setForecast (BigDecimal Forecast)
{
set_Value (COLUMNNAME_Forecast, Forecast);
}
/** Get Forecast.
@return Indicated the % of participation this component into a of the BOM Planning
*/
public BigDecimal getForecast ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Forecast);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Comment/Help.
@param Help
Comment or Hint
*/
public void setHelp (String Help)
{
set_Value (COLUMNNAME_Help, Help);
}
/** Get Comment/Help.
@return Comment or Hint
*/
public String getHelp ()
{
return (String)get_Value(COLUMNNAME_Help);
}
/** Set Is Critical Component.
@param IsCritical
Indicate that a Manufacturing Order can not begin without have this component
*/
public void setIsCritical (boolean IsCritical)
{
set_Value (COLUMNNAME_IsCritical, Boolean.valueOf(IsCritical));
}
/** Get Is Critical Component.
@return Indicate that a Manufacturing Order can not begin without have this component
*/
public boolean isCritical ()
{
Object oo = get_Value(COLUMNNAME_IsCritical);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Is Qty Percentage.
@param IsQtyPercentage
Indicate that this component is based in % Quantity
*/
public void setIsQtyPercentage (BigDecimal IsQtyPercentage)
{
set_Value (COLUMNNAME_IsQtyPercentage, IsQtyPercentage);
}
/** Get Is Qty Percentage.
@return Indicate that this component is based in % Quantity
*/
public BigDecimal getIsQtyPercentage ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_IsQtyPercentage);
if (bd == null)
return Env.ZERO;
return bd;
}
/** IssueMethod AD_Reference_ID=53226 */
public static final int ISSUEMETHOD_AD_Reference_ID=53226;
/** Issue = 0 */
public static final String ISSUEMETHOD_Issue = "0";
/** Backflush = 1 */
public static final String ISSUEMETHOD_Backflush = "1";
/** Floor Stock = 2 */
public static final String ISSUEMETHOD_FloorStock = "2";
/** Set Issue Method.
@param IssueMethod
There are two methods for issue the components to Manufacturing Order
*/
public void setIssueMethod (String IssueMethod)
{
set_Value (COLUMNNAME_IssueMethod, IssueMethod);
}
/** Get Issue Method.
@return There are two methods for issue the components to Manufacturing Order
*/
public String getIssueMethod ()
{
return (String)get_Value(COLUMNNAME_IssueMethod);
}
/** Set Lead Time Offset.
@param LeadTimeOffset
Optional Lead Time offest before starting production
*/
public void setLeadTimeOffset (int LeadTimeOffset)
{
set_Value (COLUMNNAME_LeadTimeOffset, Integer.valueOf(LeadTimeOffset));
}
/** Get Lead Time Offset.
@return Optional Lead Time offest before starting production
*/
public int getLeadTimeOffset ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_LeadTimeOffset);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Line No.
@param Line
Unique line for this document
*/
public void setLine (int Line)
{
set_Value (COLUMNNAME_Line, Integer.valueOf(Line));
}
/** Get Line No.
@return Unique line for this document
*/
public int getLine ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_Line);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Attribute Set Instance.
@param M_AttributeSetInstance_ID
Product Attribute Set Instance
*/
public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID)
{
if (M_AttributeSetInstance_ID < 0)
set_Value (COLUMNNAME_M_AttributeSetInstance_ID, null);
else
set_Value (COLUMNNAME_M_AttributeSetInstance_ID, Integer.valueOf(M_AttributeSetInstance_ID));
}
/** Get Attribute Set Instance.
@return Product Attribute Set Instance
*/
public int getM_AttributeSetInstance_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_AttributeSetInstance_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_M_ChangeNotice getM_ChangeNotice() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_ChangeNotice.Table_Name);
I_M_ChangeNotice result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_M_ChangeNotice)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_ChangeNotice_ID()), get_TrxName()});
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw new RuntimeException( e );
}
return result;
}
/** Set Change Notice.
@param M_ChangeNotice_ID
Bill of Materials (Engineering) Change Notice (Version)
*/
public void setM_ChangeNotice_ID (int M_ChangeNotice_ID)
{
if (M_ChangeNotice_ID < 1)
set_Value (COLUMNNAME_M_ChangeNotice_ID, null);
else
set_Value (COLUMNNAME_M_ChangeNotice_ID, Integer.valueOf(M_ChangeNotice_ID));
}
/** Get Change Notice.
@return Bill of Materials (Engineering) Change Notice (Version)
*/
public int getM_ChangeNotice_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_ChangeNotice_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_M_Locator getM_Locator() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_Locator.Table_Name);
I_M_Locator result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_M_Locator)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Locator_ID()), get_TrxName()});
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw new RuntimeException( e );
}
return result;
}
/** Set Locator.
@param M_Locator_ID
Warehouse Locator
*/
public void setM_Locator_ID (int M_Locator_ID)
{
if (M_Locator_ID < 1)
set_Value (COLUMNNAME_M_Locator_ID, null);
else
set_Value (COLUMNNAME_M_Locator_ID, Integer.valueOf(M_Locator_ID));
}
/** Get Locator.
@return Warehouse Locator
*/
public int getM_Locator_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_Locator_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_M_Product getM_Product() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_Product.Table_Name);
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 new RuntimeException( 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)
set_Value (COLUMNNAME_M_Product_ID, null);
else
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();
}
public I_M_Warehouse getM_Warehouse() throws RuntimeException
{
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 new RuntimeException( 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)
set_Value (COLUMNNAME_M_Warehouse_ID, null);
else
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();
}
public org.eevolution.model.I_PP_Order_BOMLine getPP_Order_BOMLine() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order_BOMLine.Table_Name);
org.eevolution.model.I_PP_Order_BOMLine result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_PP_Order_BOMLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getPP_Order_BOMLine_ID()), get_TrxName()});
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw new RuntimeException( e );
}
return result;
}
/** Set Manufacturing Order BOM Line.
@param PP_Order_BOMLine_ID Manufacturing Order BOM Line */
public void setPP_Order_BOMLine_ID (int PP_Order_BOMLine_ID)
{
if (PP_Order_BOMLine_ID < 1)
set_Value (COLUMNNAME_PP_Order_BOMLine_ID, null);
else
set_Value (COLUMNNAME_PP_Order_BOMLine_ID, Integer.valueOf(PP_Order_BOMLine_ID));
}
/** Get Manufacturing Order BOM Line.
@return Manufacturing Order BOM Line */
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 RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order_BOM.Table_Name);
org.eevolution.model.I_PP_Order_BOM result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_PP_Order_BOM)constructor.newInstance(new Object[] {getCtx(), new Integer(getPP_Order_BOM_ID()), get_TrxName()});
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw new RuntimeException( e );
}
return result;
}
/** Set Manufacturing Order BOM.
@param PP_Order_BOM_ID Manufacturing Order BOM */
public void setPP_Order_BOM_ID (int PP_Order_BOM_ID)
{
if (PP_Order_BOM_ID < 1)
set_Value (COLUMNNAME_PP_Order_BOM_ID, null);
else
set_Value (COLUMNNAME_PP_Order_BOM_ID, Integer.valueOf(PP_Order_BOM_ID));
}
/** Get Manufacturing Order BOM.
@return Manufacturing Order BOM */
public int getPP_Order_BOM_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_BOM_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order.Table_Name);
org.eevolution.model.I_PP_Order result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_PP_Order)constructor.newInstance(new Object[] {getCtx(), new Integer(getPP_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 new RuntimeException( e );
}
return result;
}
/** Set Manufacturing Order.
@param PP_Order_ID Manufacturing Order */
public void setPP_Order_ID (int PP_Order_ID)
{
if (PP_Order_ID < 1)
set_Value (COLUMNNAME_PP_Order_ID, null);
else
set_Value (COLUMNNAME_PP_Order_ID, Integer.valueOf(PP_Order_ID));
}
/** Get Manufacturing Order.
@return Manufacturing Order */
public int getPP_Order_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Available Quantity.
@param QtyAvailable
Available Quantity (On Hand - Reserved)
*/
public void setQtyAvailable (BigDecimal QtyAvailable)
{
set_Value (COLUMNNAME_QtyAvailable, QtyAvailable);
}
/** Get Available Quantity.
@return Available Quantity (On Hand - Reserved)
*/
public BigDecimal getQtyAvailable ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyAvailable);
if (bd == null)
return Env.ZERO;
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 Quantity in %.
@param QtyBatch
Indicate the Quantity % use in this Formula
*/
public void setQtyBatch (BigDecimal QtyBatch)
{
set_Value (COLUMNNAME_QtyBatch, QtyBatch);
}
/** Get Quantity in %.
@return Indicate the Quantity % use in this Formula
*/
public BigDecimal getQtyBatch ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyBatch);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Qty Batch Size.
@param QtyBatchSize Qty Batch Size */
public void setQtyBatchSize (BigDecimal QtyBatchSize)
{
set_Value (COLUMNNAME_QtyBatchSize, QtyBatchSize);
}
/** Get Qty Batch Size.
@return Qty Batch Size */
public BigDecimal getQtyBatchSize ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyBatchSize);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Delivered Quantity.
@param QtyDelivered
Delivered Quantity
*/
public void setQtyDelivered (BigDecimal QtyDelivered)
{
set_Value (COLUMNNAME_QtyDelivered, QtyDelivered);
}
/** Get Delivered Quantity.
@return Delivered Quantity
*/
public BigDecimal getQtyDelivered ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyDelivered);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set On Hand Quantity.
@param QtyOnHand
On Hand Quantity
*/
public void setQtyOnHand (BigDecimal QtyOnHand)
{
set_Value (COLUMNNAME_QtyOnHand, QtyOnHand);
}
/** Get On Hand Quantity.
@return On Hand Quantity
*/
public BigDecimal getQtyOnHand ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyOnHand);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Qty Post.
@param QtyPost Qty Post */
public void setQtyPost (BigDecimal QtyPost)
{
set_Value (COLUMNNAME_QtyPost, QtyPost);
}
/** Get Qty Post.
@return Qty Post */
public BigDecimal getQtyPost ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyPost);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Qty Reject.
@param QtyReject Qty Reject */
public void setQtyReject (BigDecimal QtyReject)
{
set_Value (COLUMNNAME_QtyReject, QtyReject);
}
/** Get Qty Reject.
@return Qty Reject */
public BigDecimal getQtyReject ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyReject);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Qty Requiered.
@param QtyRequiered Qty Requiered */
public void setQtyRequiered (BigDecimal QtyRequiered)
{
set_Value (COLUMNNAME_QtyRequiered, QtyRequiered);
}
/** Get Qty Requiered.
@return Qty Requiered */
public BigDecimal getQtyRequiered ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyRequiered);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Reserved Quantity.
@param QtyReserved
Reserved Quantity
*/
public void setQtyReserved (BigDecimal QtyReserved)
{
set_Value (COLUMNNAME_QtyReserved, QtyReserved);
}
/** Get Reserved Quantity.
@return Reserved Quantity
*/
public BigDecimal getQtyReserved ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyReserved);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set QtyScrap.
@param QtyScrap
Scrap Quantity for this componet
*/
public void setQtyScrap (BigDecimal QtyScrap)
{
set_Value (COLUMNNAME_QtyScrap, QtyScrap);
}
/** Get QtyScrap.
@return Scrap Quantity for this componet
*/
public BigDecimal getQtyScrap ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyScrap);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set % Scrap.
@param Scrap
Indicate the % Scrap for calculate the Scrap Quantity
*/
public void setScrap (BigDecimal Scrap)
{
set_Value (COLUMNNAME_Scrap, Scrap);
}
/** Get % Scrap.
@return Indicate the % Scrap for calculate the Scrap Quantity
*/
public BigDecimal getScrap ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Scrap);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Valid from.
@param ValidFrom
Valid from including this date (first day)
*/
public void setValidFrom (Timestamp ValidFrom)
{
set_Value (COLUMNNAME_ValidFrom, ValidFrom);
}
/** Get Valid from.
@return Valid from including this date (first day)
*/
public Timestamp getValidFrom ()
{
return (Timestamp)get_Value(COLUMNNAME_ValidFrom);
}
/** Set Valid to.
@param ValidTo
Valid to including this date (last day)
*/
public void setValidTo (Timestamp ValidTo)
{
set_Value (COLUMNNAME_ValidTo, ValidTo);
}
/** Get Valid to.
@return Valid to including this date (last day)
*/
public Timestamp getValidTo ()
{
return (Timestamp)get_Value(COLUMNNAME_ValidTo);
}
}

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -139,9 +139,10 @@ public class X_PP_Order_Cost extends PO implements I_PP_Order_Cost, I_Persistent
*/
public void setC_AcctSchema_ID (int C_AcctSchema_ID)
{
if (C_AcctSchema_ID < 1)
throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory.");
set_Value (COLUMNNAME_C_AcctSchema_ID, Integer.valueOf(C_AcctSchema_ID));
if (C_AcctSchema_ID < 1)
set_Value (COLUMNNAME_C_AcctSchema_ID, null);
else
set_Value (COLUMNNAME_C_AcctSchema_ID, Integer.valueOf(C_AcctSchema_ID));
}
/** Get Accounting Schema.
@ -182,7 +183,7 @@ public class X_PP_Order_Cost extends PO implements I_PP_Order_Cost, I_Persistent
public void setCostingMethod (String CostingMethod)
{
if (CostingMethod == null || CostingMethod.equals("S") || CostingMethod.equals("A") || CostingMethod.equals("L") || CostingMethod.equals("F") || CostingMethod.equals("p") || CostingMethod.equals("I") || CostingMethod.equals("i") || CostingMethod.equals("U") || CostingMethod.equals("x")); else throw new IllegalArgumentException ("CostingMethod Invalid value - " + CostingMethod + " - Reference_ID=122 - S - A - L - F - p - I - i - U - x"); set_ValueNoCheck (COLUMNNAME_CostingMethod, CostingMethod);
set_ValueNoCheck (COLUMNNAME_CostingMethod, CostingMethod);
}
/** Get Costing Method.
@ -333,7 +334,7 @@ public class X_PP_Order_Cost extends PO implements I_PP_Order_Cost, I_Persistent
*/
public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID)
{
if (M_AttributeSetInstance_ID < 1)
if (M_AttributeSetInstance_ID < 0)
set_Value (COLUMNNAME_M_AttributeSetInstance_ID, null);
else
set_Value (COLUMNNAME_M_AttributeSetInstance_ID, Integer.valueOf(M_AttributeSetInstance_ID));
@ -411,9 +412,10 @@ public class X_PP_Order_Cost extends PO implements I_PP_Order_Cost, I_Persistent
*/
public void setM_CostType_ID (int M_CostType_ID)
{
if (M_CostType_ID < 1)
throw new IllegalArgumentException ("M_CostType_ID is mandatory.");
set_Value (COLUMNNAME_M_CostType_ID, Integer.valueOf(M_CostType_ID));
if (M_CostType_ID < 1)
set_Value (COLUMNNAME_M_CostType_ID, null);
else
set_Value (COLUMNNAME_M_CostType_ID, Integer.valueOf(M_CostType_ID));
}
/** Get Cost Type.
@ -449,9 +451,10 @@ public class X_PP_Order_Cost extends PO implements I_PP_Order_Cost, I_Persistent
*/
public void setM_Product_ID (int M_Product_ID)
{
if (M_Product_ID < 1)
throw new IllegalArgumentException ("M_Product_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID));
if (M_Product_ID < 1)
set_ValueNoCheck (COLUMNNAME_M_Product_ID, null);
else
set_ValueNoCheck (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID));
}
/** Get Product.
@ -469,9 +472,10 @@ public class X_PP_Order_Cost extends PO implements I_PP_Order_Cost, I_Persistent
@param PP_Order_Cost_ID Manufacturing Order Cost */
public void setPP_Order_Cost_ID (int PP_Order_Cost_ID)
{
if (PP_Order_Cost_ID < 1)
throw new IllegalArgumentException ("PP_Order_Cost_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Order_Cost_ID, Integer.valueOf(PP_Order_Cost_ID));
if (PP_Order_Cost_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_Cost_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_Cost_ID, Integer.valueOf(PP_Order_Cost_ID));
}
/** Get Manufacturing Order Cost.
@ -504,9 +508,10 @@ public class X_PP_Order_Cost extends PO implements I_PP_Order_Cost, I_Persistent
@param PP_Order_ID Manufacturing Order */
public void setPP_Order_ID (int PP_Order_ID)
{
if (PP_Order_ID < 1)
throw new IllegalArgumentException ("PP_Order_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, Integer.valueOf(PP_Order_ID));
if (PP_Order_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, Integer.valueOf(PP_Order_ID));
}
/** Get Manufacturing Order.

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -36,7 +36,7 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_PP_Order_Node (Properties ctx, int PP_Order_Node_ID, String trxName)
@ -354,9 +354,10 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
*/
public void setAD_WF_Node_ID (int AD_WF_Node_ID)
{
if (AD_WF_Node_ID < 1)
throw new IllegalArgumentException ("AD_WF_Node_ID is mandatory.");
set_Value (COLUMNNAME_AD_WF_Node_ID, Integer.valueOf(AD_WF_Node_ID));
if (AD_WF_Node_ID < 1)
set_Value (COLUMNNAME_AD_WF_Node_ID, null);
else
set_Value (COLUMNNAME_AD_WF_Node_ID, Integer.valueOf(AD_WF_Node_ID));
}
/** Get Node.
@ -470,9 +471,10 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
*/
public void setAD_Workflow_ID (int AD_Workflow_ID)
{
if (AD_Workflow_ID < 1)
throw new IllegalArgumentException ("AD_Workflow_ID is mandatory.");
set_Value (COLUMNNAME_AD_Workflow_ID, Integer.valueOf(AD_Workflow_ID));
if (AD_Workflow_ID < 1)
set_Value (COLUMNNAME_AD_Workflow_ID, null);
else
set_Value (COLUMNNAME_AD_Workflow_ID, Integer.valueOf(AD_Workflow_ID));
}
/** Get Workflow.
@ -518,9 +520,6 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
*/
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");
set_Value (COLUMNNAME_Action, Action);
}
@ -612,8 +611,6 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
*/
public void setCost (BigDecimal Cost)
{
if (Cost == null)
throw new IllegalArgumentException ("Cost is mandatory.");
set_Value (COLUMNNAME_Cost, Cost);
}
@ -741,9 +738,6 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
public void setDocAction (String DocAction)
{
if (DocAction == null || DocAction.equals("CO") || DocAction.equals("AP") || DocAction.equals("RJ") || DocAction.equals("PO") || DocAction.equals("VO") || DocAction.equals("CL") || DocAction.equals("RC") || DocAction.equals("RA") || DocAction.equals("IN") || DocAction.equals("RE") || DocAction.equals("--") || DocAction.equals("PR") || DocAction.equals("XL") || DocAction.equals("WC"));
else throw new IllegalArgumentException ("DocAction Invalid value - " + DocAction + " - Reference_ID=135 - CO - AP - RJ - PO - VO - CL - RC - RA - IN - RE - -- - PR - XL - WC");
set_Value (COLUMNNAME_DocAction, DocAction);
}
@ -788,9 +782,6 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
public void setDocStatus (String DocStatus)
{
if (DocStatus == null || DocStatus.equals("DR") || DocStatus.equals("CO") || DocStatus.equals("AP") || DocStatus.equals("NA") || DocStatus.equals("VO") || DocStatus.equals("IN") || DocStatus.equals("RE") || DocStatus.equals("CL") || DocStatus.equals("??") || DocStatus.equals("IP") || DocStatus.equals("WP") || DocStatus.equals("WC"));
else throw new IllegalArgumentException ("DocStatus Invalid value - " + DocStatus + " - Reference_ID=131 - DR - CO - AP - NA - VO - IN - RE - CL - ?? - IP - WP - WC");
set_Value (COLUMNNAME_DocStatus, DocStatus);
}
@ -864,6 +855,7 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
*/
public void setEntityType (String EntityType)
{
set_Value (COLUMNNAME_EntityType, EntityType);
}
@ -888,9 +880,6 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
public void setFinishMode (String FinishMode)
{
if (FinishMode == null || FinishMode.equals("A") || FinishMode.equals("M"));
else throw new IllegalArgumentException ("FinishMode Invalid value - " + FinishMode + " - Reference_ID=303 - A - M");
set_Value (COLUMNNAME_FinishMode, FinishMode);
}
@ -997,9 +986,6 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
*/
public void setJoinElement (String JoinElement)
{
if (JoinElement == null) throw new IllegalArgumentException ("JoinElement is mandatory");
if (JoinElement.equals("A") || JoinElement.equals("X"));
else throw new IllegalArgumentException ("JoinElement Invalid value - " + JoinElement + " - Reference_ID=301 - A - X");
set_Value (COLUMNNAME_JoinElement, JoinElement);
}
@ -1055,8 +1041,6 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
*/
public void setName (String Name)
{
if (Name == null)
throw new IllegalArgumentException ("Name is mandatory.");
set_Value (COLUMNNAME_Name, Name);
}
@ -1077,14 +1061,17 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
}
/** Set Overlap Units.
@param OverlapUnits Overlap Units */
@param OverlapUnits
Overlap Units are number of units that must be completed before they are moved the next activity
*/
public void setOverlapUnits (int OverlapUnits)
{
set_Value (COLUMNNAME_OverlapUnits, Integer.valueOf(OverlapUnits));
}
/** Get Overlap Units.
@return Overlap Units */
@return Overlap Units are number of units that must be completed before they are moved the next activity
*/
public int getOverlapUnits ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_OverlapUnits);
@ -1113,9 +1100,10 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
@param PP_Order_ID Manufacturing Order */
public void setPP_Order_ID (int PP_Order_ID)
{
if (PP_Order_ID < 1)
throw new IllegalArgumentException ("PP_Order_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, Integer.valueOf(PP_Order_ID));
if (PP_Order_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, Integer.valueOf(PP_Order_ID));
}
/** Get Manufacturing Order.
@ -1132,9 +1120,10 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
@param PP_Order_Node_ID Manufacturing Order Activity */
public void setPP_Order_Node_ID (int PP_Order_Node_ID)
{
if (PP_Order_Node_ID < 1)
throw new IllegalArgumentException ("PP_Order_Node_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Order_Node_ID, Integer.valueOf(PP_Order_Node_ID));
if (PP_Order_Node_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_Node_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_Node_ID, Integer.valueOf(PP_Order_Node_ID));
}
/** Get Manufacturing Order Activity.
@ -1167,9 +1156,10 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
@param PP_Order_Workflow_ID Manufacturing Order Workflow */
public void setPP_Order_Workflow_ID (int PP_Order_Workflow_ID)
{
if (PP_Order_Workflow_ID < 1)
throw new IllegalArgumentException ("PP_Order_Workflow_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Order_Workflow_ID, Integer.valueOf(PP_Order_Workflow_ID));
if (PP_Order_Workflow_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_Workflow_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_Workflow_ID, Integer.valueOf(PP_Order_Workflow_ID));
}
/** Get Manufacturing Order Workflow.
@ -1398,9 +1388,6 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
*/
public void setSplitElement (String SplitElement)
{
if (SplitElement == null) throw new IllegalArgumentException ("SplitElement is mandatory");
if (SplitElement.equals("A") || SplitElement.equals("X"));
else throw new IllegalArgumentException ("SplitElement Invalid value - " + SplitElement + " - Reference_ID=301 - A - X");
set_Value (COLUMNNAME_SplitElement, SplitElement);
}
@ -1426,9 +1413,6 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
public void setStartMode (String StartMode)
{
if (StartMode == null || StartMode.equals("A") || StartMode.equals("M"));
else throw new IllegalArgumentException ("StartMode Invalid value - " + StartMode + " - Reference_ID=303 - A - M");
set_Value (COLUMNNAME_StartMode, StartMode);
}
@ -1453,9 +1437,6 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
public void setSubflowExecution (String SubflowExecution)
{
if (SubflowExecution == null || SubflowExecution.equals("A") || SubflowExecution.equals("S"));
else throw new IllegalArgumentException ("SubflowExecution Invalid value - " + SubflowExecution + " - Reference_ID=307 - A - S");
set_Value (COLUMNNAME_SubflowExecution, SubflowExecution);
}
@ -1467,15 +1448,18 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
return (String)get_Value(COLUMNNAME_SubflowExecution);
}
/** Set Units Cycles.
@param UnitsCycles Units Cycles */
/** Set Units by Cycles.
@param UnitsCycles
The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.
*/
public void setUnitsCycles (int UnitsCycles)
{
set_Value (COLUMNNAME_UnitsCycles, Integer.valueOf(UnitsCycles));
}
/** Get Units Cycles.
@return Units Cycles */
/** Get Units by Cycles.
@return The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.
*/
public int getUnitsCycles ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_UnitsCycles);
@ -1524,8 +1508,6 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
*/
public void setValue (String Value)
{
if (Value == null)
throw new IllegalArgumentException ("Value is mandatory.");
set_Value (COLUMNNAME_Value, Value);
}
@ -1639,4 +1621,24 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
return 0;
return ii.intValue();
}
/** Set Yield %.
@param Yield
The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
*/
public void setYield (int Yield)
{
set_Value (COLUMNNAME_Yield, Integer.valueOf(Yield));
}
/** Get Yield %.
@return The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
*/
public int getYield ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_Yield);
if (ii == null)
return 0;
return ii.intValue();
}
}

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -32,7 +32,7 @@ public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Pe
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_PP_Order_NodeNext (Properties ctx, int PP_Order_NodeNext_ID, String trxName)
@ -123,9 +123,10 @@ public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Pe
*/
public void setAD_WF_Node_ID (int AD_WF_Node_ID)
{
if (AD_WF_Node_ID < 1)
throw new IllegalArgumentException ("AD_WF_Node_ID is mandatory.");
set_Value (COLUMNNAME_AD_WF_Node_ID, Integer.valueOf(AD_WF_Node_ID));
if (AD_WF_Node_ID < 1)
set_Value (COLUMNNAME_AD_WF_Node_ID, null);
else
set_Value (COLUMNNAME_AD_WF_Node_ID, Integer.valueOf(AD_WF_Node_ID));
}
/** Get Node.
@ -164,6 +165,7 @@ public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Pe
*/
public void setEntityType (String EntityType)
{
set_Value (COLUMNNAME_EntityType, EntityType);
}
@ -219,9 +221,10 @@ public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Pe
@param PP_Order_ID Manufacturing Order */
public void setPP_Order_ID (int PP_Order_ID)
{
if (PP_Order_ID < 1)
throw new IllegalArgumentException ("PP_Order_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, Integer.valueOf(PP_Order_ID));
if (PP_Order_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, Integer.valueOf(PP_Order_ID));
}
/** Get Manufacturing Order.
@ -294,9 +297,10 @@ public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Pe
@param PP_Order_Node_ID Manufacturing Order Activity */
public void setPP_Order_Node_ID (int PP_Order_Node_ID)
{
if (PP_Order_Node_ID < 1)
throw new IllegalArgumentException ("PP_Order_Node_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Order_Node_ID, Integer.valueOf(PP_Order_Node_ID));
if (PP_Order_Node_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_Node_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_Node_ID, Integer.valueOf(PP_Order_Node_ID));
}
/** Get Manufacturing Order Activity.

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -32,7 +32,7 @@ public class X_PP_Order_Node_Asset extends PO implements I_PP_Order_Node_Asset,
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_PP_Order_Node_Asset (Properties ctx, int PP_Order_Node_Asset_ID, String trxName)
@ -98,9 +98,10 @@ public class X_PP_Order_Node_Asset extends PO implements I_PP_Order_Node_Asset,
*/
public void setA_Asset_ID (int A_Asset_ID)
{
if (A_Asset_ID < 1)
throw new IllegalArgumentException ("A_Asset_ID is mandatory.");
set_Value (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID));
if (A_Asset_ID < 1)
set_Value (COLUMNNAME_A_Asset_ID, null);
else
set_Value (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID));
}
/** Get Asset.
@ -134,9 +135,10 @@ public class X_PP_Order_Node_Asset extends PO implements I_PP_Order_Node_Asset,
@param PP_Order_ID Manufacturing Order */
public void setPP_Order_ID (int PP_Order_ID)
{
if (PP_Order_ID < 1)
throw new IllegalArgumentException ("PP_Order_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, Integer.valueOf(PP_Order_ID));
if (PP_Order_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, Integer.valueOf(PP_Order_ID));
}
/** Get Manufacturing Order.
@ -153,9 +155,10 @@ public class X_PP_Order_Node_Asset extends PO implements I_PP_Order_Node_Asset,
@param PP_Order_Node_Asset_ID Manufacturing Order Activity Asset */
public void setPP_Order_Node_Asset_ID (int PP_Order_Node_Asset_ID)
{
if (PP_Order_Node_Asset_ID < 1)
throw new IllegalArgumentException ("PP_Order_Node_Asset_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Order_Node_Asset_ID, Integer.valueOf(PP_Order_Node_Asset_ID));
if (PP_Order_Node_Asset_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_Node_Asset_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_Node_Asset_ID, Integer.valueOf(PP_Order_Node_Asset_ID));
}
/** Get Manufacturing Order Activity Asset.
@ -188,9 +191,10 @@ public class X_PP_Order_Node_Asset extends PO implements I_PP_Order_Node_Asset,
@param PP_Order_Node_ID Manufacturing Order Activity */
public void setPP_Order_Node_ID (int PP_Order_Node_ID)
{
if (PP_Order_Node_ID < 1)
throw new IllegalArgumentException ("PP_Order_Node_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Order_Node_ID, Integer.valueOf(PP_Order_Node_ID));
if (PP_Order_Node_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_Node_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_Node_ID, Integer.valueOf(PP_Order_Node_ID));
}
/** Get Manufacturing Order Activity.
@ -223,9 +227,10 @@ public class X_PP_Order_Node_Asset extends PO implements I_PP_Order_Node_Asset,
@param PP_Order_Workflow_ID Manufacturing Order Workflow */
public void setPP_Order_Workflow_ID (int PP_Order_Workflow_ID)
{
if (PP_Order_Workflow_ID < 1)
throw new IllegalArgumentException ("PP_Order_Workflow_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Order_Workflow_ID, Integer.valueOf(PP_Order_Workflow_ID));
if (PP_Order_Workflow_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_Workflow_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_Workflow_ID, Integer.valueOf(PP_Order_Workflow_ID));
}
/** Get Manufacturing Order Workflow.

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -34,7 +34,7 @@ public class X_PP_Order_Node_Product extends PO implements I_PP_Order_Node_Produ
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_PP_Order_Node_Product (Properties ctx, int PP_Order_Node_Product_ID, String trxName)
@ -121,9 +121,10 @@ public class X_PP_Order_Node_Product extends PO implements I_PP_Order_Node_Produ
*/
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));
if (M_Product_ID < 1)
set_Value (COLUMNNAME_M_Product_ID, null);
else
set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID));
}
/** Get Product.
@ -157,9 +158,10 @@ public class X_PP_Order_Node_Product extends PO implements I_PP_Order_Node_Produ
@param PP_Order_ID Manufacturing Order */
public void setPP_Order_ID (int PP_Order_ID)
{
if (PP_Order_ID < 1)
throw new IllegalArgumentException ("PP_Order_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, Integer.valueOf(PP_Order_ID));
if (PP_Order_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, Integer.valueOf(PP_Order_ID));
}
/** Get Manufacturing Order.
@ -192,9 +194,10 @@ public class X_PP_Order_Node_Product extends PO implements I_PP_Order_Node_Produ
@param PP_Order_Node_ID Manufacturing Order Activity */
public void setPP_Order_Node_ID (int PP_Order_Node_ID)
{
if (PP_Order_Node_ID < 1)
throw new IllegalArgumentException ("PP_Order_Node_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Order_Node_ID, Integer.valueOf(PP_Order_Node_ID));
if (PP_Order_Node_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_Node_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_Node_ID, Integer.valueOf(PP_Order_Node_ID));
}
/** Get Manufacturing Order Activity.
@ -211,9 +214,10 @@ public class X_PP_Order_Node_Product extends PO implements I_PP_Order_Node_Produ
@param PP_Order_Node_Product_ID Manufacturing Order Activity Product */
public void setPP_Order_Node_Product_ID (int PP_Order_Node_Product_ID)
{
if (PP_Order_Node_Product_ID < 1)
throw new IllegalArgumentException ("PP_Order_Node_Product_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Order_Node_Product_ID, Integer.valueOf(PP_Order_Node_Product_ID));
if (PP_Order_Node_Product_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_Node_Product_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_Node_Product_ID, Integer.valueOf(PP_Order_Node_Product_ID));
}
/** Get Manufacturing Order Activity Product.
@ -246,9 +250,10 @@ public class X_PP_Order_Node_Product extends PO implements I_PP_Order_Node_Produ
@param PP_Order_Workflow_ID Manufacturing Order Workflow */
public void setPP_Order_Workflow_ID (int PP_Order_Workflow_ID)
{
if (PP_Order_Workflow_ID < 1)
throw new IllegalArgumentException ("PP_Order_Workflow_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Order_Workflow_ID, Integer.valueOf(PP_Order_Workflow_ID));
if (PP_Order_Workflow_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_Workflow_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_Workflow_ID, Integer.valueOf(PP_Order_Workflow_ID));
}
/** Get Manufacturing Order Workflow.
@ -300,21 +305,4 @@ public class X_PP_Order_Node_Product extends PO implements I_PP_Order_Node_Produ
return 0;
return ii.intValue();
}
/** Set Yield.
@param Yield Yield */
public void setYield (int Yield)
{
set_Value (COLUMNNAME_Yield, Integer.valueOf(Yield));
}
/** Get Yield.
@return Yield */
public int getYield ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_Yield);
if (ii == null)
return 0;
return ii.intValue();
}
}

View File

@ -0,0 +1,898 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.math.BigDecimal;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import org.compiere.util.Env;
import org.compiere.util.KeyNamePair;
/** Generated Model for PP_Order_Node_v
* @author Adempiere (generated)
* @version Release 3.5.3a - $Id$ */
public class X_PP_Order_Node_v extends PO implements I_PP_Order_Node_v, I_Persistent
{
/**
*
*/
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_PP_Order_Node_v (Properties ctx, int PP_Order_Node_v_ID, String trxName)
{
super (ctx, PP_Order_Node_v_ID, trxName);
/** if (PP_Order_Node_v_ID == 0)
{
} */
}
/** Load Constructor */
public X_PP_Order_Node_v (Properties ctx, ResultSet rs, String trxName)
{
super (ctx, rs, trxName);
}
/** AccessLevel
* @return 3 - Client - Org
*/
protected int get_AccessLevel()
{
return accessLevel.intValue();
}
/** Load Meta Data */
protected POInfo initPO (Properties ctx)
{
POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName());
return poi;
}
public String toString()
{
StringBuffer sb = new StringBuffer ("X_PP_Order_Node_v[")
.append(get_ID()).append("]");
return sb.toString();
}
public I_C_BPartner getC_BPartner() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_BPartner.Table_Name);
I_C_BPartner result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_BPartner)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BPartner_ID()), get_TrxName()});
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw new RuntimeException( e );
}
return result;
}
/** Set Business Partner .
@param C_BPartner_ID
Identifies a Business Partner
*/
public void setC_BPartner_ID (int C_BPartner_ID)
{
if (C_BPartner_ID < 1)
set_Value (COLUMNNAME_C_BPartner_ID, null);
else
set_Value (COLUMNNAME_C_BPartner_ID, Integer.valueOf(C_BPartner_ID));
}
/** Get Business Partner .
@return Identifies a Business Partner
*/
public int getC_BPartner_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartner_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** 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;
}
/** Set Finish Date.
@param DateFinish
Finish or (planned) completion date
*/
public void setDateFinish (Timestamp DateFinish)
{
set_Value (COLUMNNAME_DateFinish, DateFinish);
}
/** Get Finish Date.
@return Finish or (planned) completion date
*/
public Timestamp getDateFinish ()
{
return (Timestamp)get_Value(COLUMNNAME_DateFinish);
}
/** Set DateFinishSchedule.
@param DateFinishSchedule DateFinishSchedule */
public void setDateFinishSchedule (Timestamp DateFinishSchedule)
{
set_Value (COLUMNNAME_DateFinishSchedule, DateFinishSchedule);
}
/** Get DateFinishSchedule.
@return DateFinishSchedule */
public Timestamp getDateFinishSchedule ()
{
return (Timestamp)get_Value(COLUMNNAME_DateFinishSchedule);
}
/** Set DateStart.
@param DateStart DateStart */
public void setDateStart (Timestamp DateStart)
{
set_Value (COLUMNNAME_DateStart, DateStart);
}
/** Get DateStart.
@return DateStart */
public Timestamp getDateStart ()
{
return (Timestamp)get_Value(COLUMNNAME_DateStart);
}
/** Set DateStartSchedule.
@param DateStartSchedule DateStartSchedule */
public void setDateStartSchedule (Timestamp DateStartSchedule)
{
set_Value (COLUMNNAME_DateStartSchedule, DateStartSchedule);
}
/** Get DateStartSchedule.
@return DateStartSchedule */
public Timestamp getDateStartSchedule ()
{
return (Timestamp)get_Value(COLUMNNAME_DateStartSchedule);
}
/** Set Description.
@param Description
Optional short description of the record
*/
public void setDescription (String Description)
{
set_Value (COLUMNNAME_Description, Description);
}
/** Get Description.
@return Optional short description of the record
*/
public String getDescription ()
{
return (String)get_Value(COLUMNNAME_Description);
}
/** DocAction AD_Reference_ID=135 */
public static final int DOCACTION_AD_Reference_ID=135;
/** Complete = CO */
public static final String DOCACTION_Complete = "CO";
/** Approve = AP */
public static final String DOCACTION_Approve = "AP";
/** Reject = RJ */
public static final String DOCACTION_Reject = "RJ";
/** Post = PO */
public static final String DOCACTION_Post = "PO";
/** Void = VO */
public static final String DOCACTION_Void = "VO";
/** Close = CL */
public static final String DOCACTION_Close = "CL";
/** Reverse - Correct = RC */
public static final String DOCACTION_Reverse_Correct = "RC";
/** Reverse - Accrual = RA */
public static final String DOCACTION_Reverse_Accrual = "RA";
/** Invalidate = IN */
public static final String DOCACTION_Invalidate = "IN";
/** Re-activate = RE */
public static final String DOCACTION_Re_Activate = "RE";
/** <None> = -- */
public static final String DOCACTION_None = "--";
/** Prepare = PR */
public static final String DOCACTION_Prepare = "PR";
/** Unlock = XL */
public static final String DOCACTION_Unlock = "XL";
/** Wait Complete = WC */
public static final String DOCACTION_WaitComplete = "WC";
/** Set Document Action.
@param DocAction
The targeted status of the document
*/
public void setDocAction (String DocAction)
{
set_Value (COLUMNNAME_DocAction, DocAction);
}
/** Get Document Action.
@return The targeted status of the document
*/
public String getDocAction ()
{
return (String)get_Value(COLUMNNAME_DocAction);
}
/** DocStatus AD_Reference_ID=131 */
public static final int DOCSTATUS_AD_Reference_ID=131;
/** Drafted = DR */
public static final String DOCSTATUS_Drafted = "DR";
/** Completed = CO */
public static final String DOCSTATUS_Completed = "CO";
/** Approved = AP */
public static final String DOCSTATUS_Approved = "AP";
/** Not Approved = NA */
public static final String DOCSTATUS_NotApproved = "NA";
/** Voided = VO */
public static final String DOCSTATUS_Voided = "VO";
/** Invalid = IN */
public static final String DOCSTATUS_Invalid = "IN";
/** Reversed = RE */
public static final String DOCSTATUS_Reversed = "RE";
/** Closed = CL */
public static final String DOCSTATUS_Closed = "CL";
/** Unknown = ?? */
public static final String DOCSTATUS_Unknown = "??";
/** In Progress = IP */
public static final String DOCSTATUS_InProgress = "IP";
/** Waiting Payment = WP */
public static final String DOCSTATUS_WaitingPayment = "WP";
/** Waiting Confirmation = WC */
public static final String DOCSTATUS_WaitingConfirmation = "WC";
/** Set Document Status.
@param DocStatus
The current status of the document
*/
public void setDocStatus (String DocStatus)
{
set_Value (COLUMNNAME_DocStatus, DocStatus);
}
/** Get Document Status.
@return The current status of the document
*/
public String getDocStatus ()
{
return (String)get_Value(COLUMNNAME_DocStatus);
}
/** Set Duration.
@param Duration
Normal Duration in Duration Unit
*/
public void setDuration (int Duration)
{
set_Value (COLUMNNAME_Duration, Integer.valueOf(Duration));
}
/** Get Duration.
@return Normal Duration in Duration Unit
*/
public int getDuration ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_Duration);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Duration Real.
@param DurationReal Duration Real */
public void setDurationReal (int DurationReal)
{
set_Value (COLUMNNAME_DurationReal, Integer.valueOf(DurationReal));
}
/** Get Duration Real.
@return Duration Real */
public int getDurationReal ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DurationReal);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Duration Requiered.
@param DurationRequiered Duration Requiered */
public void setDurationRequiered (int DurationRequiered)
{
set_Value (COLUMNNAME_DurationRequiered, Integer.valueOf(DurationRequiered));
}
/** Get Duration Requiered.
@return Duration Requiered */
public int getDurationRequiered ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DurationRequiered);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Comment/Help.
@param Help
Comment or Hint
*/
public void setHelp (String Help)
{
set_Value (COLUMNNAME_Help, Help);
}
/** Get Comment/Help.
@return Comment or Hint
*/
public String getHelp ()
{
return (String)get_Value(COLUMNNAME_Help);
}
/** Set Is Milestone.
@param IsMilestone Is Milestone */
public void setIsMilestone (boolean IsMilestone)
{
set_Value (COLUMNNAME_IsMilestone, Boolean.valueOf(IsMilestone));
}
/** Get Is Milestone.
@return Is Milestone */
public boolean isMilestone ()
{
Object oo = get_Value(COLUMNNAME_IsMilestone);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Is Subcontracting.
@param IsSubcontracting Is Subcontracting */
public void setIsSubcontracting (boolean IsSubcontracting)
{
set_Value (COLUMNNAME_IsSubcontracting, Boolean.valueOf(IsSubcontracting));
}
/** Get Is Subcontracting.
@return Is Subcontracting */
public boolean isSubcontracting ()
{
Object oo = get_Value(COLUMNNAME_IsSubcontracting);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Moving Time.
@param MovingTime Moving Time */
public void setMovingTime (int MovingTime)
{
set_Value (COLUMNNAME_MovingTime, Integer.valueOf(MovingTime));
}
/** Get Moving Time.
@return Moving Time */
public int getMovingTime ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_MovingTime);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Name.
@param Name
Alphanumeric identifier of the entity
*/
public void setName (String Name)
{
set_Value (COLUMNNAME_Name, Name);
}
/** Get Name.
@return Alphanumeric identifier of the entity
*/
public String getName ()
{
return (String)get_Value(COLUMNNAME_Name);
}
/** Get Record ID/ColumnName
@return ID/ColumnName pair
*/
public KeyNamePair getKeyNamePair()
{
return new KeyNamePair(get_ID(), getName());
}
/** Set Overlap Units.
@param OverlapUnits
Overlap Units are number of units that must be completed before they are moved the next activity
*/
public void setOverlapUnits (int OverlapUnits)
{
set_Value (COLUMNNAME_OverlapUnits, Integer.valueOf(OverlapUnits));
}
/** Get Overlap Units.
@return Overlap Units are number of units that must be completed before they are moved the next activity
*/
public int getOverlapUnits ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_OverlapUnits);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order.Table_Name);
org.eevolution.model.I_PP_Order result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_PP_Order)constructor.newInstance(new Object[] {getCtx(), new Integer(getPP_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 new RuntimeException( e );
}
return result;
}
/** Set Manufacturing Order.
@param PP_Order_ID Manufacturing Order */
public void setPP_Order_ID (int PP_Order_ID)
{
if (PP_Order_ID < 1)
set_Value (COLUMNNAME_PP_Order_ID, null);
else
set_Value (COLUMNNAME_PP_Order_ID, Integer.valueOf(PP_Order_ID));
}
/** Get Manufacturing Order.
@return Manufacturing Order */
public int getPP_Order_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order_Node.Table_Name);
org.eevolution.model.I_PP_Order_Node result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_PP_Order_Node)constructor.newInstance(new Object[] {getCtx(), new Integer(getPP_Order_Node_ID()), get_TrxName()});
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw new RuntimeException( e );
}
return result;
}
/** Set Manufacturing Order Activity.
@param PP_Order_Node_ID Manufacturing Order Activity */
public void setPP_Order_Node_ID (int PP_Order_Node_ID)
{
if (PP_Order_Node_ID < 1)
set_Value (COLUMNNAME_PP_Order_Node_ID, null);
else
set_Value (COLUMNNAME_PP_Order_Node_ID, Integer.valueOf(PP_Order_Node_ID));
}
/** Get Manufacturing Order Activity.
@return Manufacturing Order Activity */
public int getPP_Order_Node_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_Node_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_PP_Order_Workflow getPP_Order_Workflow() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order_Workflow.Table_Name);
org.eevolution.model.I_PP_Order_Workflow result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_PP_Order_Workflow)constructor.newInstance(new Object[] {getCtx(), new Integer(getPP_Order_Workflow_ID()), get_TrxName()});
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw new RuntimeException( e );
}
return result;
}
/** Set Manufacturing Order Workflow.
@param PP_Order_Workflow_ID Manufacturing Order Workflow */
public void setPP_Order_Workflow_ID (int PP_Order_Workflow_ID)
{
if (PP_Order_Workflow_ID < 1)
set_Value (COLUMNNAME_PP_Order_Workflow_ID, null);
else
set_Value (COLUMNNAME_PP_Order_Workflow_ID, Integer.valueOf(PP_Order_Workflow_ID));
}
/** Get Manufacturing Order Workflow.
@return Manufacturing Order Workflow */
public int getPP_Order_Workflow_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_Workflow_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Priority AD_Reference_ID=154 */
public static final int PRIORITY_AD_Reference_ID=154;
/** High = 3 */
public static final String PRIORITY_High = "3";
/** Medium = 5 */
public static final String PRIORITY_Medium = "5";
/** Low = 7 */
public static final String PRIORITY_Low = "7";
/** Urgent = 1 */
public static final String PRIORITY_Urgent = "1";
/** Minor = 9 */
public static final String PRIORITY_Minor = "9";
/** Set Priority.
@param Priority
Indicates if this request is of a high, medium or low priority.
*/
public void setPriority (String Priority)
{
set_Value (COLUMNNAME_Priority, Priority);
}
/** Get Priority.
@return Indicates if this request is of a high, medium or low priority.
*/
public String getPriority ()
{
return (String)get_Value(COLUMNNAME_Priority);
}
/** Set Delivered Quantity.
@param QtyDelivered
Delivered Quantity
*/
public void setQtyDelivered (BigDecimal QtyDelivered)
{
set_Value (COLUMNNAME_QtyDelivered, QtyDelivered);
}
/** Get Delivered Quantity.
@return Delivered Quantity
*/
public BigDecimal getQtyDelivered ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyDelivered);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Qty Requiered.
@param QtyRequiered Qty Requiered */
public void setQtyRequiered (BigDecimal QtyRequiered)
{
set_Value (COLUMNNAME_QtyRequiered, QtyRequiered);
}
/** Get Qty Requiered.
@return Qty Requiered */
public BigDecimal getQtyRequiered ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyRequiered);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set QtyScrap.
@param QtyScrap
Scrap Quantity for this componet
*/
public void setQtyScrap (BigDecimal QtyScrap)
{
set_Value (COLUMNNAME_QtyScrap, QtyScrap);
}
/** Get QtyScrap.
@return Scrap Quantity for this componet
*/
public BigDecimal getQtyScrap ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyScrap);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Queuing Time.
@param QueuingTime Queuing Time */
public void setQueuingTime (int QueuingTime)
{
set_Value (COLUMNNAME_QueuingTime, Integer.valueOf(QueuingTime));
}
/** Get Queuing Time.
@return Queuing Time */
public int getQueuingTime ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_QueuingTime);
if (ii == null)
return 0;
return ii.intValue();
}
public I_S_Resource getS_Resource() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_S_Resource.Table_Name);
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 new RuntimeException( 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.
@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();
}
/** Set Setup Time Real.
@param SetupTimeReal Setup Time Real */
public void setSetupTimeReal (int SetupTimeReal)
{
set_Value (COLUMNNAME_SetupTimeReal, Integer.valueOf(SetupTimeReal));
}
/** Get Setup Time Real.
@return Setup Time Real */
public int getSetupTimeReal ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_SetupTimeReal);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Units by Cycles.
@param UnitsCycles
The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.
*/
public void setUnitsCycles (int UnitsCycles)
{
set_Value (COLUMNNAME_UnitsCycles, Integer.valueOf(UnitsCycles));
}
/** Get Units by Cycles.
@return The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.
*/
public int getUnitsCycles ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_UnitsCycles);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Valid from.
@param ValidFrom
Valid from including this date (first day)
*/
public void setValidFrom (Timestamp ValidFrom)
{
set_Value (COLUMNNAME_ValidFrom, ValidFrom);
}
/** Get Valid from.
@return Valid from including this date (first day)
*/
public Timestamp getValidFrom ()
{
return (Timestamp)get_Value(COLUMNNAME_ValidFrom);
}
/** Set Valid to.
@param ValidTo
Valid to including this date (last day)
*/
public void setValidTo (Timestamp ValidTo)
{
set_Value (COLUMNNAME_ValidTo, ValidTo);
}
/** Get Valid to.
@return Valid to including this date (last day)
*/
public Timestamp getValidTo ()
{
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)
{
set_Value (COLUMNNAME_Value, Value);
}
/** 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);
}
/** Set Waiting Time.
@param WaitingTime
Workflow Simulation Waiting time
*/
public void setWaitingTime (int WaitingTime)
{
set_Value (COLUMNNAME_WaitingTime, Integer.valueOf(WaitingTime));
}
/** Get Waiting Time.
@return Workflow Simulation Waiting time
*/
public int getWaitingTime ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_WaitingTime);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Working Time.
@param WorkingTime
Workflow Simulation Execution Time
*/
public void setWorkingTime (int WorkingTime)
{
set_Value (COLUMNNAME_WorkingTime, Integer.valueOf(WorkingTime));
}
/** Get Working Time.
@return Workflow Simulation Execution Time
*/
public int getWorkingTime ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_WorkingTime);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Yield %.
@param Yield
The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
*/
public void setYield (int Yield)
{
set_Value (COLUMNNAME_Yield, Integer.valueOf(Yield));
}
/** Get Yield %.
@return The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
*/
public int getYield ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_Yield);
if (ii == null)
return 0;
return ii.intValue();
}
}

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -36,7 +36,7 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_PP_Order_Workflow (Properties ctx, int PP_Order_Workflow_ID, String trxName)
@ -273,9 +273,10 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
*/
public void setAD_Workflow_ID (int AD_Workflow_ID)
{
if (AD_Workflow_ID < 1)
throw new IllegalArgumentException ("AD_Workflow_ID is mandatory.");
set_Value (COLUMNNAME_AD_Workflow_ID, Integer.valueOf(AD_Workflow_ID));
if (AD_Workflow_ID < 1)
set_Value (COLUMNNAME_AD_Workflow_ID, null);
else
set_Value (COLUMNNAME_AD_Workflow_ID, Integer.valueOf(AD_Workflow_ID));
}
/** Get Workflow.
@ -309,9 +310,6 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
*/
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");
set_Value (COLUMNNAME_AccessLevel, AccessLevel);
}
@ -330,8 +328,6 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
*/
public void setAuthor (String Author)
{
if (Author == null)
throw new IllegalArgumentException ("Author is mandatory.");
set_Value (COLUMNNAME_Author, Author);
}
@ -349,8 +345,6 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
*/
public void setCost (BigDecimal Cost)
{
if (Cost == null)
throw new IllegalArgumentException ("Cost is mandatory.");
set_Value (COLUMNNAME_Cost, Cost);
}
@ -439,9 +433,6 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
*/
public void setDurationUnit (String DurationUnit)
{
if (DurationUnit == null) throw new IllegalArgumentException ("DurationUnit is mandatory");
if (DurationUnit.equals("Y") || DurationUnit.equals("M") || DurationUnit.equals("D") || DurationUnit.equals("h") || DurationUnit.equals("m") || DurationUnit.equals("s"));
else throw new IllegalArgumentException ("DurationUnit Invalid value - " + DurationUnit + " - Reference_ID=299 - Y - M - D - h - m - s");
set_Value (COLUMNNAME_DurationUnit, DurationUnit);
}
@ -462,6 +453,7 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
*/
public void setEntityType (String EntityType)
{
set_Value (COLUMNNAME_EntityType, EntityType);
}
@ -557,8 +549,6 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
*/
public void setName (String Name)
{
if (Name == null)
throw new IllegalArgumentException ("Name is mandatory.");
set_Value (COLUMNNAME_Name, Name);
}
@ -578,6 +568,26 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
return new KeyNamePair(get_ID(), getName());
}
/** Set Overlap Units.
@param OverlapUnits
Overlap Units are number of units that must be completed before they are moved the next activity
*/
public void setOverlapUnits (BigDecimal OverlapUnits)
{
set_Value (COLUMNNAME_OverlapUnits, OverlapUnits);
}
/** Get Overlap Units.
@return Overlap Units are number of units that must be completed before they are moved the next activity
*/
public BigDecimal getOverlapUnits ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_OverlapUnits);
if (bd == null)
return Env.ZERO;
return bd;
}
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order.Table_Name);
@ -598,9 +608,10 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
@param PP_Order_ID Manufacturing Order */
public void setPP_Order_ID (int PP_Order_ID)
{
if (PP_Order_ID < 1)
throw new IllegalArgumentException ("PP_Order_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, Integer.valueOf(PP_Order_ID));
if (PP_Order_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_ID, Integer.valueOf(PP_Order_ID));
}
/** Get Manufacturing Order.
@ -653,9 +664,10 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
@param PP_Order_Workflow_ID Manufacturing Order Workflow */
public void setPP_Order_Workflow_ID (int PP_Order_Workflow_ID)
{
if (PP_Order_Workflow_ID < 1)
throw new IllegalArgumentException ("PP_Order_Workflow_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Order_Workflow_ID, Integer.valueOf(PP_Order_Workflow_ID));
if (PP_Order_Workflow_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_Workflow_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_Workflow_ID, Integer.valueOf(PP_Order_Workflow_ID));
}
/** Get Manufacturing Order Workflow.
@ -707,9 +719,6 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
public void setProcessType (String ProcessType)
{
if (ProcessType == null || ProcessType.equals("BF") || ProcessType.equals("CF") || ProcessType.equals("DR") || ProcessType.equals("JS") || ProcessType.equals("MR") || ProcessType.equals("PL"));
else throw new IllegalArgumentException ("ProcessType Invalid value - " + ProcessType + " - Reference_ID=53224 - BF - CF - DR - JS - MR - PL");
set_Value (COLUMNNAME_ProcessType, ProcessType);
}
@ -736,9 +745,6 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
*/
public void setPublishStatus (String PublishStatus)
{
if (PublishStatus == null) throw new IllegalArgumentException ("PublishStatus is mandatory");
if (PublishStatus.equals("R") || PublishStatus.equals("T") || PublishStatus.equals("U") || PublishStatus.equals("V"));
else throw new IllegalArgumentException ("PublishStatus Invalid value - " + PublishStatus + " - Reference_ID=310 - R - T - U - V");
set_Value (COLUMNNAME_PublishStatus, PublishStatus);
}
@ -844,6 +850,26 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
return ii.intValue();
}
/** Set Units by Cycles.
@param UnitsCycles
The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.
*/
public void setUnitsCycles (BigDecimal UnitsCycles)
{
set_Value (COLUMNNAME_UnitsCycles, UnitsCycles);
}
/** Get Units by Cycles.
@return The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.
*/
public BigDecimal getUnitsCycles ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_UnitsCycles);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Valid from.
@param ValidFrom
Valid from including this date (first day)
@ -882,8 +908,6 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
@param ValidateWorkflow Validate Workflow */
public void setValidateWorkflow (String ValidateWorkflow)
{
if (ValidateWorkflow == null)
throw new IllegalArgumentException ("ValidateWorkflow is mandatory.");
set_Value (COLUMNNAME_ValidateWorkflow, ValidateWorkflow);
}
@ -968,9 +992,6 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
public void setWorkflowType (String WorkflowType)
{
if (WorkflowType == null || WorkflowType.equals("S") || WorkflowType.equals("M") || WorkflowType.equals("T") || WorkflowType.equals("Q"));
else throw new IllegalArgumentException ("WorkflowType Invalid value - " + WorkflowType + " - Reference_ID=108 - S - M - T - Q");
set_Value (COLUMNNAME_WorkflowType, WorkflowType);
}
@ -1001,4 +1022,24 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
return 0;
return ii.intValue();
}
/** Set Yield %.
@param Yield
The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
*/
public void setYield (int Yield)
{
set_Value (COLUMNNAME_Yield, Integer.valueOf(Yield));
}
/** Get Yield %.
@return The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
*/
public int getYield ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_Yield);
if (ii == null)
return 0;
return ii.intValue();
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -34,7 +34,7 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_PP_Product_BOM (Properties ctx, int PP_Product_BOM_ID, String trxName)
@ -106,9 +106,6 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste
public void setBOMType (String BOMType)
{
if (BOMType == null || BOMType.equals("A") || BOMType.equals("O") || BOMType.equals("P") || BOMType.equals("S") || BOMType.equals("F") || BOMType.equals("M") || BOMType.equals("R") || BOMType.equals("C") || BOMType.equals("K"));
else throw new IllegalArgumentException ("BOMType Invalid value - " + BOMType + " - Reference_ID=347 - A - O - P - S - F - M - R - C - K");
set_Value (COLUMNNAME_BOMType, BOMType);
}
@ -139,9 +136,6 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste
public void setBOMUse (String BOMUse)
{
if (BOMUse == null || BOMUse.equals("A") || BOMUse.equals("E") || BOMUse.equals("M") || BOMUse.equals("P") || BOMUse.equals("Q"));
else throw new IllegalArgumentException ("BOMUse Invalid value - " + BOMUse + " - Reference_ID=348 - A - E - M - P - Q");
set_Value (COLUMNNAME_BOMUse, BOMUse);
}
@ -266,7 +260,7 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste
*/
public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID)
{
if (M_AttributeSetInstance_ID < 1)
if (M_AttributeSetInstance_ID < 0)
set_Value (COLUMNNAME_M_AttributeSetInstance_ID, null);
else
set_Value (COLUMNNAME_M_AttributeSetInstance_ID, Integer.valueOf(M_AttributeSetInstance_ID));
@ -344,9 +338,10 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste
*/
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));
if (M_Product_ID < 1)
set_Value (COLUMNNAME_M_Product_ID, null);
else
set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID));
}
/** Get Product.
@ -366,8 +361,6 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste
*/
public void setName (String Name)
{
if (Name == null)
throw new IllegalArgumentException ("Name is mandatory.");
set_Value (COLUMNNAME_Name, Name);
}
@ -385,9 +378,10 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste
*/
public void setPP_Product_BOM_ID (int PP_Product_BOM_ID)
{
if (PP_Product_BOM_ID < 1)
throw new IllegalArgumentException ("PP_Product_BOM_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Product_BOM_ID, Integer.valueOf(PP_Product_BOM_ID));
if (PP_Product_BOM_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Product_BOM_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Product_BOM_ID, Integer.valueOf(PP_Product_BOM_ID));
}
/** Get BOM & Formula.
@ -442,8 +436,6 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste
*/
public void setValidFrom (Timestamp ValidFrom)
{
if (ValidFrom == null)
throw new IllegalArgumentException ("ValidFrom is mandatory.");
set_Value (COLUMNNAME_ValidFrom, ValidFrom);
}
@ -478,8 +470,6 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste
*/
public void setValue (String Value)
{
if (Value == null)
throw new IllegalArgumentException ("Value is mandatory.");
set_Value (COLUMNNAME_Value, Value);
}

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -25,6 +25,7 @@ import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import org.compiere.util.Env;
import org.compiere.util.KeyNamePair;
/** Generated Model for PP_Product_BOMLine
* @author Adempiere (generated)
@ -35,7 +36,7 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_PP_Product_BOMLine (Properties ctx, int PP_Product_BOMLine_ID, String trxName)
@ -161,8 +162,8 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_
/** ComponentType AD_Reference_ID=53225 */
public static final int COMPONENTTYPE_AD_Reference_ID=53225;
/** By Product = BY */
public static final String COMPONENTTYPE_ByProduct = "BY";
/** By-Product = BY */
public static final String COMPONENTTYPE_By_Product = "BY";
/** Component = CO */
public static final String COMPONENTTYPE_Component = "CO";
/** Phantom = PH */
@ -177,6 +178,8 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_
public static final String COMPONENTTYPE_Option = "OP";
/** Variant = VA */
public static final String COMPONENTTYPE_Variant = "VA";
/** Co-Product = CP */
public static final String COMPONENTTYPE_Co_Product = "CP";
/** Set Component Type.
@param ComponentType
Component Type for a Bill of Material or Formula
@ -184,9 +187,6 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_
public void setComponentType (String ComponentType)
{
if (ComponentType == null || ComponentType.equals("BY") || ComponentType.equals("CO") || ComponentType.equals("PH") || ComponentType.equals("PK") || ComponentType.equals("PL") || ComponentType.equals("TL") || ComponentType.equals("OP") || ComponentType.equals("VA"));
else throw new IllegalArgumentException ("ComponentType Invalid value - " + ComponentType + " - Reference_ID=53225 - BY - CO - PH - PK - PL - TL - OP - VA");
set_Value (COLUMNNAME_ComponentType, ComponentType);
}
@ -331,9 +331,6 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_
*/
public void setIssueMethod (String IssueMethod)
{
if (IssueMethod == null) throw new IllegalArgumentException ("IssueMethod is mandatory");
if (IssueMethod.equals("0") || IssueMethod.equals("1") || IssueMethod.equals("2"));
else throw new IllegalArgumentException ("IssueMethod Invalid value - " + IssueMethod + " - Reference_ID=53226 - 0 - 1 - 2");
set_Value (COLUMNNAME_IssueMethod, IssueMethod);
}
@ -392,7 +389,7 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_
*/
public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID)
{
if (M_AttributeSetInstance_ID < 1)
if (M_AttributeSetInstance_ID < 0)
set_Value (COLUMNNAME_M_AttributeSetInstance_ID, null);
else
set_Value (COLUMNNAME_M_AttributeSetInstance_ID, Integer.valueOf(M_AttributeSetInstance_ID));
@ -470,9 +467,10 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_
*/
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));
if (M_Product_ID < 1)
set_Value (COLUMNNAME_M_Product_ID, null);
else
set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID));
}
/** Get Product.
@ -486,15 +484,24 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_
return ii.intValue();
}
/** Get Record ID/ColumnName
@return ID/ColumnName pair
*/
public KeyNamePair getKeyNamePair()
{
return new KeyNamePair(get_ID(), String.valueOf(getM_Product_ID()));
}
/** 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));
if (PP_Product_BOMLine_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Product_BOMLine_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Product_BOMLine_ID, Integer.valueOf(PP_Product_BOMLine_ID));
}
/** Get BOM Line.
@ -530,9 +537,10 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_
*/
public void setPP_Product_BOM_ID (int PP_Product_BOM_ID)
{
if (PP_Product_BOM_ID < 1)
throw new IllegalArgumentException ("PP_Product_BOM_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Product_BOM_ID, Integer.valueOf(PP_Product_BOM_ID));
if (PP_Product_BOM_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Product_BOM_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Product_BOM_ID, Integer.valueOf(PP_Product_BOM_ID));
}
/** Get BOM & Formula.
@ -612,8 +620,6 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_
*/
public void setValidFrom (Timestamp ValidFrom)
{
if (ValidFrom == null)
throw new IllegalArgumentException ("ValidFrom is mandatory.");
set_Value (COLUMNNAME_ValidFrom, ValidFrom);
}

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -307,9 +307,10 @@ public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning,
*/
public void setM_Product_ID (int M_Product_ID)
{
if (M_Product_ID < 1)
throw new IllegalArgumentException ("M_Product_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID));
if (M_Product_ID < 1)
set_ValueNoCheck (COLUMNNAME_M_Product_ID, null);
else
set_ValueNoCheck (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID));
}
/** Get Product.
@ -362,15 +363,18 @@ public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning,
return ii.intValue();
}
/** Set Order Max.
@param Order_Max Order Max */
/** Set Maximum Order Qty.
@param Order_Max
Maximum order quantity in UOM
*/
public void setOrder_Max (BigDecimal Order_Max)
{
set_Value (COLUMNNAME_Order_Max, Order_Max);
}
/** Get Order Max.
@return Order Max */
/** Get Maximum Order Qty.
@return Maximum order quantity in UOM
*/
public BigDecimal getOrder_Max ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Order_Max);
@ -449,7 +453,7 @@ public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning,
public void setOrder_Policy (String Order_Policy)
{
if (Order_Policy == null || Order_Policy.equals("FOQ") || Order_Policy.equals("LFL") || Order_Policy.equals("POQ")); else throw new IllegalArgumentException ("Order_Policy Invalid value - " + Order_Policy + " - Reference_ID=53228 - FOQ - LFL - POQ"); set_Value (COLUMNNAME_Order_Policy, Order_Policy);
set_Value (COLUMNNAME_Order_Policy, Order_Policy);
}
/** Get Order Policy.
@ -519,9 +523,10 @@ public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning,
@param PP_Product_Planning_ID Product Planning */
public void setPP_Product_Planning_ID (int PP_Product_Planning_ID)
{
if (PP_Product_Planning_ID < 1)
throw new IllegalArgumentException ("PP_Product_Planning_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_Product_Planning_ID, Integer.valueOf(PP_Product_Planning_ID));
if (PP_Product_Planning_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Product_Planning_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Product_Planning_ID, Integer.valueOf(PP_Product_Planning_ID));
}
/** Get Product Planning.
@ -667,15 +672,18 @@ public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning,
return bd;
}
/** Set Yield.
@param Yield Yield */
/** Set Yield %.
@param Yield
The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
*/
public void setYield (int Yield)
{
set_Value (COLUMNNAME_Yield, Integer.valueOf(Yield));
}
/** Get Yield.
@return Yield */
/** Get Yield %.
@return The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
*/
public int getYield ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_Yield);

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -32,7 +32,7 @@ public class X_PP_WF_Node_Asset extends PO implements I_PP_WF_Node_Asset, I_Pers
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_PP_WF_Node_Asset (Properties ctx, int PP_WF_Node_Asset_ID, String trxName)
@ -97,9 +97,10 @@ public class X_PP_WF_Node_Asset extends PO implements I_PP_WF_Node_Asset, I_Pers
*/
public void setAD_WF_Node_ID (int AD_WF_Node_ID)
{
if (AD_WF_Node_ID < 1)
throw new IllegalArgumentException ("AD_WF_Node_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_AD_WF_Node_ID, Integer.valueOf(AD_WF_Node_ID));
if (AD_WF_Node_ID < 1)
set_ValueNoCheck (COLUMNNAME_AD_WF_Node_ID, null);
else
set_ValueNoCheck (COLUMNNAME_AD_WF_Node_ID, Integer.valueOf(AD_WF_Node_ID));
}
/** Get Node.
@ -135,9 +136,10 @@ public class X_PP_WF_Node_Asset extends PO implements I_PP_WF_Node_Asset, I_Pers
*/
public void setA_Asset_ID (int A_Asset_ID)
{
if (A_Asset_ID < 1)
throw new IllegalArgumentException ("A_Asset_ID is mandatory.");
set_Value (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID));
if (A_Asset_ID < 1)
set_Value (COLUMNNAME_A_Asset_ID, null);
else
set_Value (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID));
}
/** Get Asset.
@ -155,9 +157,10 @@ public class X_PP_WF_Node_Asset extends PO implements I_PP_WF_Node_Asset, I_Pers
@param PP_WF_Node_Asset_ID Workflow Node Asset */
public void setPP_WF_Node_Asset_ID (int PP_WF_Node_Asset_ID)
{
if (PP_WF_Node_Asset_ID < 1)
throw new IllegalArgumentException ("PP_WF_Node_Asset_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_WF_Node_Asset_ID, Integer.valueOf(PP_WF_Node_Asset_ID));
if (PP_WF_Node_Asset_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_WF_Node_Asset_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_WF_Node_Asset_ID, Integer.valueOf(PP_WF_Node_Asset_ID));
}
/** Get Workflow Node Asset.

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -34,7 +34,7 @@ public class X_PP_WF_Node_Product extends PO implements I_PP_WF_Node_Product, I_
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_PP_WF_Node_Product (Properties ctx, int PP_WF_Node_Product_ID, String trxName)
@ -100,9 +100,10 @@ public class X_PP_WF_Node_Product extends PO implements I_PP_WF_Node_Product, I_
*/
public void setAD_WF_Node_ID (int AD_WF_Node_ID)
{
if (AD_WF_Node_ID < 1)
throw new IllegalArgumentException ("AD_WF_Node_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_AD_WF_Node_ID, Integer.valueOf(AD_WF_Node_ID));
if (AD_WF_Node_ID < 1)
set_ValueNoCheck (COLUMNNAME_AD_WF_Node_ID, null);
else
set_ValueNoCheck (COLUMNNAME_AD_WF_Node_ID, Integer.valueOf(AD_WF_Node_ID));
}
/** Get Node.
@ -131,9 +132,6 @@ public class X_PP_WF_Node_Product extends PO implements I_PP_WF_Node_Product, I_
public void setConfigurationLevel (String ConfigurationLevel)
{
if (ConfigurationLevel == null || ConfigurationLevel.equals("S") || ConfigurationLevel.equals("C") || ConfigurationLevel.equals("O"));
else throw new IllegalArgumentException ("ConfigurationLevel Invalid value - " + ConfigurationLevel + " - Reference_ID=53222 - S - C - O");
set_Value (COLUMNNAME_ConfigurationLevel, ConfigurationLevel);
}
@ -153,6 +151,7 @@ public class X_PP_WF_Node_Product extends PO implements I_PP_WF_Node_Product, I_
*/
public void setEntityType (String EntityType)
{
set_Value (COLUMNNAME_EntityType, EntityType);
}
@ -207,9 +206,10 @@ public class X_PP_WF_Node_Product extends PO implements I_PP_WF_Node_Product, I_
*/
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));
if (M_Product_ID < 1)
set_Value (COLUMNNAME_M_Product_ID, null);
else
set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID));
}
/** Get Product.
@ -227,9 +227,10 @@ public class X_PP_WF_Node_Product extends PO implements I_PP_WF_Node_Product, I_
@param PP_WF_Node_Product_ID Workflow Node Product */
public void setPP_WF_Node_Product_ID (int PP_WF_Node_Product_ID)
{
if (PP_WF_Node_Product_ID < 1)
throw new IllegalArgumentException ("PP_WF_Node_Product_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_PP_WF_Node_Product_ID, Integer.valueOf(PP_WF_Node_Product_ID));
if (PP_WF_Node_Product_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_WF_Node_Product_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_WF_Node_Product_ID, Integer.valueOf(PP_WF_Node_Product_ID));
}
/** Get Workflow Node Product.
@ -281,21 +282,4 @@ public class X_PP_WF_Node_Product extends PO implements I_PP_WF_Node_Product, I_
return 0;
return ii.intValue();
}
/** Set Yield.
@param Yield Yield */
public void setYield (int Yield)
{
set_Value (COLUMNNAME_Yield, Integer.valueOf(Yield));
}
/** Get Yield.
@return Yield */
public int getYield ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_Yield);
if (ii == null)
return 0;
return ii.intValue();
}
}

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -33,7 +33,7 @@ public class X_QM_Specification extends PO implements I_QM_Specification, I_Pers
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_QM_Specification (Properties ctx, int QM_Specification_ID, String trxName)
@ -153,9 +153,10 @@ public class X_QM_Specification extends PO implements I_QM_Specification, I_Pers
*/
public void setM_AttributeSet_ID (int M_AttributeSet_ID)
{
if (M_AttributeSet_ID < 0)
throw new IllegalArgumentException ("M_AttributeSet_ID is mandatory.");
set_Value (COLUMNNAME_M_AttributeSet_ID, Integer.valueOf(M_AttributeSet_ID));
if (M_AttributeSet_ID < 0)
set_Value (COLUMNNAME_M_AttributeSet_ID, null);
else
set_Value (COLUMNNAME_M_AttributeSet_ID, Integer.valueOf(M_AttributeSet_ID));
}
/** Get Attribute Set.
@ -191,9 +192,10 @@ public class X_QM_Specification extends PO implements I_QM_Specification, I_Pers
*/
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));
if (M_Product_ID < 1)
set_Value (COLUMNNAME_M_Product_ID, null);
else
set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID));
}
/** Get Product.
@ -267,9 +269,10 @@ public class X_QM_Specification extends PO implements I_QM_Specification, I_Pers
@param QM_Specification_ID Quality Specification */
public void setQM_Specification_ID (int QM_Specification_ID)
{
if (QM_Specification_ID < 1)
throw new IllegalArgumentException ("QM_Specification_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_QM_Specification_ID, Integer.valueOf(QM_Specification_ID));
if (QM_Specification_ID < 1)
set_ValueNoCheck (COLUMNNAME_QM_Specification_ID, null);
else
set_ValueNoCheck (COLUMNNAME_QM_Specification_ID, Integer.valueOf(QM_Specification_ID));
}
/** Get Quality Specification.

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -33,7 +33,7 @@ public class X_QM_SpecificationLine extends PO implements I_QM_SpecificationLine
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_QM_SpecificationLine (Properties ctx, int QM_SpecificationLine_ID, String trxName)
@ -88,9 +88,6 @@ public class X_QM_SpecificationLine extends PO implements I_QM_SpecificationLine
*/
public void setAndOr (String AndOr)
{
if (AndOr == null) throw new IllegalArgumentException ("AndOr is mandatory");
if (AndOr.equals("A") || AndOr.equals("O"));
else throw new IllegalArgumentException ("AndOr Invalid value - " + AndOr + " - Reference_ID=204 - A - O");
set_Value (COLUMNNAME_AndOr, AndOr);
}
@ -125,9 +122,10 @@ public class X_QM_SpecificationLine extends PO implements I_QM_SpecificationLine
*/
public void setM_Attribute_ID (int M_Attribute_ID)
{
if (M_Attribute_ID < 1)
throw new IllegalArgumentException ("M_Attribute_ID is mandatory.");
set_Value (COLUMNNAME_M_Attribute_ID, Integer.valueOf(M_Attribute_ID));
if (M_Attribute_ID < 1)
set_Value (COLUMNNAME_M_Attribute_ID, null);
else
set_Value (COLUMNNAME_M_Attribute_ID, Integer.valueOf(M_Attribute_ID));
}
/** Get Attribute.
@ -167,9 +165,6 @@ public class X_QM_SpecificationLine extends PO implements I_QM_SpecificationLine
*/
public void setOperation (String Operation)
{
if (Operation == null) throw new IllegalArgumentException ("Operation is mandatory");
if (Operation.equals("==") || Operation.equals(">=") || Operation.equals(">>") || Operation.equals("<<") || Operation.equals("~~") || Operation.equals("<=") || Operation.equals("AB") || Operation.equals("SQ") || Operation.equals("!="));
else throw new IllegalArgumentException ("Operation Invalid value - " + Operation + " - Reference_ID=205 - == - >= - >> - << - ~~ - <= - AB - SQ - !=");
set_Value (COLUMNNAME_Operation, Operation);
}
@ -186,9 +181,10 @@ public class X_QM_SpecificationLine extends PO implements I_QM_SpecificationLine
@param QM_SpecificationLine_ID QM_SpecificationLine_ID */
public void setQM_SpecificationLine_ID (int QM_SpecificationLine_ID)
{
if (QM_SpecificationLine_ID < 1)
throw new IllegalArgumentException ("QM_SpecificationLine_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_QM_SpecificationLine_ID, Integer.valueOf(QM_SpecificationLine_ID));
if (QM_SpecificationLine_ID < 1)
set_ValueNoCheck (COLUMNNAME_QM_SpecificationLine_ID, null);
else
set_ValueNoCheck (COLUMNNAME_QM_SpecificationLine_ID, Integer.valueOf(QM_SpecificationLine_ID));
}
/** Get QM_SpecificationLine_ID.

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -30,7 +30,7 @@ public class X_RV_PP_WIP extends PO implements I_RV_PP_WIP, I_Persistent
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_RV_PP_WIP (Properties ctx, int RV_PP_WIP_ID, String trxName)

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -220,9 +220,6 @@ public class X_T_BOMLine extends PO implements I_T_BOMLine, I_Persistent
public void setCostingMethod (String CostingMethod)
{
if (CostingMethod == null || CostingMethod.equals("S") || CostingMethod.equals("A") || CostingMethod.equals("L") || CostingMethod.equals("F") || CostingMethod.equals("p") || CostingMethod.equals("I") || CostingMethod.equals("i") || CostingMethod.equals("U") || CostingMethod.equals("x"));
else throw new IllegalArgumentException ("CostingMethod Invalid value - " + CostingMethod + " - Reference_ID=122 - S - A - L - F - p - I - i - U - x");
set_Value (COLUMNNAME_CostingMethod, CostingMethod);
}
@ -606,9 +603,10 @@ public class X_T_BOMLine extends PO implements I_T_BOMLine, I_Persistent
@param Sel_Product_ID Selected Product */
public void setSel_Product_ID (int Sel_Product_ID)
{
if (Sel_Product_ID < 1)
throw new IllegalArgumentException ("Sel_Product_ID is mandatory.");
set_Value (COLUMNNAME_Sel_Product_ID, Integer.valueOf(Sel_Product_ID));
if (Sel_Product_ID < 1)
set_Value (COLUMNNAME_Sel_Product_ID, null);
else
set_Value (COLUMNNAME_Sel_Product_ID, Integer.valueOf(Sel_Product_ID));
}
/** Get Selected Product.
@ -645,9 +643,10 @@ public class X_T_BOMLine extends PO implements I_T_BOMLine, I_Persistent
@param T_BOMLine_ID Temporal BOM Line */
public void setT_BOMLine_ID (int T_BOMLine_ID)
{
if (T_BOMLine_ID < 1)
throw new IllegalArgumentException ("T_BOMLine_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_T_BOMLine_ID, Integer.valueOf(T_BOMLine_ID));
if (T_BOMLine_ID < 1)
set_ValueNoCheck (COLUMNNAME_T_BOMLine_ID, null);
else
set_ValueNoCheck (COLUMNNAME_T_BOMLine_ID, Integer.valueOf(T_BOMLine_ID));
}
/** Get Temporal BOM Line.

View File

@ -1,14 +1,14 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
@ -32,7 +32,7 @@ public class X_T_MRP_CRP extends PO implements I_T_MRP_CRP, I_Persistent
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_T_MRP_CRP (Properties ctx, int T_MRP_CRP_ID, String trxName)
@ -152,9 +152,10 @@ public class X_T_MRP_CRP extends PO implements I_T_MRP_CRP, I_Persistent
@param T_MRP_CRP_ID Temporal MRP & CRP */
public void setT_MRP_CRP_ID (int T_MRP_CRP_ID)
{
if (T_MRP_CRP_ID < 1)
throw new IllegalArgumentException ("T_MRP_CRP_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_T_MRP_CRP_ID, Integer.valueOf(T_MRP_CRP_ID));
if (T_MRP_CRP_ID < 1)
set_ValueNoCheck (COLUMNNAME_T_MRP_CRP_ID, null);
else
set_ValueNoCheck (COLUMNNAME_T_MRP_CRP_ID, Integer.valueOf(T_MRP_CRP_ID));
}
/** Get Temporal MRP & CRP.