* Generate models for org.eevolution.model models. This is needed because we need to be up2date from time to time.

* [ 2038848 ] Product Planning window - can't save if Fixed Order Qty
https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2038848&group_id=176962

Fix issues introduced by this tracker because the list name "Lote For Lote" was changed to "Lot-For-Lot" but no models were generated and usage fixed
This commit is contained in:
teo_sarca 2009-09-07 14:56:27 +00:00
parent f9bf324d61
commit f2488c4faf
96 changed files with 4591 additions and 5931 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 *
@ -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_C_TaxBase
/** 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";
@ -79,6 +85,22 @@ public interface I_C_TaxBase
/** Get Tax Base */
public int getC_TaxBase_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 Description */
public static final String COLUMNNAME_Description = "Description";
@ -105,6 +127,19 @@ public interface I_C_TaxBase
*/
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 Name */
public static final String COLUMNNAME_Name = "Name";
@ -131,6 +166,22 @@ public interface I_C_TaxBase
*/
public int getPercentage();
/** 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 Value */
public static final String COLUMNNAME_Value = "Value";

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,27 @@ public interface I_C_TaxDefinition
/** 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_OrgType_ID */
public static final String COLUMNNAME_AD_OrgType_ID = "AD_OrgType_ID";
@ -60,19 +78,6 @@ public interface I_C_TaxDefinition
public I_AD_OrgType getAD_OrgType() throws RuntimeException;
/** 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_BP_Group_ID */
public static final String COLUMNNAME_C_BP_Group_ID = "C_BP_Group_ID";
@ -103,6 +108,21 @@ public interface I_C_TaxDefinition
public I_C_BPartner getC_BPartner() throws RuntimeException;
/** Column name C_Tax_ID */
public static final String COLUMNNAME_C_Tax_ID = "C_Tax_ID";
/** Set Tax.
* Tax identifier
*/
public void setC_Tax_ID (int C_Tax_ID);
/** Get Tax.
* Tax identifier
*/
public int getC_Tax_ID();
public I_C_Tax getC_Tax() throws RuntimeException;
/** Column name C_TaxBase_ID */
public static final String COLUMNNAME_C_TaxBase_ID = "C_TaxBase_ID";
@ -160,20 +180,21 @@ public interface I_C_TaxDefinition
public org.eevolution.model.I_C_TaxType getC_TaxType() throws RuntimeException;
/** Column name C_Tax_ID */
public static final String COLUMNNAME_C_Tax_ID = "C_Tax_ID";
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Set Tax.
* Tax identifier
/** Get Created.
* Date this record was created
*/
public void setC_Tax_ID (int C_Tax_ID);
public Timestamp getCreated();
/** Get Tax.
* Tax identifier
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getC_Tax_ID();
public I_C_Tax getC_Tax() throws RuntimeException;
public int getCreatedBy();
/** Column name Description */
public static final String COLUMNNAME_Description = "Description";
@ -201,6 +222,19 @@ public interface I_C_TaxDefinition
*/
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 IsInvoiced */
public static final String COLUMNNAME_IsInvoiced = "IsInvoiced";
@ -290,6 +324,22 @@ public interface I_C_TaxDefinition
*/
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 *
@ -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_C_TaxGroup
/** 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";
@ -66,6 +72,22 @@ public interface I_C_TaxGroup
/** Get Tax Group */
public int getC_TaxGroup_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 Description */
public static final String COLUMNNAME_Description = "Description";
@ -92,6 +114,19 @@ public interface I_C_TaxGroup
*/
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 Name */
public static final String COLUMNNAME_Name = "Name";
@ -105,6 +140,22 @@ public interface I_C_TaxGroup
*/
public String getName();
/** 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 Value */
public static final String COLUMNNAME_Value = "Value";

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_C_TaxType
/** 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";
@ -66,6 +72,22 @@ public interface I_C_TaxType
/** Get Tax Type */
public int getC_TaxType_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 Description */
public static final String COLUMNNAME_Description = "Description";
@ -92,6 +114,19 @@ public interface I_C_TaxType
*/
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 Name */
public static final String COLUMNNAME_Name = "Name";
@ -105,6 +140,22 @@ public interface I_C_TaxType
*/
public String getName();
/** 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 Value */
public static final String COLUMNNAME_Value = "Value";

View File

@ -79,15 +79,6 @@ public interface I_DD_NetworkDistributionLine
*/
public int getCreatedBy();
/** Column name DD_NetworkDistributionLine_ID */
public static final String COLUMNNAME_DD_NetworkDistributionLine_ID = "DD_NetworkDistributionLine_ID";
/** Set Network Distribution Line */
public void setDD_NetworkDistributionLine_ID (int DD_NetworkDistributionLine_ID);
/** Get Network Distribution Line */
public int getDD_NetworkDistributionLine_ID();
/** Column name DD_NetworkDistribution_ID */
public static final String COLUMNNAME_DD_NetworkDistribution_ID = "DD_NetworkDistribution_ID";
@ -99,6 +90,15 @@ public interface I_DD_NetworkDistributionLine
public org.eevolution.model.I_DD_NetworkDistribution getDD_NetworkDistribution() throws RuntimeException;
/** Column name DD_NetworkDistributionLine_ID */
public static final String COLUMNNAME_DD_NetworkDistributionLine_ID = "DD_NetworkDistributionLine_ID";
/** Set Network Distribution Line */
public void setDD_NetworkDistributionLine_ID (int DD_NetworkDistributionLine_ID);
/** Get Network Distribution Line */
public int getDD_NetworkDistributionLine_ID();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
@ -127,6 +127,21 @@ public interface I_DD_NetworkDistributionLine
public I_M_Shipper getM_Shipper() 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 M_WarehouseSource_ID */
public static final String COLUMNNAME_M_WarehouseSource_ID = "M_WarehouseSource_ID";
@ -140,18 +155,7 @@ public interface I_DD_NetworkDistributionLine
*/
public int getM_WarehouseSource_ID();
/** 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_WarehouseSource() throws RuntimeException;
/** Column name Percent */
public static final String COLUMNNAME_Percent = "Percent";

View File

@ -50,19 +50,6 @@ public interface I_DD_Order
*/
public int getAD_Client_ID();
/** Column name AD_OrgTrx_ID */
public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID";
/** Set Trx Organization.
* Performing or initiating organization
*/
public void setAD_OrgTrx_ID (int AD_OrgTrx_ID);
/** Get Trx Organization.
* Performing or initiating organization
*/
public int getAD_OrgTrx_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -76,6 +63,19 @@ public interface I_DD_Order
*/
public int getAD_Org_ID();
/** Column name AD_OrgTrx_ID */
public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID";
/** Set Trx Organization.
* Performing or initiating organization
*/
public void setAD_OrgTrx_ID (int AD_OrgTrx_ID);
/** Get Trx Organization.
* Performing or initiating organization
*/
public int getAD_OrgTrx_ID();
/** Column name AD_User_ID */
public static final String COLUMNNAME_AD_User_ID = "AD_User_ID";
@ -164,6 +164,8 @@ public interface I_DD_Order
*/
public int getC_Charge_ID();
public I_C_Charge getC_Charge() throws RuntimeException;
/** Column name C_DocType_ID */
public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID";
@ -246,6 +248,22 @@ public interface I_DD_Order
/** Get Create Confirm */
public String getCreateConfirm();
/** 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 CreateFrom */
public static final String COLUMNNAME_CreateFrom = "CreateFrom";
@ -268,31 +286,6 @@ 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";
/** Set Distribution Order */
public void setDD_Order_ID (int DD_Order_ID);
/** Get Distribution Order */
public int getDD_Order_ID();
/** Column name DateOrdered */
public static final String COLUMNNAME_DateOrdered = "DateOrdered";
@ -345,6 +338,15 @@ public interface I_DD_Order
*/
public Timestamp getDateReceived();
/** Column name DD_Order_ID */
public static final String COLUMNNAME_DD_Order_ID = "DD_Order_ID";
/** Set Distribution Order */
public void setDD_Order_ID (int DD_Order_ID);
/** Get Distribution Order */
public int getDD_Order_ID();
/** Column name DeliveryRule */
public static final String COLUMNNAME_DeliveryRule = "DeliveryRule";
@ -549,6 +551,15 @@ public interface I_DD_Order
*/
public boolean isPrinted();
/** Column name IsSelected */
public static final String COLUMNNAME_IsSelected = "IsSelected";
/** Set Selected */
public void setIsSelected (boolean IsSelected);
/** Get Selected */
public boolean isSelected();
/** Column name IsSOTrx */
public static final String COLUMNNAME_IsSOTrx = "IsSOTrx";
@ -562,15 +573,6 @@ public interface I_DD_Order
*/
public boolean isSOTrx();
/** Column name IsSelected */
public static final String COLUMNNAME_IsSelected = "IsSelected";
/** Set Selected */
public void setIsSelected (boolean IsSelected);
/** Get Selected */
public boolean isSelected();
/** Column name M_Shipper_ID */
public static final String COLUMNNAME_M_Shipper_ID = "M_Shipper_ID";
@ -614,19 +616,6 @@ public interface I_DD_Order
*/
public int getNoPackages();
/** Column name POReference */
public static final String COLUMNNAME_POReference = "POReference";
/** Set Order Reference.
* Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner
*/
public void setPOReference (String POReference);
/** Get Order Reference.
* Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner
*/
public String getPOReference();
/** Column name PickDate */
public static final String COLUMNNAME_PickDate = "PickDate";
@ -640,6 +629,19 @@ public interface I_DD_Order
*/
public Timestamp getPickDate();
/** Column name POReference */
public static final String COLUMNNAME_POReference = "POReference";
/** Set Order Reference.
* Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner
*/
public void setPOReference (String POReference);
/** Get Order Reference.
* Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner
*/
public String getPOReference();
/** Column name Posted */
public static final String COLUMNNAME_Posted = "Posted";
@ -714,6 +716,8 @@ public interface I_DD_Order
*/
public int getSalesRep_ID();
public I_AD_User getSalesRep() throws RuntimeException;
/** Column name SendEMail */
public static final String COLUMNNAME_SendEMail = "SendEMail";
@ -782,6 +786,8 @@ public interface I_DD_Order
*/
public int getUser1_ID();
public I_C_ElementValue getUser1() throws RuntimeException;
/** Column name User2_ID */
public static final String COLUMNNAME_User2_ID = "User2_ID";
@ -795,6 +801,8 @@ public interface I_DD_Order
*/
public int getUser2_ID();
public I_C_ElementValue getUser2() throws RuntimeException;
/** Column name Volume */
public static final String COLUMNNAME_Volume = "Volume";

View File

@ -50,19 +50,6 @@ public interface I_DD_OrderLine
*/
public int getAD_Client_ID();
/** Column name AD_OrgTrx_ID */
public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID";
/** Set Trx Organization.
* Performing or initiating organization
*/
public void setAD_OrgTrx_ID (int AD_OrgTrx_ID);
/** Get Trx Organization.
* Performing or initiating organization
*/
public int getAD_OrgTrx_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -76,6 +63,19 @@ public interface I_DD_OrderLine
*/
public int getAD_Org_ID();
/** Column name AD_OrgTrx_ID */
public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID";
/** Set Trx Organization.
* Performing or initiating organization
*/
public void setAD_OrgTrx_ID (int AD_OrgTrx_ID);
/** Get Trx Organization.
* Performing or initiating organization
*/
public int getAD_OrgTrx_ID();
/** Column name C_Activity_ID */
public static final String COLUMNNAME_C_Activity_ID = "C_Activity_ID";
@ -180,26 +180,6 @@ public interface I_DD_OrderLine
*/
public int getCreatedBy();
/** Column name DD_OrderLine_ID */
public static final String COLUMNNAME_DD_OrderLine_ID = "DD_OrderLine_ID";
/** Set Distribution Order Line */
public void setDD_OrderLine_ID (int DD_OrderLine_ID);
/** Get Distribution Order Line */
public int getDD_OrderLine_ID();
/** Column name DD_Order_ID */
public static final String COLUMNNAME_DD_Order_ID = "DD_Order_ID";
/** Set Distribution Order */
public void setDD_Order_ID (int DD_Order_ID);
/** Get Distribution Order */
public int getDD_Order_ID();
public org.eevolution.model.I_DD_Order getDD_Order() throws RuntimeException;
/** Column name DateDelivered */
public static final String COLUMNNAME_DateDelivered = "DateDelivered";
@ -239,6 +219,26 @@ public interface I_DD_OrderLine
*/
public Timestamp getDatePromised();
/** Column name DD_Order_ID */
public static final String COLUMNNAME_DD_Order_ID = "DD_Order_ID";
/** Set Distribution Order */
public void setDD_Order_ID (int DD_Order_ID);
/** Get Distribution Order */
public int getDD_Order_ID();
public org.eevolution.model.I_DD_Order getDD_Order() throws RuntimeException;
/** Column name DD_OrderLine_ID */
public static final String COLUMNNAME_DD_OrderLine_ID = "DD_OrderLine_ID";
/** Set Distribution Order Line */
public void setDD_OrderLine_ID (int DD_OrderLine_ID);
/** Get Distribution Order Line */
public int getDD_OrderLine_ID();
/** Column name Description */
public static final String COLUMNNAME_Description = "Description";
@ -330,19 +330,6 @@ public interface I_DD_OrderLine
*/
public BigDecimal getLineNetAmt();
/** Column name M_AttributeSetInstanceTo_ID */
public static final String COLUMNNAME_M_AttributeSetInstanceTo_ID = "M_AttributeSetInstanceTo_ID";
/** Set Attribute Set Instance To.
* Target Product Attribute Set Instance
*/
public void setM_AttributeSetInstanceTo_ID (int M_AttributeSetInstanceTo_ID);
/** Get Attribute Set Instance To.
* Target Product Attribute Set Instance
*/
public int getM_AttributeSetInstanceTo_ID();
/** Column name M_AttributeSetInstance_ID */
public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID";
@ -356,18 +343,22 @@ public interface I_DD_OrderLine
*/
public int getM_AttributeSetInstance_ID();
/** Column name M_LocatorTo_ID */
public static final String COLUMNNAME_M_LocatorTo_ID = "M_LocatorTo_ID";
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException;
/** Set Locator To.
* Location inventory is moved to
*/
public void setM_LocatorTo_ID (int M_LocatorTo_ID);
/** Column name M_AttributeSetInstanceTo_ID */
public static final String COLUMNNAME_M_AttributeSetInstanceTo_ID = "M_AttributeSetInstanceTo_ID";
/** Get Locator To.
* Location inventory is moved to
/** Set Attribute Set Instance To.
* Target Product Attribute Set Instance
*/
public int getM_LocatorTo_ID();
public void setM_AttributeSetInstanceTo_ID (int M_AttributeSetInstanceTo_ID);
/** Get Attribute Set Instance To.
* Target Product Attribute Set Instance
*/
public int getM_AttributeSetInstanceTo_ID();
public I_M_AttributeSetInstance getM_AttributeSetInstanceTo() throws RuntimeException;
/** Column name M_Locator_ID */
public static final String COLUMNNAME_M_Locator_ID = "M_Locator_ID";
@ -384,6 +375,21 @@ public interface I_DD_OrderLine
public I_M_Locator getM_Locator() throws RuntimeException;
/** Column name M_LocatorTo_ID */
public static final String COLUMNNAME_M_LocatorTo_ID = "M_LocatorTo_ID";
/** Set Locator To.
* Location inventory is moved to
*/
public void setM_LocatorTo_ID (int M_LocatorTo_ID);
/** Get Locator To.
* Location inventory is moved to
*/
public int getM_LocatorTo_ID();
public I_M_Locator getM_LocatorTo() throws RuntimeException;
/** Column name M_Product_ID */
public static final String COLUMNNAME_M_Product_ID = "M_Product_ID";
@ -397,6 +403,8 @@ public interface I_DD_OrderLine
*/
public int getM_Product_ID();
public I_M_Product getM_Product() throws RuntimeException;
/** Column name PickedQty */
public static final String COLUMNNAME_PickedQty = "PickedQty";
@ -535,6 +543,8 @@ public interface I_DD_OrderLine
*/
public int getUser1_ID();
public I_C_ElementValue getUser1() throws RuntimeException;
/** Column name User2_ID */
public static final String COLUMNNAME_User2_ID = "User2_ID";
@ -547,4 +557,6 @@ public interface I_DD_OrderLine
* User defined list element #2
*/
public int getUser2_ID();
public I_C_ElementValue getUser2() throws RuntimeException;
}

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_HR_Attribute
/** 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";
@ -106,6 +111,22 @@ public interface I_HR_Attribute
/** Get Column Type */
public String getColumnType();
/** 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";
@ -128,6 +149,8 @@ public interface I_HR_Attribute
/** Get Payroll Attribute Account */
public int getHR_Attribute_Acct();
public I_C_ValidCombination getHR_Attribute_A() throws RuntimeException;
/** Column name HR_Attribute_ID */
public static final String COLUMNNAME_HR_Attribute_ID = "HR_Attribute_ID";
@ -192,6 +215,19 @@ public interface I_HR_Attribute
public org.eevolution.model.I_HR_Payroll getHR_Payroll() 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 IsPrinted */
public static final String COLUMNNAME_IsPrinted = "IsPrinted";
@ -262,6 +298,22 @@ public interface I_HR_Attribute
*/
public String getTextMsg();
/** 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

@ -42,6 +42,19 @@ public interface I_HR_Concept
/** Load Meta Data */
/** Column name AccountSign */
public static final String COLUMNNAME_AccountSign = "AccountSign";
/** Set Account Sign.
* Indicates the Natural Sign of the Account as a Debit or Credit
*/
public void setAccountSign (String AccountSign);
/** Get Account Sign.
* Indicates the Natural Sign of the Account as a Debit or Credit
*/
public String getAccountSign();
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
@ -78,19 +91,6 @@ public interface I_HR_Concept
public I_AD_Reference getAD_Reference() throws RuntimeException;
/** Column name AccountSign */
public static final String COLUMNNAME_AccountSign = "AccountSign";
/** Set Account Sign.
* Indicates the Natural Sign of the Account as a Debit or Credit
*/
public void setAccountSign (String AccountSign);
/** Get Account Sign.
* Indicates the Natural Sign of the Account as a Debit or Credit
*/
public String getAccountSign();
/** Column name ColumnType */
public static final String COLUMNNAME_ColumnType = "ColumnType";

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_HR_Concept_Acct
/** 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,22 @@ public interface I_HR_Concept_Acct
public I_C_BP_Group getC_BP_Group() 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 HR_Concept_Acct_ID */
public static final String COLUMNNAME_HR_Concept_Acct_ID = "HR_Concept_Acct_ID";
@ -116,6 +138,8 @@ public interface I_HR_Concept_Acct
/** Get Payroll Expense Account */
public int getHR_Expense_Acct();
public I_C_ValidCombination getHR_Expense_A() throws RuntimeException;
/** Column name HR_Revenue_Acct */
public static final String COLUMNNAME_HR_Revenue_Acct = "HR_Revenue_Acct";
@ -125,6 +149,21 @@ public interface I_HR_Concept_Acct
/** Get Payroll Revenue Account */
public int getHR_Revenue_Acct();
public I_C_ValidCombination getHR_Revenue_A() 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 IsBalancing */
public static final String COLUMNNAME_IsBalancing = "IsBalancing";
@ -138,6 +177,22 @@ public interface I_HR_Concept_Acct
*/
public boolean isBalancing();
/** 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";
@ -151,6 +206,8 @@ public interface I_HR_Concept_Acct
*/
public int getUser1_ID();
public I_C_ElementValue getUser1() throws RuntimeException;
/** Column name User2_ID */
public static final String COLUMNNAME_User2_ID = "User2_ID";
@ -163,4 +220,6 @@ public interface I_HR_Concept_Acct
* User defined list element #2
*/
public int getUser2_ID();
public I_C_ValidCombination getUser2() throws RuntimeException;
}

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_HR_Concept_Category
/** 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,22 @@ public interface I_HR_Concept_Category
*/
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 Description */
public static final String COLUMNNAME_Description = "Description";
@ -79,6 +101,8 @@ public interface I_HR_Concept_Category
/** Get Payroll Concept Account */
public int getHR_Concept_Acct();
public I_C_ValidCombination getHR_Concept_A() throws RuntimeException;
/** Column name HR_Concept_Category_ID */
public static final String COLUMNNAME_HR_Concept_Category_ID = "HR_Concept_Category_ID";
@ -88,6 +112,19 @@ public interface I_HR_Concept_Category
/** Get Payroll Concept Category */
public int getHR_Concept_Category_ID();
/** 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";
@ -114,6 +151,22 @@ public interface I_HR_Concept_Category
*/
public String getName();
/** 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 Value */
public static final String COLUMNNAME_Value = "Value";

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_HR_Contract
/** 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";
@ -103,6 +108,22 @@ public interface I_HR_Contract
public I_C_Project getC_Project() 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";
@ -125,6 +146,19 @@ public interface I_HR_Contract
/** Get Payroll Contract */
public int getHR_Contract_ID();
/** 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 Name */
public static final String COLUMNNAME_Name = "Name";
@ -151,6 +185,22 @@ public interface I_HR_Contract
*/
public int getNetDays();
/** 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 *
@ -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_HR_Department
/** 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_HR_Department
public I_C_Activity getC_Activity() 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";
@ -94,6 +116,19 @@ public interface I_HR_Department
/** Get Payroll Department */
public int getHR_Department_ID();
/** 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 Name */
public static final String COLUMNNAME_Name = "Name";
@ -107,6 +142,22 @@ public interface I_HR_Department
*/
public String getName();
/** 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 Value */
public static final String COLUMNNAME_Value = "Value";

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_HR_Employee
/** 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";
@ -101,6 +106,22 @@ public interface I_HR_Employee
*/
public String getCode();
/** 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 EndDate */
public static final String COLUMNNAME_EndDate = "EndDate";
@ -169,6 +190,19 @@ public interface I_HR_Employee
*/
public String getImageURL();
/** 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 Name */
public static final String COLUMNNAME_Name = "Name";
@ -225,4 +259,20 @@ public interface I_HR_Employee
* First effective day (inclusive)
*/
public Timestamp getStartDate();
/** 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_HR_Job
/** 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,22 @@ public interface I_HR_Job
*/
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 Description */
public static final String COLUMNNAME_Description = "Description";
@ -90,6 +112,19 @@ public interface I_HR_Job
/** Get Payroll Job */
public int getHR_Job_ID();
/** 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 IsParent */
public static final String COLUMNNAME_IsParent = "IsParent";
@ -134,6 +169,8 @@ public interface I_HR_Job
/** Get Next Job */
public int getNext_Job_ID();
public org.eevolution.model.I_HR_Job getNext_Job() throws RuntimeException;
/** Column name Supervisor_ID */
public static final String COLUMNNAME_Supervisor_ID = "Supervisor_ID";
@ -147,6 +184,24 @@ public interface I_HR_Job
*/
public int getSupervisor_ID();
public I_AD_User getSupervisor() 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();
/** Column name Value */
public static final String COLUMNNAME_Value = "Value";

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_HR_List
/** 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_HR_List
*/
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 Description */
public static final String COLUMNNAME_Description = "Description";
@ -93,6 +114,15 @@ public interface I_HR_List
public org.eevolution.model.I_HR_Employee getHR_Employee() throws RuntimeException;
/** Column name HR_List_ID */
public static final String COLUMNNAME_HR_List_ID = "HR_List_ID";
/** Set Payroll List */
public void setHR_List_ID (int HR_List_ID);
/** Get Payroll List */
public int getHR_List_ID();
/** Column name HR_ListType_ID */
public static final String COLUMNNAME_HR_ListType_ID = "HR_ListType_ID";
@ -104,15 +134,6 @@ public interface I_HR_List
public org.eevolution.model.I_HR_ListType getHR_ListType() throws RuntimeException;
/** Column name HR_List_ID */
public static final String COLUMNNAME_HR_List_ID = "HR_List_ID";
/** Set Payroll List */
public void setHR_List_ID (int HR_List_ID);
/** Get Payroll List */
public int getHR_List_ID();
/** Column name HR_Payroll_ID */
public static final String COLUMNNAME_HR_Payroll_ID = "HR_Payroll_ID";
@ -124,6 +145,19 @@ public interface I_HR_List
public org.eevolution.model.I_HR_Payroll getHR_Payroll() 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 IsEmployee */
public static final String COLUMNNAME_IsEmployee = "IsEmployee";
@ -150,6 +184,22 @@ public interface I_HR_List
*/
public String getName();
/** 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 *
@ -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_HR_ListLine
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -129,6 +135,22 @@ public interface I_HR_ListLine
/** Get Col_8 */
public BigDecimal getCol_8();
/** 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 HR_ListLine_ID */
public static final String COLUMNNAME_HR_ListLine_ID = "HR_ListLine_ID";
@ -149,6 +171,19 @@ public interface I_HR_ListLine
public org.eevolution.model.I_HR_ListVersion getHR_ListVersion() 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 MaxValue */
public static final String COLUMNNAME_MaxValue = "MaxValue";
@ -179,4 +214,20 @@ public interface I_HR_ListLine
* Alphanumeric identifier of the entity
*/
public String getName();
/** 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_HR_ListType
/** 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,22 @@ public interface I_HR_ListType
*/
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 Description */
public static final String COLUMNNAME_Description = "Description";
@ -79,6 +101,19 @@ public interface I_HR_ListType
/** Get Payroll List Type */
public int getHR_ListType_ID();
/** 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 Name */
public static final String COLUMNNAME_Name = "Name";
@ -92,6 +127,22 @@ public interface I_HR_ListType
*/
public String getName();
/** 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 Value */
public static final String COLUMNNAME_Value = "Value";

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_HR_ListVersion
/** 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_HR_ListVersion
*/
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 Description */
public static final String COLUMNNAME_Description = "Description";
@ -71,24 +92,6 @@ public interface I_HR_ListVersion
*/
public String getDescription();
/** Column name HR_ListBase_ID */
public static final String COLUMNNAME_HR_ListBase_ID = "HR_ListBase_ID";
/** Set Payroll List Base */
public void setHR_ListBase_ID (int HR_ListBase_ID);
/** Get Payroll List Base */
public int getHR_ListBase_ID();
/** Column name HR_ListVersion_ID */
public static final String COLUMNNAME_HR_ListVersion_ID = "HR_ListVersion_ID";
/** Set Payroll List Version */
public void setHR_ListVersion_ID (int HR_ListVersion_ID);
/** Get Payroll List Version */
public int getHR_ListVersion_ID();
/** Column name HR_List_ID */
public static final String COLUMNNAME_HR_List_ID = "HR_List_ID";
@ -100,6 +103,39 @@ public interface I_HR_ListVersion
public org.eevolution.model.I_HR_List getHR_List() throws RuntimeException;
/** Column name HR_ListBase_ID */
public static final String COLUMNNAME_HR_ListBase_ID = "HR_ListBase_ID";
/** Set Payroll List Base */
public void setHR_ListBase_ID (int HR_ListBase_ID);
/** Get Payroll List Base */
public int getHR_ListBase_ID();
public org.eevolution.model.I_HR_List getHR_ListBase() throws RuntimeException;
/** Column name HR_ListVersion_ID */
public static final String COLUMNNAME_HR_ListVersion_ID = "HR_ListVersion_ID";
/** Set Payroll List Version */
public void setHR_ListVersion_ID (int HR_ListVersion_ID);
/** Get Payroll List Version */
public int getHR_ListVersion_ID();
/** 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 Name */
public static final String COLUMNNAME_Name = "Name";
@ -113,6 +149,22 @@ public interface I_HR_ListVersion
*/
public String getName();
/** 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

@ -50,19 +50,6 @@ public interface I_HR_Movement
*/
public int getAD_Client_ID();
/** Column name AD_OrgTrx_ID */
public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID";
/** Set Trx Organization.
* Performing or initiating organization
*/
public void setAD_OrgTrx_ID (int AD_OrgTrx_ID);
/** Get Trx Organization.
* Performing or initiating organization
*/
public int getAD_OrgTrx_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -76,6 +63,19 @@ public interface I_HR_Movement
*/
public int getAD_Org_ID();
/** Column name AD_OrgTrx_ID */
public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID";
/** Set Trx Organization.
* Performing or initiating organization
*/
public void setAD_OrgTrx_ID (int AD_OrgTrx_ID);
/** Get Trx Organization.
* Performing or initiating organization
*/
public int getAD_OrgTrx_ID();
/** Column name AD_Rule_ID */
public static final String COLUMNNAME_AD_Rule_ID = "AD_Rule_ID";
@ -145,6 +145,21 @@ public interface I_HR_Movement
public I_C_Campaign getC_Campaign() 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_ProjectPhase_ID */
public static final String COLUMNNAME_C_ProjectPhase_ID = "C_ProjectPhase_ID";
@ -175,21 +190,6 @@ public interface I_HR_Movement
public I_C_ProjectTask getC_ProjectTask() 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 ColumnType */
public static final String COLUMNNAME_ColumnType = "ColumnType";
@ -423,6 +423,8 @@ public interface I_HR_Movement
*/
public int getUser1_ID();
public I_C_ElementValue getUser1() throws RuntimeException;
/** Column name User2_ID */
public static final String COLUMNNAME_User2_ID = "User2_ID";
@ -436,6 +438,8 @@ public interface I_HR_Movement
*/
public int getUser2_ID();
public I_C_ElementValue getUser2() throws RuntimeException;
/** 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 *
@ -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_HR_Payroll
/** 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,22 @@ public interface I_HR_Payroll
public I_C_Charge getC_Charge() 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";
@ -120,6 +142,19 @@ public interface I_HR_Payroll
/** Get Payroll */
public int getHR_Payroll_ID();
/** 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 Name */
public static final String COLUMNNAME_Name = "Name";
@ -168,6 +203,22 @@ public interface I_HR_Payroll
/** Get Process Now */
public boolean isProcessing();
/** 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 Value */
public static final String COLUMNNAME_Value = "Value";

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_HR_PayrollConcept
/** 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";
@ -68,6 +74,22 @@ public interface I_HR_PayrollConcept
public I_AD_Rule getAD_Rule() 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 HR_Concept_ID */
public static final String COLUMNNAME_HR_Concept_ID = "HR_Concept_ID";
@ -79,15 +101,6 @@ public interface I_HR_PayrollConcept
public org.eevolution.model.I_HR_Concept getHR_Concept() throws RuntimeException;
/** Column name HR_PayrollConcept_ID */
public static final String COLUMNNAME_HR_PayrollConcept_ID = "HR_PayrollConcept_ID";
/** Set Payroll Concept */
public void setHR_PayrollConcept_ID (int HR_PayrollConcept_ID);
/** Get Payroll Concept */
public int getHR_PayrollConcept_ID();
/** Column name HR_Payroll_ID */
public static final String COLUMNNAME_HR_Payroll_ID = "HR_Payroll_ID";
@ -99,6 +112,28 @@ public interface I_HR_PayrollConcept
public org.eevolution.model.I_HR_Payroll getHR_Payroll() throws RuntimeException;
/** Column name HR_PayrollConcept_ID */
public static final String COLUMNNAME_HR_PayrollConcept_ID = "HR_PayrollConcept_ID";
/** Set Payroll Concept */
public void setHR_PayrollConcept_ID (int HR_PayrollConcept_ID);
/** Get Payroll Concept */
public int getHR_PayrollConcept_ID();
/** 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 IsDisplayed */
public static final String COLUMNNAME_IsDisplayed = "IsDisplayed";
@ -165,4 +200,20 @@ public interface I_HR_PayrollConcept
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 *
@ -45,6 +42,14 @@ public interface I_HR_Period
/** 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";
@ -88,6 +93,22 @@ public interface I_HR_Period
public I_C_Year getC_Year() 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 DateAcct */
public static final String COLUMNNAME_DateAcct = "DateAcct";
@ -158,6 +179,19 @@ public interface I_HR_Period
public org.eevolution.model.I_HR_Year getHR_Year() 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 Name */
public static final String COLUMNNAME_Name = "Name";
@ -244,4 +278,20 @@ public interface I_HR_Period
* First effective day (inclusive)
*/
public Timestamp getStartDate();
/** 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 *
@ -45,6 +42,14 @@ public interface I_HR_Process
/** 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";
@ -118,19 +123,6 @@ public interface I_HR_Process
public I_C_Charge getC_Charge() throws RuntimeException;
/** Column name C_DocTypeTarget_ID */
public static final String COLUMNNAME_C_DocTypeTarget_ID = "C_DocTypeTarget_ID";
/** Set Target Document Type.
* Target document type for conversing documents
*/
public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID);
/** Get Target Document Type.
* Target document type for conversing documents
*/
public int getC_DocTypeTarget_ID();
/** Column name C_DocType_ID */
public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID";
@ -146,6 +138,21 @@ public interface I_HR_Process
public I_C_DocType getC_DocType() throws RuntimeException;
/** Column name C_DocTypeTarget_ID */
public static final String COLUMNNAME_C_DocTypeTarget_ID = "C_DocTypeTarget_ID";
/** Set Target Document Type.
* Target document type for conversing documents
*/
public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID);
/** Get Target Document Type.
* Target document type for conversing documents
*/
public int getC_DocTypeTarget_ID();
public I_C_DocType getC_DocTypeTarget() throws RuntimeException;
/** Column name C_PaySelection_ID */
public static final String COLUMNNAME_C_PaySelection_ID = "C_PaySelection_ID";
@ -174,6 +181,22 @@ public interface I_HR_Process
*/
public String getColumnSQL();
/** 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";
@ -290,6 +313,19 @@ public interface I_HR_Process
/** Get Payroll Process */
public int getHR_Process_ID();
/** 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 Name */
public static final String COLUMNNAME_Name = "Name";
@ -350,4 +386,22 @@ public interface I_HR_Process
* ID of document reversal
*/
public int getReversal_ID();
public org.eevolution.model.I_HR_Process getReversal() 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 *
@ -45,6 +42,14 @@ public interface I_HR_Year
/** 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_HR_Year
public I_C_Year getC_Year() 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 HR_Payroll_ID */
public static final String COLUMNNAME_HR_Payroll_ID = "HR_Payroll_ID";
@ -93,6 +114,19 @@ public interface I_HR_Year
/** Get Payroll Year */
public int getHR_Year_ID();
/** 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 NetDays */
public static final String COLUMNNAME_NetDays = "NetDays";
@ -153,4 +187,20 @@ public interface I_HR_Year
* First effective day (inclusive)
*/
public Timestamp getStartDate();
/** 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

@ -50,19 +50,6 @@ public interface I_PP_Cost_Collector
*/
public int getAD_Client_ID();
/** Column name AD_OrgTrx_ID */
public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID";
/** Set Trx Organization.
* Performing or initiating organization
*/
public void setAD_OrgTrx_ID (int AD_OrgTrx_ID);
/** Get Trx Organization.
* Performing or initiating organization
*/
public int getAD_OrgTrx_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -76,6 +63,19 @@ public interface I_PP_Cost_Collector
*/
public int getAD_Org_ID();
/** Column name AD_OrgTrx_ID */
public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID";
/** Set Trx Organization.
* Performing or initiating organization
*/
public void setAD_OrgTrx_ID (int AD_OrgTrx_ID);
/** Get Trx Organization.
* Performing or initiating organization
*/
public int getAD_OrgTrx_ID();
/** Column name AD_User_ID */
public static final String COLUMNNAME_AD_User_ID = "AD_User_ID";
@ -121,6 +121,19 @@ public interface I_PP_Cost_Collector
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();
/** Column name C_DocTypeTarget_ID */
public static final String COLUMNNAME_C_DocTypeTarget_ID = "C_DocTypeTarget_ID";
@ -134,18 +147,7 @@ public interface I_PP_Cost_Collector
*/
public int getC_DocTypeTarget_ID();
/** 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_DocTypeTarget() throws RuntimeException;
/** Column name C_Project_ID */
public static final String COLUMNNAME_C_Project_ID = "C_Project_ID";
@ -324,6 +326,8 @@ public interface I_PP_Cost_Collector
*/
public int getM_AttributeSetInstance_ID();
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException;
/** Column name M_Locator_ID */
public static final String COLUMNNAME_M_Locator_ID = "M_Locator_ID";
@ -337,6 +341,8 @@ public interface I_PP_Cost_Collector
*/
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";
@ -393,6 +399,19 @@ public interface I_PP_Cost_Collector
*/
public BigDecimal getMovementQty();
/** Column name Posted */
public static final String COLUMNNAME_Posted = "Posted";
/** Set Posted.
* Posting status
*/
public void setPosted (boolean Posted);
/** Get Posted.
* Posting status
*/
public boolean isPosted();
/** Column name PP_Cost_Collector_ID */
public static final String COLUMNNAME_PP_Cost_Collector_ID = "PP_Cost_Collector_ID";
@ -446,19 +465,6 @@ public interface I_PP_Cost_Collector
public org.eevolution.model.I_PP_Order_Workflow getPP_Order_Workflow() throws RuntimeException;
/** Column name Posted */
public static final String COLUMNNAME_Posted = "Posted";
/** Set Posted.
* Posting status
*/
public void setPosted (boolean Posted);
/** Get Posted.
* Posting status
*/
public boolean isPosted();
/** Column name Processed */
public static final String COLUMNNAME_Processed = "Processed";
@ -503,6 +509,8 @@ public interface I_PP_Cost_Collector
*/
public int getReversal_ID();
public org.eevolution.model.I_PP_Cost_Collector getReversal() throws RuntimeException;
/** Column name S_Resource_ID */
public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID";
@ -569,6 +577,8 @@ public interface I_PP_Cost_Collector
*/
public int getUser1_ID();
public I_AD_User getUser1() throws RuntimeException;
/** Column name User2_ID */
public static final String COLUMNNAME_User2_ID = "User2_ID";
@ -581,4 +591,6 @@ public interface I_PP_Cost_Collector
* User defined list element #2
*/
public int getUser2_ID();
public I_AD_User getUser2() throws RuntimeException;
}

View File

@ -105,6 +105,8 @@ public interface I_PP_Cost_CollectorMA
*/
public int getM_AttributeSetInstance_ID();
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException;
/** Column name MovementQty */
public static final String COLUMNNAME_MovementQty = "MovementQty";
@ -118,15 +120,6 @@ public interface I_PP_Cost_CollectorMA
*/
public BigDecimal getMovementQty();
/** Column name PP_Cost_CollectorMA_ID */
public static final String COLUMNNAME_PP_Cost_CollectorMA_ID = "PP_Cost_CollectorMA_ID";
/** Set Manufacturing Order MA */
public void setPP_Cost_CollectorMA_ID (int PP_Cost_CollectorMA_ID);
/** Get Manufacturing Order MA */
public int getPP_Cost_CollectorMA_ID();
/** Column name PP_Cost_Collector_ID */
public static final String COLUMNNAME_PP_Cost_Collector_ID = "PP_Cost_Collector_ID";
@ -138,6 +131,15 @@ public interface I_PP_Cost_CollectorMA
public org.eevolution.model.I_PP_Cost_Collector getPP_Cost_Collector() throws RuntimeException;
/** Column name PP_Cost_CollectorMA_ID */
public static final String COLUMNNAME_PP_Cost_CollectorMA_ID = "PP_Cost_CollectorMA_ID";
/** Set Manufacturing Order MA */
public void setPP_Cost_CollectorMA_ID (int PP_Cost_CollectorMA_ID);
/** Get Manufacturing Order MA */
public int getPP_Cost_CollectorMA_ID();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";

View File

@ -78,21 +78,6 @@ public interface I_PP_MRP
public I_C_BPartner getC_BPartner() 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_Order_ID */
public static final String COLUMNNAME_C_Order_ID = "C_Order_ID";
@ -108,6 +93,21 @@ public interface I_PP_MRP
public I_C_Order getC_Order() 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 Created */
public static final String COLUMNNAME_Created = "Created";
@ -124,28 +124,6 @@ public interface I_PP_MRP
*/
public int getCreatedBy();
/** Column name DD_OrderLine_ID */
public static final String COLUMNNAME_DD_OrderLine_ID = "DD_OrderLine_ID";
/** Set Distribution Order Line */
public void setDD_OrderLine_ID (int DD_OrderLine_ID);
/** Get Distribution Order Line */
public int getDD_OrderLine_ID();
public org.eevolution.model.I_DD_OrderLine getDD_OrderLine() throws RuntimeException;
/** Column name DD_Order_ID */
public static final String COLUMNNAME_DD_Order_ID = "DD_Order_ID";
/** Set Distribution Order */
public void setDD_Order_ID (int DD_Order_ID);
/** Get Distribution Order */
public int getDD_Order_ID();
public org.eevolution.model.I_DD_Order getDD_Order() throws RuntimeException;
/** Column name DateConfirm */
public static final String COLUMNNAME_DateConfirm = "DateConfirm";
@ -217,6 +195,28 @@ public interface I_PP_MRP
/** Get DateStartSchedule */
public Timestamp getDateStartSchedule();
/** Column name DD_Order_ID */
public static final String COLUMNNAME_DD_Order_ID = "DD_Order_ID";
/** Set Distribution Order */
public void setDD_Order_ID (int DD_Order_ID);
/** Get Distribution Order */
public int getDD_Order_ID();
public org.eevolution.model.I_DD_Order getDD_Order() throws RuntimeException;
/** Column name DD_OrderLine_ID */
public static final String COLUMNNAME_DD_OrderLine_ID = "DD_OrderLine_ID";
/** Set Distribution Order Line */
public void setDD_OrderLine_ID (int DD_OrderLine_ID);
/** Get Distribution Order Line */
public int getDD_OrderLine_ID();
public org.eevolution.model.I_DD_OrderLine getDD_OrderLine() throws RuntimeException;
/** Column name Description */
public static final String COLUMNNAME_Description = "Description";
@ -269,21 +269,6 @@ public interface I_PP_MRP
*/
public boolean isAvailable();
/** Column name M_ForecastLine_ID */
public static final String COLUMNNAME_M_ForecastLine_ID = "M_ForecastLine_ID";
/** Set Forecast Line.
* Forecast Line
*/
public void setM_ForecastLine_ID (int M_ForecastLine_ID);
/** Get Forecast Line.
* Forecast Line
*/
public int getM_ForecastLine_ID();
public I_M_ForecastLine getM_ForecastLine() throws RuntimeException;
/** Column name M_Forecast_ID */
public static final String COLUMNNAME_M_Forecast_ID = "M_Forecast_ID";
@ -299,6 +284,21 @@ public interface I_PP_MRP
public I_M_Forecast getM_Forecast() throws RuntimeException;
/** Column name M_ForecastLine_ID */
public static final String COLUMNNAME_M_ForecastLine_ID = "M_ForecastLine_ID";
/** Set Forecast Line.
* Forecast Line
*/
public void setM_ForecastLine_ID (int M_ForecastLine_ID);
/** Get Forecast Line.
* Forecast Line
*/
public int getM_ForecastLine_ID();
public I_M_ForecastLine getM_ForecastLine() throws RuntimeException;
/** Column name M_Product_ID */
public static final String COLUMNNAME_M_Product_ID = "M_Product_ID";
@ -314,21 +314,6 @@ public interface I_PP_MRP
public I_M_Product getM_Product() throws RuntimeException;
/** Column name M_RequisitionLine_ID */
public static final String COLUMNNAME_M_RequisitionLine_ID = "M_RequisitionLine_ID";
/** Set Requisition Line.
* Material Requisition Line
*/
public void setM_RequisitionLine_ID (int M_RequisitionLine_ID);
/** Get Requisition Line.
* Material Requisition Line
*/
public int getM_RequisitionLine_ID();
public I_M_RequisitionLine getM_RequisitionLine() throws RuntimeException;
/** Column name M_Requisition_ID */
public static final String COLUMNNAME_M_Requisition_ID = "M_Requisition_ID";
@ -344,6 +329,21 @@ public interface I_PP_MRP
public I_M_Requisition getM_Requisition() throws RuntimeException;
/** Column name M_RequisitionLine_ID */
public static final String COLUMNNAME_M_RequisitionLine_ID = "M_RequisitionLine_ID";
/** Set Requisition Line.
* Material Requisition Line
*/
public void setM_RequisitionLine_ID (int M_RequisitionLine_ID);
/** Get Requisition Line.
* Material Requisition Line
*/
public int getM_RequisitionLine_ID();
public I_M_RequisitionLine getM_RequisitionLine() throws RuntimeException;
/** Column name M_Warehouse_ID */
public static final String COLUMNNAME_M_Warehouse_ID = "M_Warehouse_ID";
@ -381,6 +381,17 @@ public interface I_PP_MRP
/** Get OrderType */
public String getOrderType();
/** Column name Planner_ID */
public static final String COLUMNNAME_Planner_ID = "Planner_ID";
/** Set Planner */
public void setPlanner_ID (int Planner_ID);
/** Get Planner */
public int getPlanner_ID();
public I_AD_User getPlanner() throws RuntimeException;
/** Column name PP_MRP_ID */
public static final String COLUMNNAME_PP_MRP_ID = "PP_MRP_ID";
@ -412,15 +423,6 @@ public interface I_PP_MRP
public org.eevolution.model.I_PP_Order getPP_Order() 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 Priority */
public static final String COLUMNNAME_Priority = "Priority";

View File

@ -50,19 +50,6 @@ public interface I_PP_Order
*/
public int getAD_Client_ID();
/** Column name AD_OrgTrx_ID */
public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID";
/** Set Trx Organization.
* Performing or initiating organization
*/
public void setAD_OrgTrx_ID (int AD_OrgTrx_ID);
/** Get Trx Organization.
* Performing or initiating organization
*/
public int getAD_OrgTrx_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -76,6 +63,19 @@ public interface I_PP_Order
*/
public int getAD_Org_ID();
/** Column name AD_OrgTrx_ID */
public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID";
/** Set Trx Organization.
* Performing or initiating organization
*/
public void setAD_OrgTrx_ID (int AD_OrgTrx_ID);
/** Get Trx Organization.
* Performing or initiating organization
*/
public int getAD_OrgTrx_ID();
/** Column name AD_Workflow_ID */
public static final String COLUMNNAME_AD_Workflow_ID = "AD_Workflow_ID";
@ -134,6 +134,21 @@ public interface I_PP_Order
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_DocTypeTarget_ID */
public static final String COLUMNNAME_C_DocTypeTarget_ID = "C_DocTypeTarget_ID";
@ -147,18 +162,7 @@ public interface I_PP_Order
*/
public int getC_DocTypeTarget_ID();
/** 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_DocTypeTarget() throws RuntimeException;
/** Column name C_OrderLine_ID */
public static final String COLUMNNAME_C_OrderLine_ID = "C_OrderLine_ID";
@ -444,6 +448,15 @@ public interface I_PP_Order
*/
public boolean isQtyPercentage();
/** Column name IsSelected */
public static final String COLUMNNAME_IsSelected = "IsSelected";
/** Set Selected */
public void setIsSelected (boolean IsSelected);
/** Get Selected */
public boolean isSelected();
/** Column name IsSOTrx */
public static final String COLUMNNAME_IsSOTrx = "IsSOTrx";
@ -457,15 +470,6 @@ public interface I_PP_Order
*/
public boolean isSOTrx();
/** Column name IsSelected */
public static final String COLUMNNAME_IsSelected = "IsSelected";
/** Set Selected */
public void setIsSelected (boolean IsSelected);
/** Get Selected */
public boolean isSelected();
/** Column name Line */
public static final String COLUMNNAME_Line = "Line";
@ -505,6 +509,8 @@ public interface I_PP_Order
*/
public int getM_AttributeSetInstance_ID();
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException;
/** Column name M_Product_ID */
public static final String COLUMNNAME_M_Product_ID = "M_Product_ID";
@ -518,6 +524,8 @@ public interface I_PP_Order
*/
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";
@ -542,6 +550,30 @@ public interface I_PP_Order
/** Get OrderType */
public String getOrderType();
/** Column name Planner_ID */
public static final String COLUMNNAME_Planner_ID = "Planner_ID";
/** Set Planner */
public void setPlanner_ID (int Planner_ID);
/** Get Planner */
public int getPlanner_ID();
public I_AD_User getPlanner() throws RuntimeException;
/** Column name Posted */
public static final String COLUMNNAME_Posted = "Posted";
/** Set Posted.
* Posting status
*/
public void setPosted (boolean Posted);
/** Get Posted.
* Posting status
*/
public boolean isPosted();
/** Column name PP_Order_ID */
public static final String COLUMNNAME_PP_Order_ID = "PP_Order_ID";
@ -566,28 +598,6 @@ public interface I_PP_Order
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 Posted */
public static final String COLUMNNAME_Posted = "Posted";
/** Set Posted.
* Posting status
*/
public void setPosted (boolean Posted);
/** Get Posted.
* Posting status
*/
public boolean isPosted();
/** Column name PriorityRule */
public static final String COLUMNNAME_PriorityRule = "PriorityRule";
@ -623,15 +633,6 @@ public interface I_PP_Order
/** Get Process Now */
public boolean isProcessing();
/** 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";
@ -641,6 +642,15 @@ public interface I_PP_Order
/** Get Qty Batchs */
public BigDecimal getQtyBatchs();
/** 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";
@ -785,6 +795,8 @@ public interface I_PP_Order
*/
public int getUser1_ID();
public I_C_ElementValue getUser1() throws RuntimeException;
/** Column name User2_ID */
public static final String COLUMNNAME_User2_ID = "User2_ID";
@ -798,6 +810,8 @@ public interface I_PP_Order
*/
public int getUser2_ID();
public I_C_ElementValue getUser2() throws RuntimeException;
/** Column name Yield */
public static final String COLUMNNAME_Yield = "Yield";

View File

@ -198,6 +198,8 @@ public interface I_PP_Order_BOM
*/
public int getM_AttributeSetInstance_ID();
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException;
/** Column name M_ChangeNotice_ID */
public static final String COLUMNNAME_M_ChangeNotice_ID = "M_ChangeNotice_ID";

View File

@ -76,6 +76,8 @@ public interface I_PP_Order_BOMLine
*/
public int getAD_User_ID();
public I_AD_User getAD_User() throws RuntimeException;
/** Column name Assay */
public static final String COLUMNNAME_Assay = "Assay";
@ -302,6 +304,8 @@ public interface I_PP_Order_BOMLine
*/
public int getM_AttributeSetInstance_ID();
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException;
/** Column name M_ChangeNotice_ID */
public static final String COLUMNNAME_M_ChangeNotice_ID = "M_ChangeNotice_ID";
@ -330,6 +334,8 @@ public interface I_PP_Order_BOMLine
*/
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";
@ -360,15 +366,6 @@ public interface I_PP_Order_BOMLine
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();
/** Column name PP_Order_BOM_ID */
public static final String COLUMNNAME_PP_Order_BOM_ID = "PP_Order_BOM_ID";
@ -380,6 +377,15 @@ public interface I_PP_Order_BOMLine
public org.eevolution.model.I_PP_Order_BOM getPP_Order_BOM() 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();
/** Column name PP_Order_ID */
public static final String COLUMNNAME_PP_Order_ID = "PP_Order_ID";
@ -391,19 +397,6 @@ public interface I_PP_Order_BOMLine
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException;
/** 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";
@ -417,6 +410,19 @@ public interface I_PP_Order_BOMLine
*/
public BigDecimal getQtyBatch();
/** Column name QtyBOM */
public static final String COLUMNNAME_QtyBOM = "QtyBOM";
/** Set Quantity.
* Indicate the Quantity use in this BOM
*/
public void setQtyBOM (BigDecimal QtyBOM);
/** Get Quantity.
* Indicate the Quantity use in this BOM
*/
public BigDecimal getQtyBOM();
/** Column name QtyDelivered */
public static final String COLUMNNAME_QtyDelivered = "QtyDelivered";

View File

@ -18,6 +18,7 @@ package org.eevolution.model;
import java.math.BigDecimal;
import java.sql.Timestamp;
import org.adempiere.model.*;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
@ -76,7 +77,7 @@ public interface I_PP_Order_BOMLine_v
*/
public int getAD_User_ID();
public I_AD_User getAD_User() throws RuntimeException;
public I_AD_User getAD_User();
/** Column name Assay */
public static final String COLUMNNAME_Assay = "Assay";
@ -117,7 +118,7 @@ public interface I_PP_Order_BOMLine_v
*/
public int getC_UOM_ID();
public I_C_UOM getC_UOM() throws RuntimeException;
public I_C_UOM getC_UOM();
/** Column name ComponentType */
public static final String COLUMNNAME_ComponentType = "ComponentType";
@ -304,6 +305,8 @@ public interface I_PP_Order_BOMLine_v
*/
public int getM_AttributeSetInstance_ID();
public I_M_AttributeSetInstance getM_AttributeSetInstance();
/** Column name M_ChangeNotice_ID */
public static final String COLUMNNAME_M_ChangeNotice_ID = "M_ChangeNotice_ID";
@ -317,7 +320,7 @@ public interface I_PP_Order_BOMLine_v
*/
public int getM_ChangeNotice_ID();
public I_M_ChangeNotice getM_ChangeNotice() throws RuntimeException;
public I_M_ChangeNotice getM_ChangeNotice();
/** Column name M_Locator_ID */
public static final String COLUMNNAME_M_Locator_ID = "M_Locator_ID";
@ -332,7 +335,7 @@ public interface I_PP_Order_BOMLine_v
*/
public int getM_Locator_ID();
public I_M_Locator getM_Locator() throws RuntimeException;
public I_M_Locator getM_Locator();
/** Column name M_Product_ID */
public static final String COLUMNNAME_M_Product_ID = "M_Product_ID";
@ -347,7 +350,7 @@ public interface I_PP_Order_BOMLine_v
*/
public int getM_Product_ID();
public I_M_Product getM_Product() throws RuntimeException;
public I_M_Product getM_Product();
/** Column name M_Warehouse_ID */
public static final String COLUMNNAME_M_Warehouse_ID = "M_Warehouse_ID";
@ -362,18 +365,7 @@ public interface I_PP_Order_BOMLine_v
*/
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;
public I_M_Warehouse getM_Warehouse();
/** Column name PP_Order_BOM_ID */
public static final String COLUMNNAME_PP_Order_BOM_ID = "PP_Order_BOM_ID";
@ -384,7 +376,18 @@ public interface I_PP_Order_BOMLine_v
/** Get Manufacturing Order BOM */
public int getPP_Order_BOM_ID();
public org.eevolution.model.I_PP_Order_BOM getPP_Order_BOM() throws RuntimeException;
public org.eevolution.model.I_PP_Order_BOM getPP_Order_BOM();
/** 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();
/** Column name PP_Order_ID */
public static final String COLUMNNAME_PP_Order_ID = "PP_Order_ID";
@ -395,7 +398,7 @@ public interface I_PP_Order_BOMLine_v
/** Get Manufacturing Order */
public int getPP_Order_ID();
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException;
public org.eevolution.model.I_PP_Order getPP_Order();
/** Column name QtyAvailable */
public static final String COLUMNNAME_QtyAvailable = "QtyAvailable";
@ -410,19 +413,6 @@ public interface I_PP_Order_BOMLine_v
*/
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";
@ -445,6 +435,19 @@ public interface I_PP_Order_BOMLine_v
/** Get Qty Batch Size */
public BigDecimal getQtyBatchSize();
/** Column name QtyBOM */
public static final String COLUMNNAME_QtyBOM = "QtyBOM";
/** Set Quantity.
* Indicate the Quantity use in this BOM
*/
public void setQtyBOM (BigDecimal QtyBOM);
/** Get Quantity.
* Indicate the Quantity use in this BOM
*/
public BigDecimal getQtyBOM();
/** Column name QtyDelivered */
public static final String COLUMNNAME_QtyDelivered = "QtyDelivered";

View File

@ -231,6 +231,8 @@ public interface I_PP_Order_Cost
*/
public int getM_AttributeSetInstance_ID();
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException;
/** Column name M_CostElement_ID */
public static final String COLUMNNAME_M_CostElement_ID = "M_CostElement_ID";

View File

@ -42,6 +42,19 @@ public interface I_PP_Order_Node
/** Load Meta Data */
/** Column name Action */
public static final String COLUMNNAME_Action = "Action";
/** Set Action.
* Indicates the Action to be performed
*/
public void setAction (String Action);
/** Get Action.
* Indicates the Action to be performed
*/
public String getAction();
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
@ -213,19 +226,6 @@ public interface I_PP_Order_Node
public I_AD_Workflow getAD_Workflow() throws RuntimeException;
/** Column name Action */
public static final String COLUMNNAME_Action = "Action";
/** Set Action.
* Indicates the Action to be performed
*/
public void setAction (String Action);
/** Get Action.
* Indicates the Action to be performed
*/
public String getAction();
/** Column name AttributeName */
public static final String COLUMNNAME_AttributeName = "AttributeName";
@ -828,6 +828,8 @@ public interface I_PP_Order_Node
*/
public int getWorkflow_ID();
public I_AD_Workflow getWorkflow() throws RuntimeException;
/** Column name WorkingTime */
public static final String COLUMNNAME_WorkingTime = "WorkingTime";
@ -854,19 +856,6 @@ public interface I_PP_Order_Node
*/
public int getXPosition();
/** Column name YPosition */
public static final String COLUMNNAME_YPosition = "YPosition";
/** Set Y Position.
* Absolute Y (vertical) position in 1/72 of an inch
*/
public void setYPosition (int YPosition);
/** Get Y Position.
* Absolute Y (vertical) position in 1/72 of an inch
*/
public int getYPosition();
/** Column name Yield */
public static final String COLUMNNAME_Yield = "Yield";
@ -879,4 +868,17 @@ public interface I_PP_Order_Node
* The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
*/
public int getYield();
/** Column name YPosition */
public static final String COLUMNNAME_YPosition = "YPosition";
/** Set Y Position.
* Absolute Y (vertical) position in 1/72 of an inch
*/
public void setYPosition (int YPosition);
/** Get Y Position.
* Absolute Y (vertical) position in 1/72 of an inch
*/
public int getYPosition();
}

View File

@ -76,6 +76,8 @@ public interface I_PP_Order_NodeNext
*/
public int getAD_WF_Next_ID();
public I_AD_WF_Node getAD_WF_Next() throws RuntimeException;
/** Column name AD_WF_Node_ID */
public static final String COLUMNNAME_AD_WF_Node_ID = "AD_WF_Node_ID";
@ -181,14 +183,7 @@ public interface I_PP_Order_NodeNext
/** Get Manufacturing Order Activity Next */
public int getPP_Order_Next_ID();
/** Column name PP_Order_NodeNext_ID */
public static final String COLUMNNAME_PP_Order_NodeNext_ID = "PP_Order_NodeNext_ID";
/** Set Manufacturing Order Activity Next */
public void setPP_Order_NodeNext_ID (int PP_Order_NodeNext_ID);
/** Get Manufacturing Order Activity Next */
public int getPP_Order_NodeNext_ID();
public org.eevolution.model.I_PP_Order_Node getPP_Order_Next() throws RuntimeException;
/** Column name PP_Order_Node_ID */
public static final String COLUMNNAME_PP_Order_Node_ID = "PP_Order_Node_ID";
@ -201,6 +196,15 @@ public interface I_PP_Order_NodeNext
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws RuntimeException;
/** Column name PP_Order_NodeNext_ID */
public static final String COLUMNNAME_PP_Order_NodeNext_ID = "PP_Order_NodeNext_ID";
/** Set Manufacturing Order Activity Next */
public void setPP_Order_NodeNext_ID (int PP_Order_NodeNext_ID);
/** Get Manufacturing Order Activity Next */
public int getPP_Order_NodeNext_ID();
/** Column name SeqNo */
public static final String COLUMNNAME_SeqNo = "SeqNo";

View File

@ -42,6 +42,21 @@ public interface I_PP_Order_Node_Asset
/** Load Meta Data */
/** Column name A_Asset_ID */
public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID";
/** Set Asset.
* Asset used internally or by customers
*/
public void setA_Asset_ID (int A_Asset_ID);
/** Get Asset.
* Asset used internally or by customers
*/
public int getA_Asset_ID();
public I_A_Asset getA_Asset() throws RuntimeException;
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
@ -63,21 +78,6 @@ public interface I_PP_Order_Node_Asset
*/
public int getAD_Org_ID();
/** Column name A_Asset_ID */
public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID";
/** Set Asset.
* Asset used internally or by customers
*/
public void setA_Asset_ID (int A_Asset_ID);
/** Get Asset.
* Asset used internally or by customers
*/
public int getA_Asset_ID();
public I_A_Asset getA_Asset() throws RuntimeException;
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";

View File

@ -18,6 +18,7 @@ package org.eevolution.model;
import java.math.BigDecimal;
import java.sql.Timestamp;
import org.adempiere.model.*;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
@ -76,7 +77,7 @@ public interface I_PP_Order_Node_v
*/
public int getC_BPartner_ID();
public I_C_BPartner getC_BPartner() throws RuntimeException;
public I_C_BPartner getC_BPartner();
/** Column name Cost */
public static final String COLUMNNAME_Cost = "Cost";
@ -305,7 +306,7 @@ public interface I_PP_Order_Node_v
/** Get Manufacturing Order */
public int getPP_Order_ID();
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException;
public org.eevolution.model.I_PP_Order getPP_Order();
/** Column name PP_Order_Node_ID */
public static final String COLUMNNAME_PP_Order_Node_ID = "PP_Order_Node_ID";
@ -316,7 +317,7 @@ public interface I_PP_Order_Node_v
/** Get Manufacturing Order Activity */
public int getPP_Order_Node_ID();
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws RuntimeException;
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node();
/** Column name PP_Order_Workflow_ID */
public static final String COLUMNNAME_PP_Order_Workflow_ID = "PP_Order_Workflow_ID";
@ -327,7 +328,7 @@ public interface I_PP_Order_Node_v
/** Get Manufacturing Order Workflow */
public int getPP_Order_Workflow_ID();
public org.eevolution.model.I_PP_Order_Workflow getPP_Order_Workflow() throws RuntimeException;
public org.eevolution.model.I_PP_Order_Workflow getPP_Order_Workflow();
/** Column name Priority */
public static final String COLUMNNAME_Priority = "Priority";
@ -399,7 +400,7 @@ public interface I_PP_Order_Node_v
*/
public int getS_Resource_ID();
public I_S_Resource getS_Resource() throws RuntimeException;
public I_S_Resource getS_Resource();
/** Column name SetupTime */
public static final String COLUMNNAME_SetupTime = "SetupTime";

View File

@ -42,6 +42,19 @@ public interface I_PP_Order_Workflow
/** Load Meta Data */
/** Column name AccessLevel */
public static final String COLUMNNAME_AccessLevel = "AccessLevel";
/** Set Data Access Level.
* Access Level required
*/
public void setAccessLevel (String AccessLevel);
/** Get Data Access Level.
* Access Level required
*/
public String getAccessLevel();
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
@ -108,21 +121,6 @@ public interface I_PP_Order_Workflow
public I_AD_WF_Responsible getAD_WF_Responsible() throws RuntimeException;
/** Column name AD_WorkflowProcessor_ID */
public static final String COLUMNNAME_AD_WorkflowProcessor_ID = "AD_WorkflowProcessor_ID";
/** Set Workflow Processor.
* Workflow Processor Server
*/
public void setAD_WorkflowProcessor_ID (int AD_WorkflowProcessor_ID);
/** Get Workflow Processor.
* Workflow Processor Server
*/
public int getAD_WorkflowProcessor_ID();
public I_AD_WorkflowProcessor getAD_WorkflowProcessor() throws RuntimeException;
/** Column name AD_Workflow_ID */
public static final String COLUMNNAME_AD_Workflow_ID = "AD_Workflow_ID";
@ -138,18 +136,20 @@ public interface I_PP_Order_Workflow
public I_AD_Workflow getAD_Workflow() throws RuntimeException;
/** Column name AccessLevel */
public static final String COLUMNNAME_AccessLevel = "AccessLevel";
/** Column name AD_WorkflowProcessor_ID */
public static final String COLUMNNAME_AD_WorkflowProcessor_ID = "AD_WorkflowProcessor_ID";
/** Set Data Access Level.
* Access Level required
/** Set Workflow Processor.
* Workflow Processor Server
*/
public void setAccessLevel (String AccessLevel);
public void setAD_WorkflowProcessor_ID (int AD_WorkflowProcessor_ID);
/** Get Data Access Level.
* Access Level required
/** Get Workflow Processor.
* Workflow Processor Server
*/
public String getAccessLevel();
public int getAD_WorkflowProcessor_ID();
public I_AD_WorkflowProcessor getAD_WorkflowProcessor() throws RuntimeException;
/** Column name Author */
public static final String COLUMNNAME_Author = "Author";
@ -488,6 +488,15 @@ public interface I_PP_Order_Workflow
*/
public int getUpdatedBy();
/** Column name ValidateWorkflow */
public static final String COLUMNNAME_ValidateWorkflow = "ValidateWorkflow";
/** Set Validate Workflow */
public void setValidateWorkflow (String ValidateWorkflow);
/** Get Validate Workflow */
public String getValidateWorkflow();
/** Column name ValidFrom */
public static final String COLUMNNAME_ValidFrom = "ValidFrom";
@ -514,15 +523,6 @@ public interface I_PP_Order_Workflow
*/
public Timestamp getValidTo();
/** Column name ValidateWorkflow */
public static final String COLUMNNAME_ValidateWorkflow = "ValidateWorkflow";
/** Set Validate Workflow */
public void setValidateWorkflow (String ValidateWorkflow);
/** Get Validate Workflow */
public String getValidateWorkflow();
/** Column name Value */
public static final String COLUMNNAME_Value = "Value";

View File

@ -18,6 +18,7 @@ package org.eevolution.model;
import java.math.BigDecimal;
import java.sql.Timestamp;
import org.adempiere.model.*;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
@ -89,7 +90,7 @@ public interface I_PP_Order_Workflow_Header_v
*/
public int getAD_Workflow_ID();
public I_AD_Workflow getAD_Workflow() throws RuntimeException;
public I_AD_Workflow getAD_Workflow();
/** Column name Assay */
public static final String COLUMNNAME_Assay = "Assay";
@ -130,7 +131,7 @@ public interface I_PP_Order_Workflow_Header_v
*/
public int getC_Activity_ID();
public I_C_Activity getC_Activity() throws RuntimeException;
public I_C_Activity getC_Activity();
/** Column name C_Campaign_ID */
public static final String COLUMNNAME_C_Campaign_ID = "C_Campaign_ID";
@ -145,7 +146,7 @@ public interface I_PP_Order_Workflow_Header_v
*/
public int getC_Campaign_ID();
public I_C_Campaign getC_Campaign() throws RuntimeException;
public I_C_Campaign getC_Campaign();
/** Column name C_DocType_ID */
public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID";
@ -160,7 +161,7 @@ public interface I_PP_Order_Workflow_Header_v
*/
public int getC_DocType_ID();
public I_C_DocType getC_DocType() throws RuntimeException;
public I_C_DocType getC_DocType();
/** Column name C_OrderLine_ID */
public static final String COLUMNNAME_C_OrderLine_ID = "C_OrderLine_ID";
@ -175,7 +176,7 @@ public interface I_PP_Order_Workflow_Header_v
*/
public int getC_OrderLine_ID();
public I_C_OrderLine getC_OrderLine() throws RuntimeException;
public I_C_OrderLine getC_OrderLine();
/** Column name C_Project_ID */
public static final String COLUMNNAME_C_Project_ID = "C_Project_ID";
@ -190,7 +191,7 @@ public interface I_PP_Order_Workflow_Header_v
*/
public int getC_Project_ID();
public I_C_Project getC_Project() throws RuntimeException;
public I_C_Project getC_Project();
/** Column name C_UOM_ID */
public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID";
@ -205,7 +206,7 @@ public interface I_PP_Order_Workflow_Header_v
*/
public int getC_UOM_ID();
public I_C_UOM getC_UOM() throws RuntimeException;
public I_C_UOM getC_UOM();
/** Column name Cost */
public static final String COLUMNNAME_Cost = "Cost";
@ -498,7 +499,7 @@ public interface I_PP_Order_Workflow_Header_v
*/
public int getM_Warehouse_ID();
public I_M_Warehouse getM_Warehouse() throws RuntimeException;
public I_M_Warehouse getM_Warehouse();
/** Column name MovingTime */
public static final String COLUMNNAME_MovingTime = "MovingTime";
@ -535,6 +536,8 @@ public interface I_PP_Order_Workflow_Header_v
*/
public int getOrg_Location_ID();
public I_C_Location getOrg_Location();
/** Column name OverlapUnits */
public static final String COLUMNNAME_OverlapUnits = "OverlapUnits";
@ -548,6 +551,17 @@ public interface I_PP_Order_Workflow_Header_v
*/
public BigDecimal getOverlapUnits();
/** 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();
public I_AD_User getPlanner();
/** Column name PP_Order_ID */
public static final String COLUMNNAME_PP_Order_ID = "PP_Order_ID";
@ -557,7 +571,7 @@ public interface I_PP_Order_Workflow_Header_v
/** Get Manufacturing Order */
public int getPP_Order_ID();
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException;
public org.eevolution.model.I_PP_Order getPP_Order();
/** Column name PP_Product_BOM_ID */
public static final String COLUMNNAME_PP_Product_BOM_ID = "PP_Product_BOM_ID";
@ -572,16 +586,7 @@ public interface I_PP_Order_Workflow_Header_v
*/
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();
public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM();
/** Column name PriorityRule */
public static final String COLUMNNAME_PriorityRule = "PriorityRule";
@ -609,15 +614,6 @@ public interface I_PP_Order_Workflow_Header_v
*/
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";
@ -627,6 +623,15 @@ public interface I_PP_Order_Workflow_Header_v
/** Get Qty Batchs */
public BigDecimal getQtyBatchs();
/** 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";
@ -723,7 +728,7 @@ public interface I_PP_Order_Workflow_Header_v
*/
public int getS_Resource_ID();
public I_S_Resource getS_Resource() throws RuntimeException;
public I_S_Resource getS_Resource();
/** Column name SalesRep_Name */
public static final String COLUMNNAME_SalesRep_Name = "SalesRep_Name";
@ -867,6 +872,8 @@ public interface I_PP_Order_Workflow_Header_v
*/
public int getWarehouse_Location_ID();
public I_C_Location getWarehouse_Location();
/** Column name WorkflowType */
public static final String COLUMNNAME_WorkflowType = "WorkflowType";

View File

@ -198,6 +198,8 @@ public interface I_PP_Product_BOM
*/
public int getM_AttributeSetInstance_ID();
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException;
/** Column name M_ChangeNotice_ID */
public static final String COLUMNNAME_M_ChangeNotice_ID = "M_ChangeNotice_ID";

View File

@ -276,6 +276,8 @@ public interface I_PP_Product_BOMLine
*/
public int getM_AttributeSetInstance_ID();
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException;
/** Column name M_ChangeNotice_ID */
public static final String COLUMNNAME_M_ChangeNotice_ID = "M_ChangeNotice_ID";
@ -306,19 +308,6 @@ public interface I_PP_Product_BOMLine
public I_M_Product getM_Product() throws RuntimeException;
/** Column name PP_Product_BOMLine_ID */
public static final String COLUMNNAME_PP_Product_BOMLine_ID = "PP_Product_BOMLine_ID";
/** Set BOM Line.
* BOM Line
*/
public void setPP_Product_BOMLine_ID (int PP_Product_BOMLine_ID);
/** Get BOM Line.
* BOM Line
*/
public int getPP_Product_BOMLine_ID();
/** Column name PP_Product_BOM_ID */
public static final String COLUMNNAME_PP_Product_BOM_ID = "PP_Product_BOM_ID";
@ -334,18 +323,18 @@ public interface I_PP_Product_BOMLine
public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws RuntimeException;
/** Column name QtyBOM */
public static final String COLUMNNAME_QtyBOM = "QtyBOM";
/** Column name PP_Product_BOMLine_ID */
public static final String COLUMNNAME_PP_Product_BOMLine_ID = "PP_Product_BOMLine_ID";
/** Set Quantity.
* Indicate the Quantity use in this BOM
/** Set BOM Line.
* BOM Line
*/
public void setQtyBOM (BigDecimal QtyBOM);
public void setPP_Product_BOMLine_ID (int PP_Product_BOMLine_ID);
/** Get Quantity.
* Indicate the Quantity use in this BOM
/** Get BOM Line.
* BOM Line
*/
public BigDecimal getQtyBOM();
public int getPP_Product_BOMLine_ID();
/** Column name QtyBatch */
public static final String COLUMNNAME_QtyBatch = "QtyBatch";
@ -360,6 +349,19 @@ public interface I_PP_Product_BOMLine
*/
public BigDecimal getQtyBatch();
/** Column name QtyBOM */
public static final String COLUMNNAME_QtyBOM = "QtyBOM";
/** Set Quantity.
* Indicate the Quantity use in this BOM
*/
public void setQtyBOM (BigDecimal QtyBOM);
/** Get Quantity.
* Indicate the Quantity use in this BOM
*/
public BigDecimal getQtyBOM();
/** Column name Scrap */
public static final String COLUMNNAME_Scrap = "Scrap";

View File

@ -280,6 +280,17 @@ public interface I_PP_Product_Planning
/** Get Order Qty */
public BigDecimal getOrder_Qty();
/** Column name Planner_ID */
public static final String COLUMNNAME_Planner_ID = "Planner_ID";
/** Set Planner */
public void setPlanner_ID (int Planner_ID);
/** Get Planner */
public int getPlanner_ID();
public I_AD_User getPlanner() throws RuntimeException;
/** Column name PP_Product_BOM_ID */
public static final String COLUMNNAME_PP_Product_BOM_ID = "PP_Product_BOM_ID";
@ -304,15 +315,6 @@ public interface I_PP_Product_Planning
/** Get Product Planning */
public int getPP_Product_Planning_ID();
/** 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 S_Resource_ID */
public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID";

View File

@ -42,6 +42,21 @@ public interface I_PP_WF_Node_Asset
/** Load Meta Data */
/** Column name A_Asset_ID */
public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID";
/** Set Asset.
* Asset used internally or by customers
*/
public void setA_Asset_ID (int A_Asset_ID);
/** Get Asset.
* Asset used internally or by customers
*/
public int getA_Asset_ID();
public I_A_Asset getA_Asset() throws RuntimeException;
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
@ -78,21 +93,6 @@ public interface I_PP_WF_Node_Asset
public I_AD_WF_Node getAD_WF_Node() throws RuntimeException;
/** Column name A_Asset_ID */
public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID";
/** Set Asset.
* Asset used internally or by customers
*/
public void setA_Asset_ID (int A_Asset_ID);
/** Get Asset.
* Asset used internally or by customers
*/
public int getA_Asset_ID();
public I_A_Asset getA_Asset() throws RuntimeException;
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";

View File

@ -133,15 +133,6 @@ public interface I_QM_SpecificationLine
*/
public String getOperation();
/** Column name QM_SpecificationLine_ID */
public static final String COLUMNNAME_QM_SpecificationLine_ID = "QM_SpecificationLine_ID";
/** Set QM_SpecificationLine_ID */
public void setQM_SpecificationLine_ID (int QM_SpecificationLine_ID);
/** Get QM_SpecificationLine_ID */
public int getQM_SpecificationLine_ID();
/** Column name QM_Specification_ID */
public static final String COLUMNNAME_QM_Specification_ID = "QM_Specification_ID";
@ -153,6 +144,15 @@ public interface I_QM_SpecificationLine
public org.eevolution.model.I_QM_Specification getQM_Specification() throws RuntimeException;
/** Column name QM_SpecificationLine_ID */
public static final String COLUMNNAME_QM_SpecificationLine_ID = "QM_SpecificationLine_ID";
/** Set QM_SpecificationLine_ID */
public void setQM_SpecificationLine_ID (int QM_SpecificationLine_ID);
/** Get QM_SpecificationLine_ID */
public int getQM_SpecificationLine_ID();
/** Column name SeqNo */
public static final String COLUMNNAME_SeqNo = "SeqNo";

View File

@ -106,19 +106,6 @@ public interface I_T_BOMLine
*/
public BigDecimal getCost();
/** Column name CostStandard */
public static final String COLUMNNAME_CostStandard = "CostStandard";
/** Set Standard Cost.
* Standard Costs
*/
public void setCostStandard (BigDecimal CostStandard);
/** Get Standard Cost.
* Standard Costs
*/
public BigDecimal getCostStandard();
/** Column name CostingMethod */
public static final String COLUMNNAME_CostingMethod = "CostingMethod";
@ -132,6 +119,19 @@ public interface I_T_BOMLine
*/
public String getCostingMethod();
/** Column name CostStandard */
public static final String COLUMNNAME_CostStandard = "CostStandard";
/** Set Standard Cost.
* Standard Costs
*/
public void setCostStandard (BigDecimal CostStandard);
/** Get Standard Cost.
* Standard Costs
*/
public BigDecimal getCostStandard();
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
@ -294,21 +294,6 @@ public interface I_T_BOMLine
public I_M_Product getM_Product() throws RuntimeException;
/** Column name PP_Product_BOMLine_ID */
public static final String COLUMNNAME_PP_Product_BOMLine_ID = "PP_Product_BOMLine_ID";
/** Set BOM Line.
* BOM Line
*/
public void setPP_Product_BOMLine_ID (int PP_Product_BOMLine_ID);
/** Get BOM Line.
* BOM Line
*/
public int getPP_Product_BOMLine_ID();
public org.eevolution.model.I_PP_Product_BOMLine getPP_Product_BOMLine() throws RuntimeException;
/** Column name PP_Product_BOM_ID */
public static final String COLUMNNAME_PP_Product_BOM_ID = "PP_Product_BOM_ID";
@ -324,6 +309,21 @@ public interface I_T_BOMLine
public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws RuntimeException;
/** Column name PP_Product_BOMLine_ID */
public static final String COLUMNNAME_PP_Product_BOMLine_ID = "PP_Product_BOMLine_ID";
/** Set BOM Line.
* BOM Line
*/
public void setPP_Product_BOMLine_ID (int PP_Product_BOMLine_ID);
/** Get BOM Line.
* BOM Line
*/
public int getPP_Product_BOMLine_ID();
public org.eevolution.model.I_PP_Product_BOMLine getPP_Product_BOMLine() throws RuntimeException;
/** Column name QtyBOM */
public static final String COLUMNNAME_QtyBOM = "QtyBOM";

View File

@ -182,7 +182,7 @@ public class MPPProductPlanning extends X_PP_Product_Planning
// Set default : Order_Policy
if (getOrder_Policy() == null)
{
setOrder_Policy(ORDER_POLICY_LoteForLote);
setOrder_Policy(ORDER_POLICY_Lot_For_Lot);
}
//
// Check Order_Min < Order_Max

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 *
@ -31,7 +31,7 @@ public class X_C_TaxBase extends PO implements I_C_TaxBase, I_Persistent
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_C_TaxBase (Properties ctx, int C_TaxBase_ID, String trxName)
@ -88,9 +88,6 @@ public class X_C_TaxBase extends PO implements I_C_TaxBase, I_Persistent
public void setBase (String Base)
{
if (Base == null || Base.equals("C") || Base.equals("P") || Base.equals("Q"));
else throw new IllegalArgumentException ("Base Invalid value - " + Base + " - Reference_ID=53240 - C - P - Q");
set_Value (COLUMNNAME_Base, Base);
}
@ -106,9 +103,10 @@ public class X_C_TaxBase extends PO implements I_C_TaxBase, I_Persistent
@param C_TaxBase_ID Tax Base */
public void setC_TaxBase_ID (int C_TaxBase_ID)
{
if (C_TaxBase_ID < 1)
throw new IllegalArgumentException ("C_TaxBase_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_C_TaxBase_ID, Integer.valueOf(C_TaxBase_ID));
if (C_TaxBase_ID < 1)
set_ValueNoCheck (COLUMNNAME_C_TaxBase_ID, null);
else
set_ValueNoCheck (COLUMNNAME_C_TaxBase_ID, Integer.valueOf(C_TaxBase_ID));
}
/** Get Tax Base.
@ -161,8 +159,6 @@ public class X_C_TaxBase extends PO implements I_C_TaxBase, I_Persistent
*/
public void setName (String Name)
{
if (Name == null)
throw new IllegalArgumentException ("Name is mandatory.");
set_Value (COLUMNNAME_Name, Name);
}
@ -208,8 +204,6 @@ public class X_C_TaxBase extends PO implements I_C_TaxBase, 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 *
@ -17,11 +17,9 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
@ -34,7 +32,7 @@ public class X_C_TaxDefinition extends PO implements I_C_TaxDefinition, I_Persis
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_C_TaxDefinition (Properties ctx, int C_TaxDefinition_ID, String trxName)
@ -76,21 +74,10 @@ public class X_C_TaxDefinition extends PO implements I_C_TaxDefinition, I_Persis
return sb.toString();
}
public I_AD_OrgType getAD_OrgType() throws RuntimeException
public I_AD_OrgType getAD_OrgType() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_OrgType.Table_Name);
I_AD_OrgType result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_OrgType)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_OrgType_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;
}
return (I_AD_OrgType)MTable.get(getCtx(), I_AD_OrgType.Table_Name)
.getPO(getAD_OrgType_ID(), get_TrxName()); }
/** Set Organization Type.
@param AD_OrgType_ID
@ -115,21 +102,10 @@ public class X_C_TaxDefinition extends PO implements I_C_TaxDefinition, I_Persis
return ii.intValue();
}
public I_C_BP_Group getC_BP_Group() throws RuntimeException
public I_C_BP_Group getC_BP_Group() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_BP_Group.Table_Name);
I_C_BP_Group result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_BP_Group)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BP_Group_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;
}
return (I_C_BP_Group)MTable.get(getCtx(), I_C_BP_Group.Table_Name)
.getPO(getC_BP_Group_ID(), get_TrxName()); }
/** Set Business Partner Group.
@param C_BP_Group_ID
@ -154,21 +130,10 @@ public class X_C_TaxDefinition extends PO implements I_C_TaxDefinition, I_Persis
return ii.intValue();
}
public I_C_BPartner getC_BPartner() throws RuntimeException
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;
}
return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name)
.getPO(getC_BPartner_ID(), get_TrxName()); }
/** Set Business Partner .
@param C_BPartner_ID
@ -193,21 +158,38 @@ public class X_C_TaxDefinition extends PO implements I_C_TaxDefinition, I_Persis
return ii.intValue();
}
public org.eevolution.model.I_C_TaxBase getC_TaxBase() throws RuntimeException
public I_C_Tax getC_Tax() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_C_TaxBase.Table_Name);
org.eevolution.model.I_C_TaxBase result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_C_TaxBase)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_TaxBase_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;
}
return (I_C_Tax)MTable.get(getCtx(), I_C_Tax.Table_Name)
.getPO(getC_Tax_ID(), get_TrxName()); }
/** Set Tax.
@param C_Tax_ID
Tax identifier
*/
public void setC_Tax_ID (int C_Tax_ID)
{
if (C_Tax_ID < 1)
set_Value (COLUMNNAME_C_Tax_ID, null);
else
set_Value (COLUMNNAME_C_Tax_ID, Integer.valueOf(C_Tax_ID));
}
/** Get Tax.
@return Tax identifier
*/
public int getC_Tax_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_Tax_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_C_TaxBase getC_TaxBase() throws RuntimeException
{
return (org.eevolution.model.I_C_TaxBase)MTable.get(getCtx(), org.eevolution.model.I_C_TaxBase.Table_Name)
.getPO(getC_TaxBase_ID(), get_TrxName()); }
/** Set Tax Base.
@param C_TaxBase_ID Tax Base */
@ -229,21 +211,10 @@ public class X_C_TaxDefinition extends PO implements I_C_TaxDefinition, I_Persis
return ii.intValue();
}
public I_C_TaxCategory getC_TaxCategory() throws RuntimeException
public I_C_TaxCategory getC_TaxCategory() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_TaxCategory.Table_Name);
I_C_TaxCategory result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_TaxCategory)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_TaxCategory_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;
}
return (I_C_TaxCategory)MTable.get(getCtx(), I_C_TaxCategory.Table_Name)
.getPO(getC_TaxCategory_ID(), get_TrxName()); }
/** Set Tax Category.
@param C_TaxCategory_ID
@ -272,9 +243,10 @@ public class X_C_TaxDefinition extends PO implements I_C_TaxDefinition, I_Persis
@param C_TaxDefinition_ID Tax Definition */
public void setC_TaxDefinition_ID (int C_TaxDefinition_ID)
{
if (C_TaxDefinition_ID < 1)
throw new IllegalArgumentException ("C_TaxDefinition_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_C_TaxDefinition_ID, Integer.valueOf(C_TaxDefinition_ID));
if (C_TaxDefinition_ID < 1)
set_ValueNoCheck (COLUMNNAME_C_TaxDefinition_ID, null);
else
set_ValueNoCheck (COLUMNNAME_C_TaxDefinition_ID, Integer.valueOf(C_TaxDefinition_ID));
}
/** Get Tax Definition.
@ -287,21 +259,10 @@ public class X_C_TaxDefinition extends PO implements I_C_TaxDefinition, I_Persis
return ii.intValue();
}
public org.eevolution.model.I_C_TaxGroup getC_TaxGroup() throws RuntimeException
public org.eevolution.model.I_C_TaxGroup getC_TaxGroup() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_C_TaxGroup.Table_Name);
org.eevolution.model.I_C_TaxGroup result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_C_TaxGroup)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_TaxGroup_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;
}
return (org.eevolution.model.I_C_TaxGroup)MTable.get(getCtx(), org.eevolution.model.I_C_TaxGroup.Table_Name)
.getPO(getC_TaxGroup_ID(), get_TrxName()); }
/** Set Tax Group.
@param C_TaxGroup_ID Tax Group */
@ -323,21 +284,10 @@ public class X_C_TaxDefinition extends PO implements I_C_TaxDefinition, I_Persis
return ii.intValue();
}
public org.eevolution.model.I_C_TaxType getC_TaxType() throws RuntimeException
public org.eevolution.model.I_C_TaxType getC_TaxType() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_C_TaxType.Table_Name);
org.eevolution.model.I_C_TaxType result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_C_TaxType)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_TaxType_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;
}
return (org.eevolution.model.I_C_TaxType)MTable.get(getCtx(), org.eevolution.model.I_C_TaxType.Table_Name)
.getPO(getC_TaxType_ID(), get_TrxName()); }
/** Set Tax Type.
@param C_TaxType_ID Tax Type */
@ -359,45 +309,6 @@ public class X_C_TaxDefinition extends PO implements I_C_TaxDefinition, I_Persis
return ii.intValue();
}
public I_C_Tax getC_Tax() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Tax.Table_Name);
I_C_Tax result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Tax)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Tax_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 Tax.
@param C_Tax_ID
Tax identifier
*/
public void setC_Tax_ID (int C_Tax_ID)
{
if (C_Tax_ID < 1)
set_Value (COLUMNNAME_C_Tax_ID, null);
else
set_Value (COLUMNNAME_C_Tax_ID, Integer.valueOf(C_Tax_ID));
}
/** Get Tax.
@return Tax identifier
*/
public int getC_Tax_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_Tax_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Description.
@param Description
Optional short description of the record
@ -456,21 +367,10 @@ public class X_C_TaxDefinition extends PO implements I_C_TaxDefinition, I_Persis
return false;
}
public I_M_Product_Category getM_Product_Category() throws RuntimeException
public I_M_Product_Category getM_Product_Category() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_Product_Category.Table_Name);
I_M_Product_Category result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_M_Product_Category)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Product_Category_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;
}
return (I_M_Product_Category)MTable.get(getCtx(), I_M_Product_Category.Table_Name)
.getPO(getM_Product_Category_ID(), get_TrxName()); }
/** Set Product Category.
@param M_Product_Category_ID
@ -495,21 +395,10 @@ public class X_C_TaxDefinition extends PO implements I_C_TaxDefinition, I_Persis
return ii.intValue();
}
public I_M_Product getM_Product() throws RuntimeException
public I_M_Product getM_Product() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_Product.Table_Name);
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;
}
return (I_M_Product)MTable.get(getCtx(), I_M_Product.Table_Name)
.getPO(getM_Product_ID(), get_TrxName()); }
/** Set Product.
@param M_Product_ID
@ -574,8 +463,6 @@ public class X_C_TaxDefinition extends PO implements I_C_TaxDefinition, I_Persis
*/
public void setName (String Name)
{
if (Name == null)
throw new IllegalArgumentException ("Name is mandatory.");
set_Value (COLUMNNAME_Name, Name);
}
@ -655,8 +542,6 @@ public class X_C_TaxDefinition extends PO implements I_C_TaxDefinition, I_Persis
*/
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 *
@ -31,7 +31,7 @@ public class X_C_TaxGroup extends PO implements I_C_TaxGroup, I_Persistent
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_C_TaxGroup (Properties ctx, int C_TaxGroup_ID, String trxName)
@ -77,9 +77,10 @@ public class X_C_TaxGroup extends PO implements I_C_TaxGroup, I_Persistent
@param C_TaxGroup_ID Tax Group */
public void setC_TaxGroup_ID (int C_TaxGroup_ID)
{
if (C_TaxGroup_ID < 1)
throw new IllegalArgumentException ("C_TaxGroup_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_C_TaxGroup_ID, Integer.valueOf(C_TaxGroup_ID));
if (C_TaxGroup_ID < 1)
set_ValueNoCheck (COLUMNNAME_C_TaxGroup_ID, null);
else
set_ValueNoCheck (COLUMNNAME_C_TaxGroup_ID, Integer.valueOf(C_TaxGroup_ID));
}
/** Get Tax Group.
@ -132,8 +133,6 @@ public class X_C_TaxGroup extends PO implements I_C_TaxGroup, I_Persistent
*/
public void setName (String Name)
{
if (Name == null)
throw new IllegalArgumentException ("Name is mandatory.");
set_Value (COLUMNNAME_Name, Name);
}
@ -159,8 +158,6 @@ public class X_C_TaxGroup extends PO implements I_C_TaxGroup, 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 *
@ -31,7 +31,7 @@ public class X_C_TaxType extends PO implements I_C_TaxType, I_Persistent
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_C_TaxType (Properties ctx, int C_TaxType_ID, String trxName)
@ -77,9 +77,10 @@ public class X_C_TaxType extends PO implements I_C_TaxType, I_Persistent
@param C_TaxType_ID Tax Type */
public void setC_TaxType_ID (int C_TaxType_ID)
{
if (C_TaxType_ID < 1)
throw new IllegalArgumentException ("C_TaxType_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_C_TaxType_ID, Integer.valueOf(C_TaxType_ID));
if (C_TaxType_ID < 1)
set_ValueNoCheck (COLUMNNAME_C_TaxType_ID, null);
else
set_ValueNoCheck (COLUMNNAME_C_TaxType_ID, Integer.valueOf(C_TaxType_ID));
}
/** Get Tax Type.
@ -132,8 +133,6 @@ public class X_C_TaxType extends PO implements I_C_TaxType, I_Persistent
*/
public void setName (String Name)
{
if (Name == null)
throw new IllegalArgumentException ("Name is mandatory.");
set_Value (COLUMNNAME_Name, Name);
}
@ -159,8 +158,6 @@ public class X_C_TaxType extends PO implements I_C_TaxType, I_Persistent
*/
public void setValue (String Value)
{
if (Value == null)
throw new IllegalArgumentException ("Value is mandatory.");
set_Value (COLUMNNAME_Value, Value);
}

View File

@ -17,11 +17,9 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
@ -164,21 +162,10 @@ public class X_DD_NetworkDistribution extends PO implements I_DD_NetworkDistribu
return (String)get_Value(COLUMNNAME_Help);
}
public I_M_ChangeNotice getM_ChangeNotice() throws RuntimeException
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;
}
return (I_M_ChangeNotice)MTable.get(getCtx(), I_M_ChangeNotice.Table_Name)
.getPO(getM_ChangeNotice_ID(), get_TrxName()); }
/** Set Change Notice.
@param M_ChangeNotice_ID

View File

@ -17,12 +17,10 @@
/** 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;
@ -43,12 +41,12 @@ public class X_DD_NetworkDistributionLine extends PO implements I_DD_NetworkDist
super (ctx, DD_NetworkDistributionLine_ID, trxName);
/** if (DD_NetworkDistributionLine_ID == 0)
{
setDD_NetworkDistributionLine_ID (0);
setDD_NetworkDistribution_ID (0);
setDD_NetworkDistributionLine_ID (0);
setM_Shipper_ID (0);
setM_WarehouseSource_ID (0);
setM_Warehouse_ID (0);
// @M_Warehouse_ID@
setM_WarehouseSource_ID (0);
} */
}
@ -80,41 +78,10 @@ public class X_DD_NetworkDistributionLine extends PO implements I_DD_NetworkDist
return sb.toString();
}
/** Set Network Distribution Line.
@param DD_NetworkDistributionLine_ID Network Distribution Line */
public void setDD_NetworkDistributionLine_ID (int 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.
@return Network Distribution Line */
public int getDD_NetworkDistributionLine_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DD_NetworkDistributionLine_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_DD_NetworkDistribution getDD_NetworkDistribution() throws RuntimeException
public org.eevolution.model.I_DD_NetworkDistribution getDD_NetworkDistribution() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_DD_NetworkDistribution.Table_Name);
org.eevolution.model.I_DD_NetworkDistribution result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_DD_NetworkDistribution)constructor.newInstance(new Object[] {getCtx(), new Integer(getDD_NetworkDistribution_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;
}
return (org.eevolution.model.I_DD_NetworkDistribution)MTable.get(getCtx(), org.eevolution.model.I_DD_NetworkDistribution.Table_Name)
.getPO(getDD_NetworkDistribution_ID(), get_TrxName()); }
/** Set Network Distribution.
@param DD_NetworkDistribution_ID Network Distribution */
@ -136,21 +103,30 @@ public class X_DD_NetworkDistributionLine extends PO implements I_DD_NetworkDist
return ii.intValue();
}
public I_M_Shipper getM_Shipper() throws RuntimeException
/** Set Network Distribution Line.
@param DD_NetworkDistributionLine_ID Network Distribution Line */
public void setDD_NetworkDistributionLine_ID (int 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.
@return Network Distribution Line */
public int getDD_NetworkDistributionLine_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DD_NetworkDistributionLine_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_M_Shipper getM_Shipper() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_Shipper.Table_Name);
I_M_Shipper result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_M_Shipper)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Shipper_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;
}
return (I_M_Shipper)MTable.get(getCtx(), I_M_Shipper.Table_Name)
.getPO(getM_Shipper_ID(), get_TrxName()); }
/** Set Shipper.
@param M_Shipper_ID
@ -175,28 +151,10 @@ public class X_DD_NetworkDistributionLine extends PO implements I_DD_NetworkDist
return ii.intValue();
}
/** Set Source Warehouse.
@param M_WarehouseSource_ID
Optional Warehouse to replenish from
*/
public void setM_WarehouseSource_ID (int 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.
@return Optional Warehouse to replenish from
*/
public int getM_WarehouseSource_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_WarehouseSource_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_M_Warehouse getM_Warehouse() throws RuntimeException
{
return (I_M_Warehouse)MTable.get(getCtx(), I_M_Warehouse.Table_Name)
.getPO(getM_Warehouse_ID(), get_TrxName()); }
/** Set Warehouse.
@param M_Warehouse_ID
@ -221,6 +179,34 @@ public class X_DD_NetworkDistributionLine extends PO implements I_DD_NetworkDist
return ii.intValue();
}
public I_M_Warehouse getM_WarehouseSource() throws RuntimeException
{
return (I_M_Warehouse)MTable.get(getCtx(), I_M_Warehouse.Table_Name)
.getPO(getM_WarehouseSource_ID(), get_TrxName()); }
/** Set Source Warehouse.
@param M_WarehouseSource_ID
Optional Warehouse to replenish from
*/
public void setM_WarehouseSource_ID (int 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.
@return Optional Warehouse to replenish from
*/
public int getM_WarehouseSource_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_WarehouseSource_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Percent.
@param Percent
Percentage

View File

@ -17,12 +17,10 @@
/** 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;
@ -124,21 +122,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return ii.intValue();
}
public I_AD_User getAD_User() throws RuntimeException
public I_AD_User getAD_User() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_User.Table_Name);
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;
}
return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name)
.getPO(getAD_User_ID(), get_TrxName()); }
/** Set User/Contact.
@param AD_User_ID
@ -163,21 +150,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return ii.intValue();
}
public I_C_Activity getC_Activity() throws RuntimeException
public I_C_Activity getC_Activity() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Activity.Table_Name);
I_C_Activity result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Activity)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Activity_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;
}
return (I_C_Activity)MTable.get(getCtx(), I_C_Activity.Table_Name)
.getPO(getC_Activity_ID(), get_TrxName()); }
/** Set Activity.
@param C_Activity_ID
@ -202,21 +178,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return ii.intValue();
}
public I_C_BPartner getC_BPartner() throws RuntimeException
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;
}
return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name)
.getPO(getC_BPartner_ID(), get_TrxName()); }
/** Set Business Partner .
@param C_BPartner_ID
@ -241,21 +206,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return ii.intValue();
}
public I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException
public I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_BPartner_Location.Table_Name);
I_C_BPartner_Location result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_BPartner_Location)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BPartner_Location_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;
}
return (I_C_BPartner_Location)MTable.get(getCtx(), I_C_BPartner_Location.Table_Name)
.getPO(getC_BPartner_Location_ID(), get_TrxName()); }
/** Set Partner Location.
@param C_BPartner_Location_ID
@ -280,21 +234,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return ii.intValue();
}
public I_C_Campaign getC_Campaign() throws RuntimeException
public I_C_Campaign getC_Campaign() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Campaign.Table_Name);
I_C_Campaign result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Campaign)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Campaign_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;
}
return (I_C_Campaign)MTable.get(getCtx(), I_C_Campaign.Table_Name)
.getPO(getC_Campaign_ID(), get_TrxName()); }
/** Set Campaign.
@param C_Campaign_ID
@ -319,6 +262,11 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return ii.intValue();
}
public I_C_Charge getC_Charge() throws RuntimeException
{
return (I_C_Charge)MTable.get(getCtx(), I_C_Charge.Table_Name)
.getPO(getC_Charge_ID(), get_TrxName()); }
/** Set Charge.
@param C_Charge_ID
Additional document charges
@ -342,21 +290,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return ii.intValue();
}
public I_C_DocType getC_DocType() throws RuntimeException
public I_C_DocType getC_DocType() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_DocType.Table_Name);
I_C_DocType result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_DocType)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_DocType_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;
}
return (I_C_DocType)MTable.get(getCtx(), I_C_DocType.Table_Name)
.getPO(getC_DocType_ID(), get_TrxName()); }
/** Set Document Type.
@param C_DocType_ID
@ -381,21 +318,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return ii.intValue();
}
public I_C_Invoice getC_Invoice() throws RuntimeException
public I_C_Invoice getC_Invoice() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Invoice.Table_Name);
I_C_Invoice result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Invoice)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Invoice_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;
}
return (I_C_Invoice)MTable.get(getCtx(), I_C_Invoice.Table_Name)
.getPO(getC_Invoice_ID(), get_TrxName()); }
/** Set Invoice.
@param C_Invoice_ID
@ -420,21 +346,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return ii.intValue();
}
public I_C_Order getC_Order() throws RuntimeException
public I_C_Order getC_Order() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Order.Table_Name);
I_C_Order result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Order)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_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;
}
return (I_C_Order)MTable.get(getCtx(), I_C_Order.Table_Name)
.getPO(getC_Order_ID(), get_TrxName()); }
/** Set Order.
@param C_Order_ID
@ -459,21 +374,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return ii.intValue();
}
public I_C_Project getC_Project() throws RuntimeException
public I_C_Project getC_Project() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Project.Table_Name);
I_C_Project result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Project)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Project_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;
}
return (I_C_Project)MTable.get(getCtx(), I_C_Project.Table_Name)
.getPO(getC_Project_ID(), get_TrxName()); }
/** Set Project.
@param C_Project_ID
@ -563,26 +467,6 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return (String)get_Value(COLUMNNAME_CreatePackage);
}
/** Set Distribution Order.
@param DD_Order_ID Distribution Order */
public void setDD_Order_ID (int 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.
@return Distribution Order */
public int getDD_Order_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DD_Order_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Date Ordered.
@param DateOrdered
Date of Order
@ -651,6 +535,26 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return (Timestamp)get_Value(COLUMNNAME_DateReceived);
}
/** Set Distribution Order.
@param DD_Order_ID Distribution Order */
public void setDD_Order_ID (int 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.
@return Distribution Order */
public int getDD_Order_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DD_Order_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** DeliveryRule AD_Reference_ID=151 */
public static final int DELIVERYRULE_AD_Reference_ID=151;
/** After Receipt = R */
@ -1049,6 +953,27 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return false;
}
/** Set Selected.
@param IsSelected Selected */
public void setIsSelected (boolean IsSelected)
{
set_Value (COLUMNNAME_IsSelected, Boolean.valueOf(IsSelected));
}
/** Get Selected.
@return Selected */
public boolean isSelected ()
{
Object oo = get_Value(COLUMNNAME_IsSelected);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Sales Transaction.
@param IsSOTrx
This is a Sales Transaction
@ -1073,42 +998,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return false;
}
/** Set Selected.
@param IsSelected Selected */
public void setIsSelected (boolean IsSelected)
{
set_Value (COLUMNNAME_IsSelected, Boolean.valueOf(IsSelected));
}
/** Get Selected.
@return Selected */
public boolean isSelected ()
{
Object oo = get_Value(COLUMNNAME_IsSelected);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
public I_M_Shipper getM_Shipper() throws RuntimeException
public I_M_Shipper getM_Shipper() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_Shipper.Table_Name);
I_M_Shipper result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_M_Shipper)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Shipper_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;
}
return (I_M_Shipper)MTable.get(getCtx(), I_M_Shipper.Table_Name)
.getPO(getM_Shipper_ID(), get_TrxName()); }
/** Set Shipper.
@param M_Shipper_ID
@ -1133,21 +1026,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return ii.intValue();
}
public I_M_Warehouse getM_Warehouse() throws RuntimeException
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;
}
return (I_M_Warehouse)MTable.get(getCtx(), I_M_Warehouse.Table_Name)
.getPO(getM_Warehouse_ID(), get_TrxName()); }
/** Set Warehouse.
@param M_Warehouse_ID
@ -1192,23 +1074,6 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return ii.intValue();
}
/** Set Order Reference.
@param POReference
Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner
*/
public void setPOReference (String POReference)
{
set_Value (COLUMNNAME_POReference, POReference);
}
/** Get Order Reference.
@return Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner
*/
public String getPOReference ()
{
return (String)get_Value(COLUMNNAME_POReference);
}
/** Set Pick Date.
@param PickDate
Date/Time when picked for Shipment
@ -1226,6 +1091,23 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return (Timestamp)get_Value(COLUMNNAME_PickDate);
}
/** Set Order Reference.
@param POReference
Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner
*/
public void setPOReference (String POReference)
{
set_Value (COLUMNNAME_POReference, POReference);
}
/** Get Order Reference.
@return Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner
*/
public String getPOReference ()
{
return (String)get_Value(COLUMNNAME_POReference);
}
/** Set Posted.
@param Posted
Posting status
@ -1348,6 +1230,11 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return ii.intValue();
}
public I_AD_User getSalesRep() throws RuntimeException
{
return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name)
.getPO(getSalesRep_ID(), get_TrxName()); }
/** Set Sales Representative.
@param SalesRep_ID
Sales Representative or Company Agent
@ -1429,6 +1316,11 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return (String)get_Value(COLUMNNAME_TrackingNo);
}
public I_C_ElementValue getUser1() throws RuntimeException
{
return (I_C_ElementValue)MTable.get(getCtx(), I_C_ElementValue.Table_Name)
.getPO(getUser1_ID(), get_TrxName()); }
/** Set User List 1.
@param User1_ID
User defined list element #1
@ -1452,6 +1344,11 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return ii.intValue();
}
public I_C_ElementValue getUser2() throws RuntimeException
{
return (I_C_ElementValue)MTable.get(getCtx(), I_C_ElementValue.Table_Name)
.getPO(getUser2_ID(), get_TrxName()); }
/** Set User List 2.
@param User2_ID
User defined list element #2

View File

@ -17,12 +17,10 @@
/** 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;
@ -46,17 +44,17 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
{
setC_UOM_ID (0);
// @#C_UOM_ID@
setDD_OrderLine_ID (0);
setDD_Order_ID (0);
setDD_OrderLine_ID (0);
setIsDescription (false);
// N
setIsInvoiced (false);
setLine (0);
// @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);
// @M_Locator_ID@
setM_LocatorTo_ID (0);
// @M_LocatorTo_ID@
setProcessed (false);
setQtyEntered (Env.ZERO);
// 1
@ -116,21 +114,10 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
return ii.intValue();
}
public I_C_Activity getC_Activity() throws RuntimeException
public I_C_Activity getC_Activity() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Activity.Table_Name);
I_C_Activity result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Activity)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Activity_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;
}
return (I_C_Activity)MTable.get(getCtx(), I_C_Activity.Table_Name)
.getPO(getC_Activity_ID(), get_TrxName()); }
/** Set Activity.
@param C_Activity_ID
@ -155,21 +142,10 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
return ii.intValue();
}
public I_C_Campaign getC_Campaign() throws RuntimeException
public I_C_Campaign getC_Campaign() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Campaign.Table_Name);
I_C_Campaign result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Campaign)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Campaign_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;
}
return (I_C_Campaign)MTable.get(getCtx(), I_C_Campaign.Table_Name)
.getPO(getC_Campaign_ID(), get_TrxName()); }
/** Set Campaign.
@param C_Campaign_ID
@ -194,21 +170,10 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
return ii.intValue();
}
public I_C_Charge getC_Charge() throws RuntimeException
public I_C_Charge getC_Charge() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Charge.Table_Name);
I_C_Charge result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Charge)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Charge_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;
}
return (I_C_Charge)MTable.get(getCtx(), I_C_Charge.Table_Name)
.getPO(getC_Charge_ID(), get_TrxName()); }
/** Set Charge.
@param C_Charge_ID
@ -233,21 +198,10 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
return ii.intValue();
}
public I_C_Project getC_Project() throws RuntimeException
public I_C_Project getC_Project() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Project.Table_Name);
I_C_Project result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Project)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Project_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;
}
return (I_C_Project)MTable.get(getCtx(), I_C_Project.Table_Name)
.getPO(getC_Project_ID(), get_TrxName()); }
/** Set Project.
@param C_Project_ID
@ -272,21 +226,10 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
return ii.intValue();
}
public I_C_UOM getC_UOM() throws RuntimeException
public I_C_UOM getC_UOM() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_UOM.Table_Name);
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;
}
return (I_C_UOM)MTable.get(getCtx(), I_C_UOM.Table_Name)
.getPO(getC_UOM_ID(), get_TrxName()); }
/** Set UOM.
@param C_UOM_ID
@ -331,62 +274,6 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
return bd;
}
/** Set Distribution Order Line.
@param DD_OrderLine_ID Distribution Order Line */
public void setDD_OrderLine_ID (int DD_OrderLine_ID)
{
if (DD_OrderLine_ID < 1)
set_ValueNoCheck (COLUMNNAME_DD_OrderLine_ID, null);
else
set_ValueNoCheck (COLUMNNAME_DD_OrderLine_ID, Integer.valueOf(DD_OrderLine_ID));
}
/** Get Distribution Order Line.
@return Distribution Order Line */
public int getDD_OrderLine_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DD_OrderLine_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_DD_Order getDD_Order() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_DD_Order.Table_Name);
org.eevolution.model.I_DD_Order result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_DD_Order)constructor.newInstance(new Object[] {getCtx(), new Integer(getDD_Order_ID()), get_TrxName()});
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw new RuntimeException( e );
}
return result;
}
/** Set Distribution Order.
@param DD_Order_ID Distribution Order */
public void setDD_Order_ID (int DD_Order_ID)
{
if (DD_Order_ID < 1)
set_ValueNoCheck (COLUMNNAME_DD_Order_ID, null);
else
set_ValueNoCheck (COLUMNNAME_DD_Order_ID, Integer.valueOf(DD_Order_ID));
}
/** Get Distribution Order.
@return Distribution Order */
public int getDD_Order_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DD_Order_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Date Delivered.
@param DateDelivered
Date when the product was delivered
@ -438,6 +325,51 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
return (Timestamp)get_Value(COLUMNNAME_DatePromised);
}
public org.eevolution.model.I_DD_Order getDD_Order() throws RuntimeException
{
return (org.eevolution.model.I_DD_Order)MTable.get(getCtx(), org.eevolution.model.I_DD_Order.Table_Name)
.getPO(getDD_Order_ID(), get_TrxName()); }
/** Set Distribution Order.
@param DD_Order_ID Distribution Order */
public void setDD_Order_ID (int 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.
@return Distribution Order */
public int getDD_Order_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DD_Order_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Distribution Order Line.
@param DD_OrderLine_ID Distribution Order Line */
public void setDD_OrderLine_ID (int DD_OrderLine_ID)
{
if (DD_OrderLine_ID < 1)
set_ValueNoCheck (COLUMNNAME_DD_OrderLine_ID, null);
else
set_ValueNoCheck (COLUMNNAME_DD_OrderLine_ID, Integer.valueOf(DD_OrderLine_ID));
}
/** Get Distribution Order Line.
@return Distribution Order Line */
public int getDD_OrderLine_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DD_OrderLine_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Description.
@param Description
Optional short description of the record
@ -571,28 +503,10 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
return bd;
}
/** Set Attribute Set Instance To.
@param M_AttributeSetInstanceTo_ID
Target Product Attribute Set Instance
*/
public void setM_AttributeSetInstanceTo_ID (int M_AttributeSetInstanceTo_ID)
{
if (M_AttributeSetInstanceTo_ID < 1)
set_Value (COLUMNNAME_M_AttributeSetInstanceTo_ID, null);
else
set_Value (COLUMNNAME_M_AttributeSetInstanceTo_ID, Integer.valueOf(M_AttributeSetInstanceTo_ID));
}
/** Get Attribute Set Instance To.
@return Target Product Attribute Set Instance
*/
public int getM_AttributeSetInstanceTo_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_AttributeSetInstanceTo_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException
{
return (I_M_AttributeSetInstance)MTable.get(getCtx(), I_M_AttributeSetInstance.Table_Name)
.getPO(getM_AttributeSetInstance_ID(), get_TrxName()); }
/** Set Attribute Set Instance.
@param M_AttributeSetInstance_ID
@ -617,44 +531,38 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
return ii.intValue();
}
/** Set Locator To.
@param M_LocatorTo_ID
Location inventory is moved to
public I_M_AttributeSetInstance getM_AttributeSetInstanceTo() throws RuntimeException
{
return (I_M_AttributeSetInstance)MTable.get(getCtx(), I_M_AttributeSetInstance.Table_Name)
.getPO(getM_AttributeSetInstanceTo_ID(), get_TrxName()); }
/** Set Attribute Set Instance To.
@param M_AttributeSetInstanceTo_ID
Target Product Attribute Set Instance
*/
public void setM_LocatorTo_ID (int M_LocatorTo_ID)
public void setM_AttributeSetInstanceTo_ID (int M_AttributeSetInstanceTo_ID)
{
if (M_LocatorTo_ID < 1)
set_Value (COLUMNNAME_M_LocatorTo_ID, null);
if (M_AttributeSetInstanceTo_ID < 1)
set_Value (COLUMNNAME_M_AttributeSetInstanceTo_ID, null);
else
set_Value (COLUMNNAME_M_LocatorTo_ID, Integer.valueOf(M_LocatorTo_ID));
set_Value (COLUMNNAME_M_AttributeSetInstanceTo_ID, Integer.valueOf(M_AttributeSetInstanceTo_ID));
}
/** Get Locator To.
@return Location inventory is moved to
/** Get Attribute Set Instance To.
@return Target Product Attribute Set Instance
*/
public int getM_LocatorTo_ID ()
public int getM_AttributeSetInstanceTo_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_LocatorTo_ID);
Integer ii = (Integer)get_Value(COLUMNNAME_M_AttributeSetInstanceTo_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_M_Locator getM_Locator() throws RuntimeException
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;
}
return (I_M_Locator)MTable.get(getCtx(), I_M_Locator.Table_Name)
.getPO(getM_Locator_ID(), get_TrxName()); }
/** Set Locator.
@param M_Locator_ID
@ -679,6 +587,39 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
return ii.intValue();
}
public I_M_Locator getM_LocatorTo() throws RuntimeException
{
return (I_M_Locator)MTable.get(getCtx(), I_M_Locator.Table_Name)
.getPO(getM_LocatorTo_ID(), get_TrxName()); }
/** Set Locator To.
@param M_LocatorTo_ID
Location inventory is moved to
*/
public void setM_LocatorTo_ID (int 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.
@return Location inventory is moved to
*/
public int getM_LocatorTo_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_LocatorTo_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_M_Product getM_Product() throws RuntimeException
{
return (I_M_Product)MTable.get(getCtx(), I_M_Product.Table_Name)
.getPO(getM_Product_ID(), get_TrxName()); }
/** Set Product.
@param M_Product_ID
Product, Service, Item
@ -880,6 +821,11 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
return bd;
}
public I_C_ElementValue getUser1() throws RuntimeException
{
return (I_C_ElementValue)MTable.get(getCtx(), I_C_ElementValue.Table_Name)
.getPO(getUser1_ID(), get_TrxName()); }
/** Set User List 1.
@param User1_ID
User defined list element #1
@ -903,6 +849,11 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
return ii.intValue();
}
public I_C_ElementValue getUser2() throws RuntimeException
{
return (I_C_ElementValue)MTable.get(getCtx(), I_C_ElementValue.Table_Name)
.getPO(getUser2_ID(), get_TrxName()); }
/** Set User List 2.
@param User2_ID
User defined list element #2

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 *
@ -17,12 +17,10 @@
/** 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;
@ -35,7 +33,7 @@ public class X_HR_Attribute extends PO implements I_HR_Attribute, I_Persistent
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_HR_Attribute (Properties ctx, int HR_Attribute_ID, String trxName)
@ -77,21 +75,10 @@ public class X_HR_Attribute extends PO implements I_HR_Attribute, I_Persistent
return sb.toString();
}
public I_AD_Rule getAD_Rule() throws RuntimeException
public I_AD_Rule getAD_Rule() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_Rule.Table_Name);
I_AD_Rule result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_Rule)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_Rule_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;
}
return (I_AD_Rule)MTable.get(getCtx(), I_AD_Rule.Table_Name)
.getPO(getAD_Rule_ID(), get_TrxName()); }
/** Set Rule.
@param AD_Rule_ID Rule */
@ -133,21 +120,10 @@ public class X_HR_Attribute extends PO implements I_HR_Attribute, I_Persistent
return bd;
}
public I_C_BPartner getC_BPartner() throws RuntimeException
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;
}
return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name)
.getPO(getC_BPartner_ID(), get_TrxName()); }
/** Set Business Partner .
@param C_BPartner_ID
@ -187,9 +163,6 @@ public class X_HR_Attribute extends PO implements I_HR_Attribute, I_Persistent
public void setColumnType (String ColumnType)
{
if (ColumnType == null || ColumnType.equals("A") || ColumnType.equals("D") || ColumnType.equals("Q") || ColumnType.equals("T"));
else throw new IllegalArgumentException ("ColumnType Invalid value - " + ColumnType + " - Reference_ID=53243 - A - D - Q - T");
set_Value (COLUMNNAME_ColumnType, ColumnType);
}
@ -217,6 +190,11 @@ public class X_HR_Attribute extends PO implements I_HR_Attribute, I_Persistent
return (String)get_Value(COLUMNNAME_Description);
}
public I_C_ValidCombination getHR_Attribute_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getHR_Attribute_Acct(), get_TrxName()); }
/** Set Payroll Attribute Account.
@param HR_Attribute_Acct Payroll Attribute Account */
public void setHR_Attribute_Acct (int HR_Attribute_Acct)
@ -238,9 +216,10 @@ public class X_HR_Attribute extends PO implements I_HR_Attribute, I_Persistent
@param HR_Attribute_ID Payroll Employee Attribute */
public void setHR_Attribute_ID (int HR_Attribute_ID)
{
if (HR_Attribute_ID < 1)
throw new IllegalArgumentException ("HR_Attribute_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_HR_Attribute_ID, Integer.valueOf(HR_Attribute_ID));
if (HR_Attribute_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_Attribute_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_Attribute_ID, Integer.valueOf(HR_Attribute_ID));
}
/** Get Payroll Employee Attribute.
@ -253,29 +232,19 @@ public class X_HR_Attribute extends PO implements I_HR_Attribute, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_HR_Concept getHR_Concept() throws RuntimeException
public org.eevolution.model.I_HR_Concept getHR_Concept() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Concept.Table_Name);
org.eevolution.model.I_HR_Concept result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Concept)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Concept_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;
}
return (org.eevolution.model.I_HR_Concept)MTable.get(getCtx(), org.eevolution.model.I_HR_Concept.Table_Name)
.getPO(getHR_Concept_ID(), get_TrxName()); }
/** Set Payroll Concept.
@param HR_Concept_ID Payroll Concept */
public void setHR_Concept_ID (int HR_Concept_ID)
{
if (HR_Concept_ID < 1)
throw new IllegalArgumentException ("HR_Concept_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_HR_Concept_ID, Integer.valueOf(HR_Concept_ID));
if (HR_Concept_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_Concept_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_Concept_ID, Integer.valueOf(HR_Concept_ID));
}
/** Get Payroll Concept.
@ -288,21 +257,10 @@ public class X_HR_Attribute extends PO implements I_HR_Attribute, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_HR_Department getHR_Department() throws RuntimeException
public org.eevolution.model.I_HR_Department getHR_Department() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Department.Table_Name);
org.eevolution.model.I_HR_Department result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Department)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Department_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;
}
return (org.eevolution.model.I_HR_Department)MTable.get(getCtx(), org.eevolution.model.I_HR_Department.Table_Name)
.getPO(getHR_Department_ID(), get_TrxName()); }
/** Set Payroll Department.
@param HR_Department_ID Payroll Department */
@ -324,21 +282,10 @@ public class X_HR_Attribute extends PO implements I_HR_Attribute, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_HR_Employee getHR_Employee() throws RuntimeException
public org.eevolution.model.I_HR_Employee getHR_Employee() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Employee.Table_Name);
org.eevolution.model.I_HR_Employee result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Employee)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Employee_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;
}
return (org.eevolution.model.I_HR_Employee)MTable.get(getCtx(), org.eevolution.model.I_HR_Employee.Table_Name)
.getPO(getHR_Employee_ID(), get_TrxName()); }
/** Set Payroll Employee.
@param HR_Employee_ID Payroll Employee */
@ -360,21 +307,10 @@ public class X_HR_Attribute extends PO implements I_HR_Attribute, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_HR_Job getHR_Job() throws RuntimeException
public org.eevolution.model.I_HR_Job getHR_Job() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Job.Table_Name);
org.eevolution.model.I_HR_Job result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Job)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Job_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;
}
return (org.eevolution.model.I_HR_Job)MTable.get(getCtx(), org.eevolution.model.I_HR_Job.Table_Name)
.getPO(getHR_Job_ID(), get_TrxName()); }
/** Set Payroll Job.
@param HR_Job_ID Payroll Job */
@ -396,21 +332,10 @@ public class X_HR_Attribute extends PO implements I_HR_Attribute, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_HR_Payroll getHR_Payroll() throws RuntimeException
public org.eevolution.model.I_HR_Payroll getHR_Payroll() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Payroll.Table_Name);
org.eevolution.model.I_HR_Payroll result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Payroll)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Payroll_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;
}
return (org.eevolution.model.I_HR_Payroll)MTable.get(getCtx(), org.eevolution.model.I_HR_Payroll.Table_Name)
.getPO(getHR_Payroll_ID(), get_TrxName()); }
/** Set Payroll.
@param HR_Payroll_ID Payroll */
@ -550,8 +475,6 @@ public class X_HR_Attribute extends PO implements I_HR_Attribute, I_Persistent
*/
public void setValidFrom (Timestamp ValidFrom)
{
if (ValidFrom == null)
throw new IllegalArgumentException ("ValidFrom is mandatory.");
set_Value (COLUMNNAME_ValidFrom, ValidFrom);
}

View File

@ -17,11 +17,9 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
@ -77,45 +75,6 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent
return sb.toString();
}
public I_AD_Reference getAD_Reference() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_Reference.Table_Name);
I_AD_Reference result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_Reference)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_Reference_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 Reference.
@param AD_Reference_ID
System Reference and Validation
*/
public void setAD_Reference_ID (int AD_Reference_ID)
{
if (AD_Reference_ID < 1)
set_Value (COLUMNNAME_AD_Reference_ID, null);
else
set_Value (COLUMNNAME_AD_Reference_ID, Integer.valueOf(AD_Reference_ID));
}
/** Get Reference.
@return System Reference and Validation
*/
public int getAD_Reference_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Reference_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** AccountSign AD_Reference_ID=118 */
public static final int ACCOUNTSIGN_AD_Reference_ID=118;
/** Natural = N */
@ -142,6 +101,34 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent
return (String)get_Value(COLUMNNAME_AccountSign);
}
public I_AD_Reference getAD_Reference() throws RuntimeException
{
return (I_AD_Reference)MTable.get(getCtx(), I_AD_Reference.Table_Name)
.getPO(getAD_Reference_ID(), get_TrxName()); }
/** Set Reference.
@param AD_Reference_ID
System Reference and Validation
*/
public void setAD_Reference_ID (int AD_Reference_ID)
{
if (AD_Reference_ID < 1)
set_Value (COLUMNNAME_AD_Reference_ID, null);
else
set_Value (COLUMNNAME_AD_Reference_ID, Integer.valueOf(AD_Reference_ID));
}
/** Get Reference.
@return System Reference and Validation
*/
public int getAD_Reference_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Reference_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** ColumnType AD_Reference_ID=53243 */
public static final int COLUMNTYPE_AD_Reference_ID=53243;
/** Amount = A */
@ -156,7 +143,7 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent
@param ColumnType Column Type */
public void setColumnType (String ColumnType)
{
if (ColumnType == null) throw new IllegalArgumentException ("ColumnType is mandatory");
set_Value (COLUMNNAME_ColumnType, ColumnType);
}
@ -184,21 +171,10 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent
return (String)get_Value(COLUMNNAME_Description);
}
public org.eevolution.model.I_HR_Concept_Category getHR_Concept_Category() throws RuntimeException
public org.eevolution.model.I_HR_Concept_Category getHR_Concept_Category() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Concept_Category.Table_Name);
org.eevolution.model.I_HR_Concept_Category result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Concept_Category)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Concept_Category_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;
}
return (org.eevolution.model.I_HR_Concept_Category)MTable.get(getCtx(), org.eevolution.model.I_HR_Concept_Category.Table_Name)
.getPO(getHR_Concept_Category_ID(), get_TrxName()); }
/** Set Payroll Concept Category.
@param HR_Concept_Category_ID Payroll Concept Category */
@ -224,9 +200,10 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent
@param HR_Concept_ID Payroll Concept */
public void setHR_Concept_ID (int HR_Concept_ID)
{
if (HR_Concept_ID < 1)
throw new IllegalArgumentException ("HR_Concept_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_HR_Concept_ID, Integer.valueOf(HR_Concept_ID));
if (HR_Concept_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_Concept_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_Concept_ID, Integer.valueOf(HR_Concept_ID));
}
/** Get Payroll Concept.
@ -239,21 +216,10 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_HR_Department getHR_Department() throws RuntimeException
public org.eevolution.model.I_HR_Department getHR_Department() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Department.Table_Name);
org.eevolution.model.I_HR_Department result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Department)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Department_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;
}
return (org.eevolution.model.I_HR_Department)MTable.get(getCtx(), org.eevolution.model.I_HR_Department.Table_Name)
.getPO(getHR_Department_ID(), get_TrxName()); }
/** Set Payroll Department.
@param HR_Department_ID Payroll Department */
@ -275,21 +241,10 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_HR_Job getHR_Job() throws RuntimeException
public org.eevolution.model.I_HR_Job getHR_Job() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Job.Table_Name);
org.eevolution.model.I_HR_Job result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Job)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Job_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;
}
return (org.eevolution.model.I_HR_Job)MTable.get(getCtx(), org.eevolution.model.I_HR_Job.Table_Name)
.getPO(getHR_Job_ID(), get_TrxName()); }
/** Set Payroll Job.
@param HR_Job_ID Payroll Job */
@ -311,21 +266,10 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_HR_Payroll getHR_Payroll() throws RuntimeException
public org.eevolution.model.I_HR_Payroll getHR_Payroll() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Payroll.Table_Name);
org.eevolution.model.I_HR_Payroll result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Payroll)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Payroll_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;
}
return (org.eevolution.model.I_HR_Payroll)MTable.get(getCtx(), org.eevolution.model.I_HR_Payroll.Table_Name)
.getPO(getHR_Payroll_ID(), get_TrxName()); }
/** Set Payroll.
@param HR_Payroll_ID Payroll */
@ -521,8 +465,6 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent
*/
public void setName (String Name)
{
if (Name == null)
throw new IllegalArgumentException ("Name is mandatory.");
set_Value (COLUMNNAME_Name, Name);
}
@ -570,7 +512,7 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent
*/
public void setType (String Type)
{
if (Type == null) throw new IllegalArgumentException ("Type is mandatory");
set_Value (COLUMNNAME_Type, Type);
}

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 *
@ -17,10 +17,8 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.sql.ResultSet;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
/** Generated Model for HR_Concept_Acct
@ -32,7 +30,7 @@ public class X_HR_Concept_Acct extends PO implements I_HR_Concept_Acct, I_Persis
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_HR_Concept_Acct (Properties ctx, int HR_Concept_Acct_ID, String trxName)
@ -76,21 +74,10 @@ public class X_HR_Concept_Acct extends PO implements I_HR_Concept_Acct, I_Persis
return sb.toString();
}
public I_C_AcctSchema getC_AcctSchema() throws RuntimeException
public I_C_AcctSchema getC_AcctSchema() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_AcctSchema.Table_Name);
I_C_AcctSchema result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_AcctSchema)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_AcctSchema_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;
}
return (I_C_AcctSchema)MTable.get(getCtx(), I_C_AcctSchema.Table_Name)
.getPO(getC_AcctSchema_ID(), get_TrxName()); }
/** Set Accounting Schema.
@param C_AcctSchema_ID
@ -98,9 +85,10 @@ public class X_HR_Concept_Acct extends PO implements I_HR_Concept_Acct, I_Persis
*/
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.
@ -114,21 +102,10 @@ public class X_HR_Concept_Acct extends PO implements I_HR_Concept_Acct, I_Persis
return ii.intValue();
}
public I_C_BP_Group getC_BP_Group() throws RuntimeException
public I_C_BP_Group getC_BP_Group() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_BP_Group.Table_Name);
I_C_BP_Group result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_BP_Group)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BP_Group_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;
}
return (I_C_BP_Group)MTable.get(getCtx(), I_C_BP_Group.Table_Name)
.getPO(getC_BP_Group_ID(), get_TrxName()); }
/** Set Business Partner Group.
@param C_BP_Group_ID
@ -157,9 +134,10 @@ public class X_HR_Concept_Acct extends PO implements I_HR_Concept_Acct, I_Persis
@param HR_Concept_Acct_ID Payroll Concept Account */
public void setHR_Concept_Acct_ID (int HR_Concept_Acct_ID)
{
if (HR_Concept_Acct_ID < 1)
throw new IllegalArgumentException ("HR_Concept_Acct_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_HR_Concept_Acct_ID, Integer.valueOf(HR_Concept_Acct_ID));
if (HR_Concept_Acct_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_Concept_Acct_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_Concept_Acct_ID, Integer.valueOf(HR_Concept_Acct_ID));
}
/** Get Payroll Concept Account.
@ -172,29 +150,19 @@ public class X_HR_Concept_Acct extends PO implements I_HR_Concept_Acct, I_Persis
return ii.intValue();
}
public org.eevolution.model.I_HR_Concept getHR_Concept() throws RuntimeException
public org.eevolution.model.I_HR_Concept getHR_Concept() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Concept.Table_Name);
org.eevolution.model.I_HR_Concept result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Concept)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Concept_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;
}
return (org.eevolution.model.I_HR_Concept)MTable.get(getCtx(), org.eevolution.model.I_HR_Concept.Table_Name)
.getPO(getHR_Concept_ID(), get_TrxName()); }
/** Set Payroll Concept.
@param HR_Concept_ID Payroll Concept */
public void setHR_Concept_ID (int HR_Concept_ID)
{
if (HR_Concept_ID < 1)
throw new IllegalArgumentException ("HR_Concept_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_HR_Concept_ID, Integer.valueOf(HR_Concept_ID));
if (HR_Concept_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_Concept_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_Concept_ID, Integer.valueOf(HR_Concept_ID));
}
/** Get Payroll Concept.
@ -207,6 +175,11 @@ public class X_HR_Concept_Acct extends PO implements I_HR_Concept_Acct, I_Persis
return ii.intValue();
}
public I_C_ValidCombination getHR_Expense_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getHR_Expense_Acct(), get_TrxName()); }
/** Set Payroll Expense Account.
@param HR_Expense_Acct Payroll Expense Account */
public void setHR_Expense_Acct (int HR_Expense_Acct)
@ -224,6 +197,11 @@ public class X_HR_Concept_Acct extends PO implements I_HR_Concept_Acct, I_Persis
return ii.intValue();
}
public I_C_ValidCombination getHR_Revenue_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getHR_Revenue_Acct(), get_TrxName()); }
/** Set Payroll Revenue Account.
@param HR_Revenue_Acct Payroll Revenue Account */
public void setHR_Revenue_Acct (int HR_Revenue_Acct)
@ -265,6 +243,11 @@ public class X_HR_Concept_Acct extends PO implements I_HR_Concept_Acct, I_Persis
return false;
}
public I_C_ElementValue getUser1() throws RuntimeException
{
return (I_C_ElementValue)MTable.get(getCtx(), I_C_ElementValue.Table_Name)
.getPO(getUser1_ID(), get_TrxName()); }
/** Set User List 1.
@param User1_ID
User defined list element #1
@ -288,6 +271,11 @@ public class X_HR_Concept_Acct extends PO implements I_HR_Concept_Acct, I_Persis
return ii.intValue();
}
public I_C_ValidCombination getUser2() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getUser2_ID(), get_TrxName()); }
/** Set User List 2.
@param User2_ID
User defined list element #2

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 *
@ -31,7 +31,7 @@ public class X_HR_Concept_Category extends PO implements I_HR_Concept_Category,
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_HR_Concept_Category (Properties ctx, int HR_Concept_Category_ID, String trxName)
@ -89,6 +89,11 @@ public class X_HR_Concept_Category extends PO implements I_HR_Concept_Category,
return (String)get_Value(COLUMNNAME_Description);
}
public I_C_ValidCombination getHR_Concept_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getHR_Concept_Acct(), get_TrxName()); }
/** Set Payroll Concept Account.
@param HR_Concept_Acct Payroll Concept Account */
public void setHR_Concept_Acct (int HR_Concept_Acct)
@ -110,9 +115,10 @@ public class X_HR_Concept_Category extends PO implements I_HR_Concept_Category,
@param HR_Concept_Category_ID Payroll Concept Category */
public void setHR_Concept_Category_ID (int HR_Concept_Category_ID)
{
if (HR_Concept_Category_ID < 1)
throw new IllegalArgumentException ("HR_Concept_Category_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_HR_Concept_Category_ID, Integer.valueOf(HR_Concept_Category_ID));
if (HR_Concept_Category_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_Concept_Category_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_Concept_Category_ID, Integer.valueOf(HR_Concept_Category_ID));
}
/** Get Payroll Concept Category.
@ -155,8 +161,6 @@ public class X_HR_Concept_Category extends PO implements I_HR_Concept_Category,
*/
public void setName (String Name)
{
if (Name == null)
throw new IllegalArgumentException ("Name is mandatory.");
set_Value (COLUMNNAME_Name, Name);
}

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 *
@ -17,11 +17,9 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
@ -34,7 +32,7 @@ public class X_HR_Contract extends PO implements I_HR_Contract, I_Persistent
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_HR_Contract (Properties ctx, int HR_Contract_ID, String trxName)
@ -75,21 +73,10 @@ public class X_HR_Contract extends PO implements I_HR_Contract, I_Persistent
return sb.toString();
}
public I_C_BPartner getC_BPartner() throws RuntimeException
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;
}
return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name)
.getPO(getC_BPartner_ID(), get_TrxName()); }
/** Set Business Partner .
@param C_BPartner_ID
@ -114,21 +101,10 @@ public class X_HR_Contract extends PO implements I_HR_Contract, I_Persistent
return ii.intValue();
}
public I_C_Campaign getC_Campaign() throws RuntimeException
public I_C_Campaign getC_Campaign() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Campaign.Table_Name);
I_C_Campaign result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Campaign)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Campaign_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;
}
return (I_C_Campaign)MTable.get(getCtx(), I_C_Campaign.Table_Name)
.getPO(getC_Campaign_ID(), get_TrxName()); }
/** Set Campaign.
@param C_Campaign_ID
@ -153,21 +129,10 @@ public class X_HR_Contract extends PO implements I_HR_Contract, I_Persistent
return ii.intValue();
}
public I_C_Project getC_Project() throws RuntimeException
public I_C_Project getC_Project() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Project.Table_Name);
I_C_Project result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Project)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Project_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;
}
return (I_C_Project)MTable.get(getCtx(), I_C_Project.Table_Name)
.getPO(getC_Project_ID(), get_TrxName()); }
/** Set Project.
@param C_Project_ID
@ -213,9 +178,10 @@ public class X_HR_Contract extends PO implements I_HR_Contract, I_Persistent
@param HR_Contract_ID Payroll Contract */
public void setHR_Contract_ID (int HR_Contract_ID)
{
if (HR_Contract_ID < 1)
throw new IllegalArgumentException ("HR_Contract_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_HR_Contract_ID, Integer.valueOf(HR_Contract_ID));
if (HR_Contract_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_Contract_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_Contract_ID, Integer.valueOf(HR_Contract_ID));
}
/** Get Payroll Contract.
@ -234,8 +200,6 @@ public class X_HR_Contract extends PO implements I_HR_Contract, I_Persistent
*/
public void setName (String Name)
{
if (Name == null)
throw new IllegalArgumentException ("Name is mandatory.");
set_Value (COLUMNNAME_Name, Name);
}

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 *
@ -17,10 +17,8 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.sql.ResultSet;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
@ -33,7 +31,7 @@ public class X_HR_Department extends PO implements I_HR_Department, I_Persistent
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_HR_Department (Properties ctx, int HR_Department_ID, String trxName)
@ -74,21 +72,10 @@ public class X_HR_Department extends PO implements I_HR_Department, I_Persistent
return sb.toString();
}
public I_C_Activity getC_Activity() throws RuntimeException
public I_C_Activity getC_Activity() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Activity.Table_Name);
I_C_Activity result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Activity)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Activity_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;
}
return (I_C_Activity)MTable.get(getCtx(), I_C_Activity.Table_Name)
.getPO(getC_Activity_ID(), get_TrxName()); }
/** Set Activity.
@param C_Activity_ID
@ -134,9 +121,10 @@ public class X_HR_Department extends PO implements I_HR_Department, I_Persistent
@param HR_Department_ID Payroll Department */
public void setHR_Department_ID (int HR_Department_ID)
{
if (HR_Department_ID < 1)
throw new IllegalArgumentException ("HR_Department_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_HR_Department_ID, Integer.valueOf(HR_Department_ID));
if (HR_Department_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_Department_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_Department_ID, Integer.valueOf(HR_Department_ID));
}
/** Get Payroll Department.
@ -155,8 +143,6 @@ public class X_HR_Department extends PO implements I_HR_Department, I_Persistent
*/
public void setName (String Name)
{
if (Name == null)
throw new IllegalArgumentException ("Name is mandatory.");
set_Value (COLUMNNAME_Name, Name);
}

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 *
@ -17,11 +17,9 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
@ -34,7 +32,7 @@ public class X_HR_Employee extends PO implements I_HR_Employee, I_Persistent
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_HR_Employee (Properties ctx, int HR_Employee_ID, String trxName)
@ -78,21 +76,10 @@ public class X_HR_Employee extends PO implements I_HR_Employee, I_Persistent
return sb.toString();
}
public I_C_Activity getC_Activity() throws RuntimeException
public I_C_Activity getC_Activity() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Activity.Table_Name);
I_C_Activity result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Activity)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Activity_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;
}
return (I_C_Activity)MTable.get(getCtx(), I_C_Activity.Table_Name)
.getPO(getC_Activity_ID(), get_TrxName()); }
/** Set Activity.
@param C_Activity_ID
@ -117,21 +104,10 @@ public class X_HR_Employee extends PO implements I_HR_Employee, I_Persistent
return ii.intValue();
}
public I_C_BPartner getC_BPartner() throws RuntimeException
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;
}
return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name)
.getPO(getC_BPartner_ID(), get_TrxName()); }
/** Set Business Partner .
@param C_BPartner_ID
@ -139,9 +115,10 @@ public class X_HR_Employee extends PO implements I_HR_Employee, 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 .
@ -189,29 +166,19 @@ public class X_HR_Employee extends PO implements I_HR_Employee, I_Persistent
return (Timestamp)get_Value(COLUMNNAME_EndDate);
}
public org.eevolution.model.I_HR_Department getHR_Department() throws RuntimeException
public org.eevolution.model.I_HR_Department getHR_Department() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Department.Table_Name);
org.eevolution.model.I_HR_Department result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Department)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Department_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;
}
return (org.eevolution.model.I_HR_Department)MTable.get(getCtx(), org.eevolution.model.I_HR_Department.Table_Name)
.getPO(getHR_Department_ID(), get_TrxName()); }
/** Set Payroll Department.
@param HR_Department_ID Payroll Department */
public void setHR_Department_ID (int HR_Department_ID)
{
if (HR_Department_ID < 1)
throw new IllegalArgumentException ("HR_Department_ID is mandatory.");
set_Value (COLUMNNAME_HR_Department_ID, Integer.valueOf(HR_Department_ID));
if (HR_Department_ID < 1)
set_Value (COLUMNNAME_HR_Department_ID, null);
else
set_Value (COLUMNNAME_HR_Department_ID, Integer.valueOf(HR_Department_ID));
}
/** Get Payroll Department.
@ -228,9 +195,10 @@ public class X_HR_Employee extends PO implements I_HR_Employee, I_Persistent
@param HR_Employee_ID Payroll Employee */
public void setHR_Employee_ID (int HR_Employee_ID)
{
if (HR_Employee_ID < 1)
throw new IllegalArgumentException ("HR_Employee_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_HR_Employee_ID, Integer.valueOf(HR_Employee_ID));
if (HR_Employee_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_Employee_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_Employee_ID, Integer.valueOf(HR_Employee_ID));
}
/** Get Payroll Employee.
@ -243,29 +211,19 @@ public class X_HR_Employee extends PO implements I_HR_Employee, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_HR_Job getHR_Job() throws RuntimeException
public org.eevolution.model.I_HR_Job getHR_Job() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Job.Table_Name);
org.eevolution.model.I_HR_Job result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Job)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Job_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;
}
return (org.eevolution.model.I_HR_Job)MTable.get(getCtx(), org.eevolution.model.I_HR_Job.Table_Name)
.getPO(getHR_Job_ID(), get_TrxName()); }
/** Set Payroll Job.
@param HR_Job_ID Payroll Job */
public void setHR_Job_ID (int HR_Job_ID)
{
if (HR_Job_ID < 1)
throw new IllegalArgumentException ("HR_Job_ID is mandatory.");
set_Value (COLUMNNAME_HR_Job_ID, Integer.valueOf(HR_Job_ID));
if (HR_Job_ID < 1)
set_Value (COLUMNNAME_HR_Job_ID, null);
else
set_Value (COLUMNNAME_HR_Job_ID, Integer.valueOf(HR_Job_ID));
}
/** Get Payroll Job.
@ -278,21 +236,10 @@ public class X_HR_Employee extends PO implements I_HR_Employee, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_HR_Payroll getHR_Payroll() throws RuntimeException
public org.eevolution.model.I_HR_Payroll getHR_Payroll() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Payroll.Table_Name);
org.eevolution.model.I_HR_Payroll result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Payroll)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Payroll_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;
}
return (org.eevolution.model.I_HR_Payroll)MTable.get(getCtx(), org.eevolution.model.I_HR_Payroll.Table_Name)
.getPO(getHR_Payroll_ID(), get_TrxName()); }
/** Set Payroll.
@param HR_Payroll_ID Payroll */
@ -407,8 +354,6 @@ public class X_HR_Employee extends PO implements I_HR_Employee, I_Persistent
*/
public void setStartDate (Timestamp StartDate)
{
if (StartDate == null)
throw new IllegalArgumentException ("StartDate is mandatory.");
set_Value (COLUMNNAME_StartDate, StartDate);
}

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 *
@ -17,10 +17,8 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.sql.ResultSet;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
@ -33,7 +31,7 @@ public class X_HR_Job extends PO implements I_HR_Job, I_Persistent
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_HR_Job (Properties ctx, int HR_Job_ID, String trxName)
@ -92,29 +90,19 @@ public class X_HR_Job extends PO implements I_HR_Job, I_Persistent
return (String)get_Value(COLUMNNAME_Description);
}
public org.eevolution.model.I_HR_Department getHR_Department() throws RuntimeException
public org.eevolution.model.I_HR_Department getHR_Department() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Department.Table_Name);
org.eevolution.model.I_HR_Department result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Department)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Department_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;
}
return (org.eevolution.model.I_HR_Department)MTable.get(getCtx(), org.eevolution.model.I_HR_Department.Table_Name)
.getPO(getHR_Department_ID(), get_TrxName()); }
/** Set Payroll Department.
@param HR_Department_ID Payroll Department */
public void setHR_Department_ID (int HR_Department_ID)
{
if (HR_Department_ID < 1)
throw new IllegalArgumentException ("HR_Department_ID is mandatory.");
set_Value (COLUMNNAME_HR_Department_ID, Integer.valueOf(HR_Department_ID));
if (HR_Department_ID < 1)
set_Value (COLUMNNAME_HR_Department_ID, null);
else
set_Value (COLUMNNAME_HR_Department_ID, Integer.valueOf(HR_Department_ID));
}
/** Get Payroll Department.
@ -131,9 +119,10 @@ public class X_HR_Job extends PO implements I_HR_Job, I_Persistent
@param HR_Job_ID Payroll Job */
public void setHR_Job_ID (int HR_Job_ID)
{
if (HR_Job_ID < 1)
throw new IllegalArgumentException ("HR_Job_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_HR_Job_ID, Integer.valueOf(HR_Job_ID));
if (HR_Job_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_Job_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_Job_ID, Integer.valueOf(HR_Job_ID));
}
/** Get Payroll Job.
@ -193,8 +182,6 @@ public class X_HR_Job extends PO implements I_HR_Job, I_Persistent
*/
public void setName (String Name)
{
if (Name == null)
throw new IllegalArgumentException ("Name is mandatory.");
set_Value (COLUMNNAME_Name, Name);
}
@ -214,6 +201,11 @@ public class X_HR_Job extends PO implements I_HR_Job, I_Persistent
return new KeyNamePair(get_ID(), getName());
}
public org.eevolution.model.I_HR_Job getNext_Job() throws RuntimeException
{
return (org.eevolution.model.I_HR_Job)MTable.get(getCtx(), org.eevolution.model.I_HR_Job.Table_Name)
.getPO(getNext_Job_ID(), get_TrxName()); }
/** Set Next Job.
@param Next_Job_ID Next Job */
public void setNext_Job_ID (int Next_Job_ID)
@ -234,6 +226,11 @@ public class X_HR_Job extends PO implements I_HR_Job, I_Persistent
return ii.intValue();
}
public I_AD_User getSupervisor() throws RuntimeException
{
return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name)
.getPO(getSupervisor_ID(), get_TrxName()); }
/** Set Supervisor.
@param Supervisor_ID
Supervisor for this user/organization - used for escalation and approval

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 *
@ -17,11 +17,9 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
@ -34,7 +32,7 @@ public class X_HR_List extends PO implements I_HR_List, I_Persistent
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_HR_List (Properties ctx, int HR_List_ID, String trxName)
@ -92,21 +90,10 @@ public class X_HR_List extends PO implements I_HR_List, I_Persistent
return (String)get_Value(COLUMNNAME_Description);
}
public org.eevolution.model.I_HR_Department getHR_Department() throws RuntimeException
public org.eevolution.model.I_HR_Department getHR_Department() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Department.Table_Name);
org.eevolution.model.I_HR_Department result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Department)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Department_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;
}
return (org.eevolution.model.I_HR_Department)MTable.get(getCtx(), org.eevolution.model.I_HR_Department.Table_Name)
.getPO(getHR_Department_ID(), get_TrxName()); }
/** Set Payroll Department.
@param HR_Department_ID Payroll Department */
@ -128,21 +115,10 @@ public class X_HR_List extends PO implements I_HR_List, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_HR_Employee getHR_Employee() throws RuntimeException
public org.eevolution.model.I_HR_Employee getHR_Employee() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Employee.Table_Name);
org.eevolution.model.I_HR_Employee result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Employee)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Employee_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;
}
return (org.eevolution.model.I_HR_Employee)MTable.get(getCtx(), org.eevolution.model.I_HR_Employee.Table_Name)
.getPO(getHR_Employee_ID(), get_TrxName()); }
/** Set Payroll Employee.
@param HR_Employee_ID Payroll Employee */
@ -164,21 +140,30 @@ public class X_HR_List extends PO implements I_HR_List, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_HR_ListType getHR_ListType() throws RuntimeException
/** Set Payroll List.
@param HR_List_ID Payroll List */
public void setHR_List_ID (int HR_List_ID)
{
if (HR_List_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_List_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_List_ID, Integer.valueOf(HR_List_ID));
}
/** Get Payroll List.
@return Payroll List */
public int getHR_List_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_HR_List_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_HR_ListType getHR_ListType() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_ListType.Table_Name);
org.eevolution.model.I_HR_ListType result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_ListType)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_ListType_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;
}
return (org.eevolution.model.I_HR_ListType)MTable.get(getCtx(), org.eevolution.model.I_HR_ListType.Table_Name)
.getPO(getHR_ListType_ID(), get_TrxName()); }
/** Set Payroll List Type.
@param HR_ListType_ID Payroll List Type */
@ -200,40 +185,10 @@ public class X_HR_List extends PO implements I_HR_List, I_Persistent
return ii.intValue();
}
/** Set Payroll List.
@param HR_List_ID Payroll List */
public void setHR_List_ID (int HR_List_ID)
{
if (HR_List_ID < 1)
throw new IllegalArgumentException ("HR_List_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_HR_List_ID, Integer.valueOf(HR_List_ID));
}
/** Get Payroll List.
@return Payroll List */
public int getHR_List_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_HR_List_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_HR_Payroll getHR_Payroll() throws RuntimeException
public org.eevolution.model.I_HR_Payroll getHR_Payroll() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Payroll.Table_Name);
org.eevolution.model.I_HR_Payroll result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Payroll)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Payroll_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;
}
return (org.eevolution.model.I_HR_Payroll)MTable.get(getCtx(), org.eevolution.model.I_HR_Payroll.Table_Name)
.getPO(getHR_Payroll_ID(), get_TrxName()); }
/** Set Payroll.
@param HR_Payroll_ID Payroll */
@ -285,8 +240,6 @@ public class X_HR_List extends PO implements I_HR_List, I_Persistent
*/
public void setName (String Name)
{
if (Name == null)
throw new IllegalArgumentException ("Name is mandatory.");
set_Value (COLUMNNAME_Name, Name);
}

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 *
@ -17,11 +17,9 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.math.BigDecimal;
import java.sql.ResultSet;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import org.compiere.util.Env;
import org.compiere.util.KeyNamePair;
@ -35,7 +33,7 @@ public class X_HR_ListLine extends PO implements I_HR_ListLine, I_Persistent
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_HR_ListLine (Properties ctx, int HR_ListLine_ID, String trxName)
@ -44,6 +42,8 @@ public class X_HR_ListLine extends PO implements I_HR_ListLine, I_Persistent
/** if (HR_ListLine_ID == 0)
{
setHR_ListLine_ID (0);
setMaxValue (Env.ZERO);
setMinValue (Env.ZERO);
} */
}
@ -215,9 +215,10 @@ public class X_HR_ListLine extends PO implements I_HR_ListLine, I_Persistent
@param HR_ListLine_ID Payroll List Line */
public void setHR_ListLine_ID (int HR_ListLine_ID)
{
if (HR_ListLine_ID < 1)
throw new IllegalArgumentException ("HR_ListLine_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_HR_ListLine_ID, Integer.valueOf(HR_ListLine_ID));
if (HR_ListLine_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_ListLine_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_ListLine_ID, Integer.valueOf(HR_ListLine_ID));
}
/** Get Payroll List Line.
@ -230,21 +231,10 @@ public class X_HR_ListLine extends PO implements I_HR_ListLine, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_HR_ListVersion getHR_ListVersion() throws RuntimeException
public org.eevolution.model.I_HR_ListVersion getHR_ListVersion() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_ListVersion.Table_Name);
org.eevolution.model.I_HR_ListVersion result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_ListVersion)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_ListVersion_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;
}
return (org.eevolution.model.I_HR_ListVersion)MTable.get(getCtx(), org.eevolution.model.I_HR_ListVersion.Table_Name)
.getPO(getHR_ListVersion_ID(), get_TrxName()); }
/** Set Payroll List Version.
@param HR_ListVersion_ID Payroll List Version */

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 *
@ -31,7 +31,7 @@ public class X_HR_ListType extends PO implements I_HR_ListType, I_Persistent
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_HR_ListType (Properties ctx, int HR_ListType_ID, String trxName)
@ -93,9 +93,10 @@ public class X_HR_ListType extends PO implements I_HR_ListType, I_Persistent
@param HR_ListType_ID Payroll List Type */
public void setHR_ListType_ID (int HR_ListType_ID)
{
if (HR_ListType_ID < 1)
throw new IllegalArgumentException ("HR_ListType_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_HR_ListType_ID, Integer.valueOf(HR_ListType_ID));
if (HR_ListType_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_ListType_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_ListType_ID, Integer.valueOf(HR_ListType_ID));
}
/** Get Payroll List Type.
@ -114,8 +115,6 @@ public class X_HR_ListType extends PO implements I_HR_ListType, I_Persistent
*/
public void setName (String Name)
{
if (Name == null)
throw new IllegalArgumentException ("Name is mandatory.");
set_Value (COLUMNNAME_Name, Name);
}

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 *
@ -17,11 +17,9 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
@ -34,7 +32,7 @@ public class X_HR_ListVersion extends PO implements I_HR_ListVersion, I_Persiste
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_HR_ListVersion (Properties ctx, int HR_ListVersion_ID, String trxName)
@ -42,9 +40,11 @@ public class X_HR_ListVersion extends PO implements I_HR_ListVersion, I_Persiste
super (ctx, HR_ListVersion_ID, trxName);
/** if (HR_ListVersion_ID == 0)
{
setHR_ListVersion_ID (0);
setHR_List_ID (0);
setHR_ListVersion_ID (0);
setName (null);
setValidFrom (new Timestamp( System.currentTimeMillis() ));
setValidTo (new Timestamp( System.currentTimeMillis() ));
} */
}
@ -93,6 +93,36 @@ public class X_HR_ListVersion extends PO implements I_HR_ListVersion, I_Persiste
return (String)get_Value(COLUMNNAME_Description);
}
public org.eevolution.model.I_HR_List getHR_List() throws RuntimeException
{
return (org.eevolution.model.I_HR_List)MTable.get(getCtx(), org.eevolution.model.I_HR_List.Table_Name)
.getPO(getHR_List_ID(), get_TrxName()); }
/** Set Payroll List.
@param HR_List_ID Payroll List */
public void setHR_List_ID (int HR_List_ID)
{
if (HR_List_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_List_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_List_ID, Integer.valueOf(HR_List_ID));
}
/** Get Payroll List.
@return Payroll List */
public int getHR_List_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_HR_List_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_HR_List getHR_ListBase() throws RuntimeException
{
return (org.eevolution.model.I_HR_List)MTable.get(getCtx(), org.eevolution.model.I_HR_List.Table_Name)
.getPO(getHR_ListBase_ID(), get_TrxName()); }
/** Set Payroll List Base.
@param HR_ListBase_ID Payroll List Base */
public void setHR_ListBase_ID (int HR_ListBase_ID)
@ -117,9 +147,10 @@ public class X_HR_ListVersion extends PO implements I_HR_ListVersion, I_Persiste
@param HR_ListVersion_ID Payroll List Version */
public void setHR_ListVersion_ID (int HR_ListVersion_ID)
{
if (HR_ListVersion_ID < 1)
throw new IllegalArgumentException ("HR_ListVersion_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_HR_ListVersion_ID, Integer.valueOf(HR_ListVersion_ID));
if (HR_ListVersion_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_ListVersion_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_ListVersion_ID, Integer.valueOf(HR_ListVersion_ID));
}
/** Get Payroll List Version.
@ -132,49 +163,12 @@ public class X_HR_ListVersion extends PO implements I_HR_ListVersion, I_Persiste
return ii.intValue();
}
public org.eevolution.model.I_HR_List getHR_List() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_List.Table_Name);
org.eevolution.model.I_HR_List result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_List)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_List_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 Payroll List.
@param HR_List_ID Payroll List */
public void setHR_List_ID (int HR_List_ID)
{
if (HR_List_ID < 1)
throw new IllegalArgumentException ("HR_List_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_HR_List_ID, Integer.valueOf(HR_List_ID));
}
/** Get Payroll List.
@return Payroll List */
public int getHR_List_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_HR_List_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Name.
@param Name
Alphanumeric identifier of the entity
*/
public void setName (String Name)
{
if (Name == null)
throw new IllegalArgumentException ("Name is mandatory.");
set_Value (COLUMNNAME_Name, Name);
}

View File

@ -17,12 +17,10 @@
/** 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;
@ -102,21 +100,10 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent
return ii.intValue();
}
public I_AD_Rule getAD_Rule() throws RuntimeException
public I_AD_Rule getAD_Rule() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_Rule.Table_Name);
I_AD_Rule result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_Rule)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_Rule_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;
}
return (I_AD_Rule)MTable.get(getCtx(), I_AD_Rule.Table_Name)
.getPO(getAD_Rule_ID(), get_TrxName()); }
/** Set Rule.
@param AD_Rule_ID Rule */
@ -158,21 +145,10 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent
return bd;
}
public I_C_Activity getC_Activity() throws RuntimeException
public I_C_Activity getC_Activity() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Activity.Table_Name);
I_C_Activity result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Activity)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Activity_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;
}
return (I_C_Activity)MTable.get(getCtx(), I_C_Activity.Table_Name)
.getPO(getC_Activity_ID(), get_TrxName()); }
/** Set Activity.
@param C_Activity_ID
@ -197,21 +173,10 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent
return ii.intValue();
}
public I_C_BPartner getC_BPartner() throws RuntimeException
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;
}
return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name)
.getPO(getC_BPartner_ID(), get_TrxName()); }
/** Set Business Partner .
@param C_BPartner_ID
@ -236,21 +201,10 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent
return ii.intValue();
}
public I_C_Campaign getC_Campaign() throws RuntimeException
public I_C_Campaign getC_Campaign() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Campaign.Table_Name);
I_C_Campaign result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Campaign)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Campaign_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;
}
return (I_C_Campaign)MTable.get(getCtx(), I_C_Campaign.Table_Name)
.getPO(getC_Campaign_ID(), get_TrxName()); }
/** Set Campaign.
@param C_Campaign_ID
@ -275,21 +229,38 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent
return ii.intValue();
}
public I_C_ProjectPhase getC_ProjectPhase() throws RuntimeException
public I_C_Project getC_Project() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_ProjectPhase.Table_Name);
I_C_ProjectPhase result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_ProjectPhase)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_ProjectPhase_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;
}
return (I_C_Project)MTable.get(getCtx(), I_C_Project.Table_Name)
.getPO(getC_Project_ID(), get_TrxName()); }
/** Set Project.
@param C_Project_ID
Financial Project
*/
public void setC_Project_ID (int C_Project_ID)
{
if (C_Project_ID < 1)
set_Value (COLUMNNAME_C_Project_ID, null);
else
set_Value (COLUMNNAME_C_Project_ID, Integer.valueOf(C_Project_ID));
}
/** Get Project.
@return Financial Project
*/
public int getC_Project_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_Project_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ProjectPhase getC_ProjectPhase() throws RuntimeException
{
return (I_C_ProjectPhase)MTable.get(getCtx(), I_C_ProjectPhase.Table_Name)
.getPO(getC_ProjectPhase_ID(), get_TrxName()); }
/** Set Project Phase.
@param C_ProjectPhase_ID
@ -314,21 +285,10 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent
return ii.intValue();
}
public I_C_ProjectTask getC_ProjectTask() throws RuntimeException
public I_C_ProjectTask getC_ProjectTask() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_ProjectTask.Table_Name);
I_C_ProjectTask result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_ProjectTask)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_ProjectTask_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;
}
return (I_C_ProjectTask)MTable.get(getCtx(), I_C_ProjectTask.Table_Name)
.getPO(getC_ProjectTask_ID(), get_TrxName()); }
/** Set Project Task.
@param C_ProjectTask_ID
@ -353,45 +313,6 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent
return ii.intValue();
}
public I_C_Project getC_Project() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Project.Table_Name);
I_C_Project result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Project)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Project_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 Project.
@param C_Project_ID
Financial Project
*/
public void setC_Project_ID (int C_Project_ID)
{
if (C_Project_ID < 1)
set_Value (COLUMNNAME_C_Project_ID, null);
else
set_Value (COLUMNNAME_C_Project_ID, Integer.valueOf(C_Project_ID));
}
/** Get Project.
@return Financial Project
*/
public int getC_Project_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_Project_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** ColumnType AD_Reference_ID=53243 */
public static final int COLUMNTYPE_AD_Reference_ID=53243;
/** Amount = A */
@ -434,21 +355,10 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent
return (String)get_Value(COLUMNNAME_Description);
}
public org.eevolution.model.I_HR_Concept_Category getHR_Concept_Category() throws RuntimeException
public org.eevolution.model.I_HR_Concept_Category getHR_Concept_Category() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Concept_Category.Table_Name);
org.eevolution.model.I_HR_Concept_Category result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Concept_Category)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Concept_Category_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;
}
return (org.eevolution.model.I_HR_Concept_Category)MTable.get(getCtx(), org.eevolution.model.I_HR_Concept_Category.Table_Name)
.getPO(getHR_Concept_Category_ID(), get_TrxName()); }
/** Set Payroll Concept Category.
@param HR_Concept_Category_ID Payroll Concept Category */
@ -470,29 +380,19 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_HR_Concept getHR_Concept() throws RuntimeException
public org.eevolution.model.I_HR_Concept getHR_Concept() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Concept.Table_Name);
org.eevolution.model.I_HR_Concept result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Concept)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Concept_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;
}
return (org.eevolution.model.I_HR_Concept)MTable.get(getCtx(), org.eevolution.model.I_HR_Concept.Table_Name)
.getPO(getHR_Concept_ID(), get_TrxName()); }
/** Set Payroll Concept.
@param HR_Concept_ID Payroll Concept */
public void setHR_Concept_ID (int HR_Concept_ID)
{
if (HR_Concept_ID < 1)
throw new IllegalArgumentException ("HR_Concept_ID is mandatory.");
set_Value (COLUMNNAME_HR_Concept_ID, Integer.valueOf(HR_Concept_ID));
if (HR_Concept_ID < 1)
set_Value (COLUMNNAME_HR_Concept_ID, null);
else
set_Value (COLUMNNAME_HR_Concept_ID, Integer.valueOf(HR_Concept_ID));
}
/** Get Payroll Concept.
@ -505,21 +405,10 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_HR_Department getHR_Department() throws RuntimeException
public org.eevolution.model.I_HR_Department getHR_Department() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Department.Table_Name);
org.eevolution.model.I_HR_Department result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Department)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Department_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;
}
return (org.eevolution.model.I_HR_Department)MTable.get(getCtx(), org.eevolution.model.I_HR_Department.Table_Name)
.getPO(getHR_Department_ID(), get_TrxName()); }
/** Set Payroll Department.
@param HR_Department_ID Payroll Department */
@ -541,21 +430,10 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_HR_Job getHR_Job() throws RuntimeException
public org.eevolution.model.I_HR_Job getHR_Job() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Job.Table_Name);
org.eevolution.model.I_HR_Job result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Job)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Job_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;
}
return (org.eevolution.model.I_HR_Job)MTable.get(getCtx(), org.eevolution.model.I_HR_Job.Table_Name)
.getPO(getHR_Job_ID(), get_TrxName()); }
/** Set Payroll Job.
@param HR_Job_ID Payroll Job */
@ -581,9 +459,10 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent
@param HR_Movement_ID Payroll Movement */
public void setHR_Movement_ID (int HR_Movement_ID)
{
if (HR_Movement_ID < 1)
throw new IllegalArgumentException ("HR_Movement_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_HR_Movement_ID, Integer.valueOf(HR_Movement_ID));
if (HR_Movement_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_Movement_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_Movement_ID, Integer.valueOf(HR_Movement_ID));
}
/** Get Payroll Movement.
@ -596,21 +475,10 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_HR_Process getHR_Process() throws RuntimeException
public org.eevolution.model.I_HR_Process getHR_Process() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Process.Table_Name);
org.eevolution.model.I_HR_Process result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Process)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Process_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;
}
return (org.eevolution.model.I_HR_Process)MTable.get(getCtx(), org.eevolution.model.I_HR_Process.Table_Name)
.getPO(getHR_Process_ID(), get_TrxName()); }
/** Set Payroll Process.
@param HR_Process_ID Payroll Process */
@ -688,21 +556,10 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent
return false;
}
public org.eevolution.model.I_PP_Cost_Collector getPP_Cost_Collector() throws RuntimeException
public org.eevolution.model.I_PP_Cost_Collector getPP_Cost_Collector() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Cost_Collector.Table_Name);
org.eevolution.model.I_PP_Cost_Collector result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_PP_Cost_Collector)constructor.newInstance(new Object[] {getCtx(), new Integer(getPP_Cost_Collector_ID()), get_TrxName()});
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw new RuntimeException( e );
}
return result;
}
return (org.eevolution.model.I_PP_Cost_Collector)MTable.get(getCtx(), org.eevolution.model.I_PP_Cost_Collector.Table_Name)
.getPO(getPP_Cost_Collector_ID(), get_TrxName()); }
/** Set Manufacturing Cost Collector.
@param PP_Cost_Collector_ID Manufacturing Cost Collector */
@ -802,6 +659,11 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent
return (String)get_Value(COLUMNNAME_TextMsg);
}
public I_C_ElementValue getUser1() throws RuntimeException
{
return (I_C_ElementValue)MTable.get(getCtx(), I_C_ElementValue.Table_Name)
.getPO(getUser1_ID(), get_TrxName()); }
/** Set User List 1.
@param User1_ID
User defined list element #1
@ -825,6 +687,11 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent
return ii.intValue();
}
public I_C_ElementValue getUser2() throws RuntimeException
{
return (I_C_ElementValue)MTable.get(getCtx(), I_C_ElementValue.Table_Name)
.getPO(getUser2_ID(), get_TrxName()); }
/** Set User List 2.
@param User2_ID
User defined list element #2
@ -854,8 +721,6 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent
*/
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 *
@ -17,10 +17,8 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.sql.ResultSet;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
@ -33,7 +31,7 @@ public class X_HR_Payroll extends PO implements I_HR_Payroll, I_Persistent
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_HR_Payroll (Properties ctx, int HR_Payroll_ID, String trxName)
@ -76,21 +74,10 @@ public class X_HR_Payroll extends PO implements I_HR_Payroll, I_Persistent
return sb.toString();
}
public I_AD_PrintFormat getAD_PrintFormat() throws RuntimeException
public I_AD_PrintFormat getAD_PrintFormat() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_PrintFormat.Table_Name);
I_AD_PrintFormat result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_PrintFormat)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_PrintFormat_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;
}
return (I_AD_PrintFormat)MTable.get(getCtx(), I_AD_PrintFormat.Table_Name)
.getPO(getAD_PrintFormat_ID(), get_TrxName()); }
/** Set Print Format.
@param AD_PrintFormat_ID
@ -115,21 +102,10 @@ public class X_HR_Payroll extends PO implements I_HR_Payroll, I_Persistent
return ii.intValue();
}
public I_C_Charge getC_Charge() throws RuntimeException
public I_C_Charge getC_Charge() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Charge.Table_Name);
I_C_Charge result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Charge)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Charge_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;
}
return (I_C_Charge)MTable.get(getCtx(), I_C_Charge.Table_Name)
.getPO(getC_Charge_ID(), get_TrxName()); }
/** Set Charge.
@param C_Charge_ID
@ -171,29 +147,19 @@ public class X_HR_Payroll extends PO implements I_HR_Payroll, I_Persistent
return (String)get_Value(COLUMNNAME_Description);
}
public org.eevolution.model.I_HR_Contract getHR_Contract() throws RuntimeException
public org.eevolution.model.I_HR_Contract getHR_Contract() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Contract.Table_Name);
org.eevolution.model.I_HR_Contract result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Contract)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Contract_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;
}
return (org.eevolution.model.I_HR_Contract)MTable.get(getCtx(), org.eevolution.model.I_HR_Contract.Table_Name)
.getPO(getHR_Contract_ID(), get_TrxName()); }
/** Set Payroll Contract.
@param HR_Contract_ID Payroll Contract */
public void setHR_Contract_ID (int HR_Contract_ID)
{
if (HR_Contract_ID < 1)
throw new IllegalArgumentException ("HR_Contract_ID is mandatory.");
set_Value (COLUMNNAME_HR_Contract_ID, Integer.valueOf(HR_Contract_ID));
if (HR_Contract_ID < 1)
set_Value (COLUMNNAME_HR_Contract_ID, null);
else
set_Value (COLUMNNAME_HR_Contract_ID, Integer.valueOf(HR_Contract_ID));
}
/** Get Payroll Contract.
@ -210,9 +176,10 @@ public class X_HR_Payroll extends PO implements I_HR_Payroll, I_Persistent
@param HR_Payroll_ID Payroll */
public void setHR_Payroll_ID (int HR_Payroll_ID)
{
if (HR_Payroll_ID < 1)
throw new IllegalArgumentException ("HR_Payroll_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_HR_Payroll_ID, Integer.valueOf(HR_Payroll_ID));
if (HR_Payroll_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_Payroll_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_Payroll_ID, Integer.valueOf(HR_Payroll_ID));
}
/** Get Payroll.
@ -231,8 +198,6 @@ public class X_HR_Payroll extends PO implements I_HR_Payroll, I_Persistent
*/
public void setName (String Name)
{
if (Name == null)
throw new IllegalArgumentException ("Name is mandatory.");
set_Value (COLUMNNAME_Name, Name);
}
@ -272,9 +237,6 @@ public class X_HR_Payroll extends PO implements I_HR_Payroll, I_Persistent
*/
public void setPaymentRule (String PaymentRule)
{
if (PaymentRule == null) throw new IllegalArgumentException ("PaymentRule is mandatory");
if (PaymentRule.equals("C") || PaymentRule.equals("K") || PaymentRule.equals("A") || PaymentRule.equals("D") || PaymentRule.equals("T") || PaymentRule.equals("X"));
else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=214 - C - K - A - D - T - X");
set_Value (COLUMNNAME_PaymentRule, PaymentRule);
}

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 *
@ -17,10 +17,8 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.sql.ResultSet;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
@ -33,7 +31,7 @@ public class X_HR_PayrollConcept extends PO implements I_HR_PayrollConcept, I_Pe
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_HR_PayrollConcept (Properties ctx, int HR_PayrollConcept_ID, String trxName)
@ -42,8 +40,8 @@ public class X_HR_PayrollConcept extends PO implements I_HR_PayrollConcept, I_Pe
/** if (HR_PayrollConcept_ID == 0)
{
setHR_Concept_ID (0);
setHR_PayrollConcept_ID (0);
setHR_Payroll_ID (0);
setHR_PayrollConcept_ID (0);
setIsPrinted (false);
// N
} */
@ -77,21 +75,10 @@ public class X_HR_PayrollConcept extends PO implements I_HR_PayrollConcept, I_Pe
return sb.toString();
}
public I_AD_Rule getAD_Rule() throws RuntimeException
public I_AD_Rule getAD_Rule() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_Rule.Table_Name);
I_AD_Rule result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_Rule)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_Rule_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;
}
return (I_AD_Rule)MTable.get(getCtx(), I_AD_Rule.Table_Name)
.getPO(getAD_Rule_ID(), get_TrxName()); }
/** Set Rule.
@param AD_Rule_ID Rule */
@ -113,29 +100,19 @@ public class X_HR_PayrollConcept extends PO implements I_HR_PayrollConcept, I_Pe
return ii.intValue();
}
public org.eevolution.model.I_HR_Concept getHR_Concept() throws RuntimeException
public org.eevolution.model.I_HR_Concept getHR_Concept() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Concept.Table_Name);
org.eevolution.model.I_HR_Concept result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Concept)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Concept_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;
}
return (org.eevolution.model.I_HR_Concept)MTable.get(getCtx(), org.eevolution.model.I_HR_Concept.Table_Name)
.getPO(getHR_Concept_ID(), get_TrxName()); }
/** Set Payroll Concept.
@param HR_Concept_ID Payroll Concept */
public void setHR_Concept_ID (int HR_Concept_ID)
{
if (HR_Concept_ID < 1)
throw new IllegalArgumentException ("HR_Concept_ID is mandatory.");
set_Value (COLUMNNAME_HR_Concept_ID, Integer.valueOf(HR_Concept_ID));
if (HR_Concept_ID < 1)
set_Value (COLUMNNAME_HR_Concept_ID, null);
else
set_Value (COLUMNNAME_HR_Concept_ID, Integer.valueOf(HR_Concept_ID));
}
/** Get Payroll Concept.
@ -148,48 +125,19 @@ public class X_HR_PayrollConcept extends PO implements I_HR_PayrollConcept, I_Pe
return ii.intValue();
}
/** Set Payroll Concept.
@param HR_PayrollConcept_ID Payroll Concept */
public void setHR_PayrollConcept_ID (int HR_PayrollConcept_ID)
{
if (HR_PayrollConcept_ID < 1)
throw new IllegalArgumentException ("HR_PayrollConcept_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_HR_PayrollConcept_ID, Integer.valueOf(HR_PayrollConcept_ID));
}
/** Get Payroll Concept.
@return Payroll Concept */
public int getHR_PayrollConcept_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_HR_PayrollConcept_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_HR_Payroll getHR_Payroll() throws RuntimeException
public org.eevolution.model.I_HR_Payroll getHR_Payroll() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Payroll.Table_Name);
org.eevolution.model.I_HR_Payroll result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Payroll)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Payroll_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;
}
return (org.eevolution.model.I_HR_Payroll)MTable.get(getCtx(), org.eevolution.model.I_HR_Payroll.Table_Name)
.getPO(getHR_Payroll_ID(), get_TrxName()); }
/** Set Payroll.
@param HR_Payroll_ID Payroll */
public void setHR_Payroll_ID (int HR_Payroll_ID)
{
if (HR_Payroll_ID < 1)
throw new IllegalArgumentException ("HR_Payroll_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_HR_Payroll_ID, Integer.valueOf(HR_Payroll_ID));
if (HR_Payroll_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_Payroll_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_Payroll_ID, Integer.valueOf(HR_Payroll_ID));
}
/** Get Payroll.
@ -202,6 +150,26 @@ public class X_HR_PayrollConcept extends PO implements I_HR_PayrollConcept, I_Pe
return ii.intValue();
}
/** Set Payroll Concept.
@param HR_PayrollConcept_ID Payroll Concept */
public void setHR_PayrollConcept_ID (int HR_PayrollConcept_ID)
{
if (HR_PayrollConcept_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_PayrollConcept_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_PayrollConcept_ID, Integer.valueOf(HR_PayrollConcept_ID));
}
/** Get Payroll Concept.
@return Payroll Concept */
public int getHR_PayrollConcept_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_HR_PayrollConcept_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Displayed.
@param IsDisplayed
Determines, if this field is displayed

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 *
@ -17,11 +17,9 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
@ -34,7 +32,7 @@ public class X_HR_Period extends PO implements I_HR_Period, I_Persistent
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_HR_Period (Properties ctx, int HR_Period_ID, String trxName)
@ -81,21 +79,10 @@ public class X_HR_Period extends PO implements I_HR_Period, I_Persistent
return sb.toString();
}
public I_C_Period getC_Period() throws RuntimeException
public I_C_Period getC_Period() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Period.Table_Name);
I_C_Period result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Period)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Period_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;
}
return (I_C_Period)MTable.get(getCtx(), I_C_Period.Table_Name)
.getPO(getC_Period_ID(), get_TrxName()); }
/** Set Period.
@param C_Period_ID
@ -103,9 +90,10 @@ public class X_HR_Period extends PO implements I_HR_Period, I_Persistent
*/
public void setC_Period_ID (int C_Period_ID)
{
if (C_Period_ID < 1)
throw new IllegalArgumentException ("C_Period_ID is mandatory.");
set_Value (COLUMNNAME_C_Period_ID, Integer.valueOf(C_Period_ID));
if (C_Period_ID < 1)
set_Value (COLUMNNAME_C_Period_ID, null);
else
set_Value (COLUMNNAME_C_Period_ID, Integer.valueOf(C_Period_ID));
}
/** Get Period.
@ -119,21 +107,10 @@ public class X_HR_Period extends PO implements I_HR_Period, I_Persistent
return ii.intValue();
}
public I_C_Year getC_Year() throws RuntimeException
public I_C_Year getC_Year() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Year.Table_Name);
I_C_Year result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Year)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Year_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;
}
return (I_C_Year)MTable.get(getCtx(), I_C_Year.Table_Name)
.getPO(getC_Year_ID(), get_TrxName()); }
/** Set Year.
@param C_Year_ID
@ -141,9 +118,10 @@ public class X_HR_Period extends PO implements I_HR_Period, I_Persistent
*/
public void setC_Year_ID (int C_Year_ID)
{
if (C_Year_ID < 1)
throw new IllegalArgumentException ("C_Year_ID is mandatory.");
set_Value (COLUMNNAME_C_Year_ID, Integer.valueOf(C_Year_ID));
if (C_Year_ID < 1)
set_Value (COLUMNNAME_C_Year_ID, null);
else
set_Value (COLUMNNAME_C_Year_ID, Integer.valueOf(C_Year_ID));
}
/** Get Year.
@ -163,8 +141,6 @@ public class X_HR_Period extends PO implements I_HR_Period, I_Persistent
*/
public void setDateAcct (Timestamp DateAcct)
{
if (DateAcct == null)
throw new IllegalArgumentException ("DateAcct is mandatory.");
set_Value (COLUMNNAME_DateAcct, DateAcct);
}
@ -210,29 +186,19 @@ public class X_HR_Period extends PO implements I_HR_Period, I_Persistent
return (Timestamp)get_Value(COLUMNNAME_EndDate);
}
public org.eevolution.model.I_HR_Payroll getHR_Payroll() throws RuntimeException
public org.eevolution.model.I_HR_Payroll getHR_Payroll() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Payroll.Table_Name);
org.eevolution.model.I_HR_Payroll result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Payroll)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Payroll_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;
}
return (org.eevolution.model.I_HR_Payroll)MTable.get(getCtx(), org.eevolution.model.I_HR_Payroll.Table_Name)
.getPO(getHR_Payroll_ID(), get_TrxName()); }
/** Set Payroll.
@param HR_Payroll_ID Payroll */
public void setHR_Payroll_ID (int HR_Payroll_ID)
{
if (HR_Payroll_ID < 1)
throw new IllegalArgumentException ("HR_Payroll_ID is mandatory.");
set_Value (COLUMNNAME_HR_Payroll_ID, Integer.valueOf(HR_Payroll_ID));
if (HR_Payroll_ID < 1)
set_Value (COLUMNNAME_HR_Payroll_ID, null);
else
set_Value (COLUMNNAME_HR_Payroll_ID, Integer.valueOf(HR_Payroll_ID));
}
/** Get Payroll.
@ -249,9 +215,10 @@ public class X_HR_Period extends PO implements I_HR_Period, I_Persistent
@param HR_Period_ID Payroll Period */
public void setHR_Period_ID (int HR_Period_ID)
{
if (HR_Period_ID < 1)
throw new IllegalArgumentException ("HR_Period_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_HR_Period_ID, Integer.valueOf(HR_Period_ID));
if (HR_Period_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_Period_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_Period_ID, Integer.valueOf(HR_Period_ID));
}
/** Get Payroll Period.
@ -264,21 +231,10 @@ public class X_HR_Period extends PO implements I_HR_Period, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_HR_Year getHR_Year() throws RuntimeException
public org.eevolution.model.I_HR_Year getHR_Year() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Year.Table_Name);
org.eevolution.model.I_HR_Year result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Year)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Year_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;
}
return (org.eevolution.model.I_HR_Year)MTable.get(getCtx(), org.eevolution.model.I_HR_Year.Table_Name)
.getPO(getHR_Year_ID(), get_TrxName()); }
/** Set Payroll Year.
@param HR_Year_ID Payroll Year */
@ -306,8 +262,6 @@ public class X_HR_Period extends PO implements I_HR_Period, I_Persistent
*/
public void setName (String Name)
{
if (Name == null)
throw new IllegalArgumentException ("Name is mandatory.");
set_Value (COLUMNNAME_Name, Name);
}
@ -432,8 +386,6 @@ public class X_HR_Period extends PO implements I_HR_Period, I_Persistent
*/
public void setStartDate (Timestamp StartDate)
{
if (StartDate == null)
throw new IllegalArgumentException ("StartDate is mandatory.");
set_Value (COLUMNNAME_StartDate, StartDate);
}

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 *
@ -17,11 +17,9 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
@ -34,7 +32,7 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_HR_Process (Properties ctx, int HR_Process_ID, String trxName)
@ -84,21 +82,10 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent
return sb.toString();
}
public I_AD_PrintFormat getAD_PrintFormat() throws RuntimeException
public I_AD_PrintFormat getAD_PrintFormat() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_PrintFormat.Table_Name);
I_AD_PrintFormat result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_PrintFormat)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_PrintFormat_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;
}
return (I_AD_PrintFormat)MTable.get(getCtx(), I_AD_PrintFormat.Table_Name)
.getPO(getAD_PrintFormat_ID(), get_TrxName()); }
/** Set Print Format.
@param AD_PrintFormat_ID
@ -123,21 +110,10 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent
return ii.intValue();
}
public I_AD_Workflow getAD_Workflow() throws RuntimeException
public I_AD_Workflow getAD_Workflow() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_Workflow.Table_Name);
I_AD_Workflow result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_Workflow)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_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;
}
return (I_AD_Workflow)MTable.get(getCtx(), I_AD_Workflow.Table_Name)
.getPO(getAD_Workflow_ID(), get_TrxName()); }
/** Set Workflow.
@param AD_Workflow_ID
@ -162,21 +138,10 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent
return ii.intValue();
}
public I_C_BPartner getC_BPartner() throws RuntimeException
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;
}
return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name)
.getPO(getC_BPartner_ID(), get_TrxName()); }
/** Set Business Partner .
@param C_BPartner_ID
@ -201,21 +166,10 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent
return ii.intValue();
}
public I_C_Charge getC_Charge() throws RuntimeException
public I_C_Charge getC_Charge() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Charge.Table_Name);
I_C_Charge result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Charge)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Charge_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;
}
return (I_C_Charge)MTable.get(getCtx(), I_C_Charge.Table_Name)
.getPO(getC_Charge_ID(), get_TrxName()); }
/** Set Charge.
@param C_Charge_ID
@ -240,43 +194,10 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent
return ii.intValue();
}
/** Set Target Document Type.
@param C_DocTypeTarget_ID
Target document type for conversing documents
*/
public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID)
{
if (C_DocTypeTarget_ID < 1)
throw new IllegalArgumentException ("C_DocTypeTarget_ID is mandatory.");
set_Value (COLUMNNAME_C_DocTypeTarget_ID, Integer.valueOf(C_DocTypeTarget_ID));
}
/** Get Target Document Type.
@return Target document type for conversing documents
*/
public int getC_DocTypeTarget_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeTarget_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_DocType getC_DocType() throws RuntimeException
public I_C_DocType getC_DocType() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_DocType.Table_Name);
I_C_DocType result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_DocType)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_DocType_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;
}
return (I_C_DocType)MTable.get(getCtx(), I_C_DocType.Table_Name)
.getPO(getC_DocType_ID(), get_TrxName()); }
/** Set Document Type.
@param C_DocType_ID
@ -284,7 +205,7 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent
*/
public void setC_DocType_ID (int C_DocType_ID)
{
if (C_DocType_ID < 1)
if (C_DocType_ID < 0)
set_ValueNoCheck (COLUMNNAME_C_DocType_ID, null);
else
set_ValueNoCheck (COLUMNNAME_C_DocType_ID, Integer.valueOf(C_DocType_ID));
@ -301,21 +222,38 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent
return ii.intValue();
}
public I_C_PaySelection getC_PaySelection() throws RuntimeException
public I_C_DocType getC_DocTypeTarget() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_PaySelection.Table_Name);
I_C_PaySelection result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_PaySelection)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_PaySelection_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;
}
return (I_C_DocType)MTable.get(getCtx(), I_C_DocType.Table_Name)
.getPO(getC_DocTypeTarget_ID(), get_TrxName()); }
/** Set Target Document Type.
@param C_DocTypeTarget_ID
Target document type for conversing documents
*/
public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID)
{
if (C_DocTypeTarget_ID < 1)
set_Value (COLUMNNAME_C_DocTypeTarget_ID, null);
else
set_Value (COLUMNNAME_C_DocTypeTarget_ID, Integer.valueOf(C_DocTypeTarget_ID));
}
/** Get Target Document Type.
@return Target document type for conversing documents
*/
public int getC_DocTypeTarget_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeTarget_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_PaySelection getC_PaySelection() throws RuntimeException
{
return (I_C_PaySelection)MTable.get(getCtx(), I_C_PaySelection.Table_Name)
.getPO(getC_PaySelection_ID(), get_TrxName()); }
/** Set Payment Selection.
@param C_PaySelection_ID
@ -363,8 +301,6 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent
*/
public void setDateAcct (Timestamp DateAcct)
{
if (DateAcct == null)
throw new IllegalArgumentException ("DateAcct is mandatory.");
set_ValueNoCheck (COLUMNNAME_DateAcct, DateAcct);
}
@ -412,9 +348,6 @@ public class X_HR_Process extends PO implements I_HR_Process, 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);
}
@ -459,9 +392,6 @@ public class X_HR_Process extends PO implements I_HR_Process, 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);
}
@ -491,21 +421,10 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent
return (String)get_Value(COLUMNNAME_DocumentNo);
}
public org.eevolution.model.I_HR_Department getHR_Department() throws RuntimeException
public org.eevolution.model.I_HR_Department getHR_Department() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Department.Table_Name);
org.eevolution.model.I_HR_Department result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Department)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Department_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;
}
return (org.eevolution.model.I_HR_Department)MTable.get(getCtx(), org.eevolution.model.I_HR_Department.Table_Name)
.getPO(getHR_Department_ID(), get_TrxName()); }
/** Set Payroll Department.
@param HR_Department_ID Payroll Department */
@ -527,21 +446,10 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_HR_Employee getHR_Employee() throws RuntimeException
public org.eevolution.model.I_HR_Employee getHR_Employee() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Employee.Table_Name);
org.eevolution.model.I_HR_Employee result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Employee)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Employee_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;
}
return (org.eevolution.model.I_HR_Employee)MTable.get(getCtx(), org.eevolution.model.I_HR_Employee.Table_Name)
.getPO(getHR_Employee_ID(), get_TrxName()); }
/** Set Payroll Employee.
@param HR_Employee_ID Payroll Employee */
@ -563,21 +471,10 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_HR_Job getHR_Job() throws RuntimeException
public org.eevolution.model.I_HR_Job getHR_Job() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Job.Table_Name);
org.eevolution.model.I_HR_Job result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Job)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Job_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;
}
return (org.eevolution.model.I_HR_Job)MTable.get(getCtx(), org.eevolution.model.I_HR_Job.Table_Name)
.getPO(getHR_Job_ID(), get_TrxName()); }
/** Set Payroll Job.
@param HR_Job_ID Payroll Job */
@ -599,29 +496,19 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_HR_Payroll getHR_Payroll() throws RuntimeException
public org.eevolution.model.I_HR_Payroll getHR_Payroll() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Payroll.Table_Name);
org.eevolution.model.I_HR_Payroll result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Payroll)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Payroll_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;
}
return (org.eevolution.model.I_HR_Payroll)MTable.get(getCtx(), org.eevolution.model.I_HR_Payroll.Table_Name)
.getPO(getHR_Payroll_ID(), get_TrxName()); }
/** Set Payroll.
@param HR_Payroll_ID Payroll */
public void setHR_Payroll_ID (int HR_Payroll_ID)
{
if (HR_Payroll_ID < 1)
throw new IllegalArgumentException ("HR_Payroll_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_HR_Payroll_ID, Integer.valueOf(HR_Payroll_ID));
if (HR_Payroll_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_Payroll_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_Payroll_ID, Integer.valueOf(HR_Payroll_ID));
}
/** Get Payroll.
@ -634,21 +521,10 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_HR_Period getHR_Period() throws RuntimeException
public org.eevolution.model.I_HR_Period getHR_Period() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Period.Table_Name);
org.eevolution.model.I_HR_Period result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Period)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Period_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;
}
return (org.eevolution.model.I_HR_Period)MTable.get(getCtx(), org.eevolution.model.I_HR_Period.Table_Name)
.getPO(getHR_Period_ID(), get_TrxName()); }
/** Set Payroll Period.
@param HR_Period_ID Payroll Period */
@ -696,8 +572,6 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent
*/
public void setName (String Name)
{
if (Name == null)
throw new IllegalArgumentException ("Name is mandatory.");
set_Value (COLUMNNAME_Name, Name);
}
@ -786,6 +660,11 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent
return false;
}
public org.eevolution.model.I_HR_Process getReversal() throws RuntimeException
{
return (org.eevolution.model.I_HR_Process)MTable.get(getCtx(), org.eevolution.model.I_HR_Process.Table_Name)
.getPO(getReversal_ID(), get_TrxName()); }
/** Set Reversal ID.
@param Reversal_ID
ID of document reversal

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 *
@ -17,11 +17,9 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
/** Generated Model for HR_Year
@ -33,7 +31,7 @@ public class X_HR_Year extends PO implements I_HR_Year, I_Persistent
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_HR_Year (Properties ctx, int HR_Year_ID, String trxName)
@ -78,21 +76,10 @@ public class X_HR_Year extends PO implements I_HR_Year, I_Persistent
return sb.toString();
}
public I_C_Year getC_Year() throws RuntimeException
public I_C_Year getC_Year() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Year.Table_Name);
I_C_Year result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Year)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Year_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;
}
return (I_C_Year)MTable.get(getCtx(), I_C_Year.Table_Name)
.getPO(getC_Year_ID(), get_TrxName()); }
/** Set Year.
@param C_Year_ID
@ -100,9 +87,10 @@ public class X_HR_Year extends PO implements I_HR_Year, I_Persistent
*/
public void setC_Year_ID (int C_Year_ID)
{
if (C_Year_ID < 1)
throw new IllegalArgumentException ("C_Year_ID is mandatory.");
set_Value (COLUMNNAME_C_Year_ID, Integer.valueOf(C_Year_ID));
if (C_Year_ID < 1)
set_Value (COLUMNNAME_C_Year_ID, null);
else
set_Value (COLUMNNAME_C_Year_ID, Integer.valueOf(C_Year_ID));
}
/** Get Year.
@ -116,29 +104,19 @@ public class X_HR_Year extends PO implements I_HR_Year, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_HR_Payroll getHR_Payroll() throws RuntimeException
public org.eevolution.model.I_HR_Payroll getHR_Payroll() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_HR_Payroll.Table_Name);
org.eevolution.model.I_HR_Payroll result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_HR_Payroll)constructor.newInstance(new Object[] {getCtx(), new Integer(getHR_Payroll_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;
}
return (org.eevolution.model.I_HR_Payroll)MTable.get(getCtx(), org.eevolution.model.I_HR_Payroll.Table_Name)
.getPO(getHR_Payroll_ID(), get_TrxName()); }
/** Set Payroll.
@param HR_Payroll_ID Payroll */
public void setHR_Payroll_ID (int HR_Payroll_ID)
{
if (HR_Payroll_ID < 1)
throw new IllegalArgumentException ("HR_Payroll_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_HR_Payroll_ID, Integer.valueOf(HR_Payroll_ID));
if (HR_Payroll_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_Payroll_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_Payroll_ID, Integer.valueOf(HR_Payroll_ID));
}
/** Get Payroll.
@ -155,9 +133,10 @@ public class X_HR_Year extends PO implements I_HR_Year, I_Persistent
@param HR_Year_ID Payroll Year */
public void setHR_Year_ID (int HR_Year_ID)
{
if (HR_Year_ID < 1)
throw new IllegalArgumentException ("HR_Year_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_HR_Year_ID, Integer.valueOf(HR_Year_ID));
if (HR_Year_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_Year_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_Year_ID, Integer.valueOf(HR_Year_ID));
}
/** Get Payroll Year.
@ -261,8 +240,6 @@ public class X_HR_Year extends PO implements I_HR_Year, I_Persistent
*/
public void setStartDate (Timestamp StartDate)
{
if (StartDate == null)
throw new IllegalArgumentException ("StartDate is mandatory.");
set_Value (COLUMNNAME_StartDate, StartDate);
}

View File

@ -17,12 +17,10 @@
/** 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;
@ -44,9 +42,9 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
super (ctx, PP_Cost_Collector_ID, trxName);
/** if (PP_Cost_Collector_ID == 0)
{
setC_DocTypeTarget_ID (0);
setC_DocType_ID (0);
// 0
setC_DocTypeTarget_ID (0);
setCostCollectorType (null);
setDateAcct (new Timestamp( System.currentTimeMillis() ));
// @#Date@
@ -57,9 +55,9 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
// @#Date@
setMovementQty (Env.ZERO);
// 0
setPosted (false);
setPP_Cost_Collector_ID (0);
setPP_Order_ID (0);
setPosted (false);
setProcessed (false);
setS_Resource_ID (0);
} */
@ -116,21 +114,10 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public I_AD_User getAD_User() throws RuntimeException
public I_AD_User getAD_User() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_User.Table_Name);
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;
}
return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name)
.getPO(getAD_User_ID(), get_TrxName()); }
/** Set User/Contact.
@param AD_User_ID
@ -155,21 +142,10 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public I_C_Activity getC_Activity() throws RuntimeException
public I_C_Activity getC_Activity() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Activity.Table_Name);
I_C_Activity result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Activity)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Activity_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;
}
return (I_C_Activity)MTable.get(getCtx(), I_C_Activity.Table_Name)
.getPO(getC_Activity_ID(), get_TrxName()); }
/** Set Activity.
@param C_Activity_ID
@ -194,21 +170,10 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public I_C_Campaign getC_Campaign() throws RuntimeException
public I_C_Campaign getC_Campaign() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Campaign.Table_Name);
I_C_Campaign result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Campaign)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Campaign_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;
}
return (I_C_Campaign)MTable.get(getCtx(), I_C_Campaign.Table_Name)
.getPO(getC_Campaign_ID(), get_TrxName()); }
/** Set Campaign.
@param C_Campaign_ID
@ -233,29 +198,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
/** Set Target Document Type.
@param C_DocTypeTarget_ID
Target document type for conversing documents
*/
public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID)
{
if (C_DocTypeTarget_ID < 1)
set_ValueNoCheck (COLUMNNAME_C_DocTypeTarget_ID, null);
else
set_ValueNoCheck (COLUMNNAME_C_DocTypeTarget_ID, Integer.valueOf(C_DocTypeTarget_ID));
}
/** Get Target Document Type.
@return Target document type for conversing documents
*/
public int getC_DocTypeTarget_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeTarget_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Document Type.
@param C_DocType_ID
Document type or rules
@ -279,21 +221,38 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public I_C_Project getC_Project() throws RuntimeException
public I_C_DocType getC_DocTypeTarget() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Project.Table_Name);
I_C_Project result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Project)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Project_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;
}
return (I_C_DocType)MTable.get(getCtx(), I_C_DocType.Table_Name)
.getPO(getC_DocTypeTarget_ID(), get_TrxName()); }
/** Set Target Document Type.
@param C_DocTypeTarget_ID
Target document type for conversing documents
*/
public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID)
{
if (C_DocTypeTarget_ID < 1)
set_ValueNoCheck (COLUMNNAME_C_DocTypeTarget_ID, null);
else
set_ValueNoCheck (COLUMNNAME_C_DocTypeTarget_ID, Integer.valueOf(C_DocTypeTarget_ID));
}
/** Get Target Document Type.
@return Target document type for conversing documents
*/
public int getC_DocTypeTarget_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeTarget_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_Project getC_Project() throws RuntimeException
{
return (I_C_Project)MTable.get(getCtx(), I_C_Project.Table_Name)
.getPO(getC_Project_ID(), get_TrxName()); }
/** Set Project.
@param C_Project_ID
@ -318,21 +277,10 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public I_C_UOM getC_UOM() throws RuntimeException
public I_C_UOM getC_UOM() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_UOM.Table_Name);
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;
}
return (I_C_UOM)MTable.get(getCtx(), I_C_UOM.Table_Name)
.getPO(getC_UOM_ID(), get_TrxName()); }
/** Set UOM.
@param C_UOM_ID
@ -593,6 +541,11 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return false;
}
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException
{
return (I_M_AttributeSetInstance)MTable.get(getCtx(), I_M_AttributeSetInstance.Table_Name)
.getPO(getM_AttributeSetInstance_ID(), get_TrxName()); }
/** Set Attribute Set Instance.
@param M_AttributeSetInstance_ID
Product Attribute Set Instance
@ -616,6 +569,11 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public I_M_Locator getM_Locator() throws RuntimeException
{
return (I_M_Locator)MTable.get(getCtx(), I_M_Locator.Table_Name)
.getPO(getM_Locator_ID(), get_TrxName()); }
/** Set Locator.
@param M_Locator_ID
Warehouse Locator
@ -639,21 +597,10 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public I_M_Product getM_Product() throws RuntimeException
public I_M_Product getM_Product() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_Product.Table_Name);
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;
}
return (I_M_Product)MTable.get(getCtx(), I_M_Product.Table_Name)
.getPO(getM_Product_ID(), get_TrxName()); }
/** Set Product.
@param M_Product_ID
@ -686,21 +633,10 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return new KeyNamePair(get_ID(), String.valueOf(getM_Product_ID()));
}
public I_M_Warehouse getM_Warehouse() throws RuntimeException
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;
}
return (I_M_Warehouse)MTable.get(getCtx(), I_M_Warehouse.Table_Name)
.getPO(getM_Warehouse_ID(), get_TrxName()); }
/** Set Warehouse.
@param M_Warehouse_ID
@ -762,170 +698,6 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return bd;
}
/** Set Manufacturing Cost Collector.
@param PP_Cost_Collector_ID Manufacturing Cost Collector */
public void setPP_Cost_Collector_ID (int PP_Cost_Collector_ID)
{
if (PP_Cost_Collector_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Cost_Collector_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Cost_Collector_ID, Integer.valueOf(PP_Cost_Collector_ID));
}
/** Get Manufacturing Cost Collector.
@return Manufacturing Cost Collector */
public int getPP_Cost_Collector_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Cost_Collector_ID);
if (ii == null)
return 0;
return ii.intValue();
}
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 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();
}
/** Set Posted.
@param Posted
Posting status
@ -950,6 +722,126 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return false;
}
/** Set Manufacturing Cost Collector.
@param PP_Cost_Collector_ID Manufacturing Cost Collector */
public void setPP_Cost_Collector_ID (int PP_Cost_Collector_ID)
{
if (PP_Cost_Collector_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Cost_Collector_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Cost_Collector_ID, Integer.valueOf(PP_Cost_Collector_ID));
}
/** Get Manufacturing Cost Collector.
@return Manufacturing Cost Collector */
public int getPP_Cost_Collector_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Cost_Collector_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_PP_Order_BOMLine getPP_Order_BOMLine() throws RuntimeException
{
return (org.eevolution.model.I_PP_Order_BOMLine)MTable.get(getCtx(), org.eevolution.model.I_PP_Order_BOMLine.Table_Name)
.getPO(getPP_Order_BOMLine_ID(), get_TrxName()); }
/** 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 getPP_Order() throws RuntimeException
{
return (org.eevolution.model.I_PP_Order)MTable.get(getCtx(), org.eevolution.model.I_PP_Order.Table_Name)
.getPO(getPP_Order_ID(), get_TrxName()); }
/** 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
{
return (org.eevolution.model.I_PP_Order_Node)MTable.get(getCtx(), org.eevolution.model.I_PP_Order_Node.Table_Name)
.getPO(getPP_Order_Node_ID(), get_TrxName()); }
/** 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
{
return (org.eevolution.model.I_PP_Order_Workflow)MTable.get(getCtx(), org.eevolution.model.I_PP_Order_Workflow.Table_Name)
.getPO(getPP_Order_Workflow_ID(), get_TrxName()); }
/** 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();
}
/** Set Processed.
@param Processed
The document has been processed
@ -1012,6 +904,11 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return bd;
}
public org.eevolution.model.I_PP_Cost_Collector getReversal() throws RuntimeException
{
return (org.eevolution.model.I_PP_Cost_Collector)MTable.get(getCtx(), org.eevolution.model.I_PP_Cost_Collector.Table_Name)
.getPO(getReversal_ID(), get_TrxName()); }
/** Set Reversal ID.
@param Reversal_ID
ID of document reversal
@ -1035,21 +932,10 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public I_S_Resource getS_Resource() throws RuntimeException
public I_S_Resource getS_Resource() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_S_Resource.Table_Name);
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;
}
return (I_S_Resource)MTable.get(getCtx(), I_S_Resource.Table_Name)
.getPO(getS_Resource_ID(), get_TrxName()); }
/** Set Resource.
@param S_Resource_ID
@ -1111,6 +997,11 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return bd;
}
public I_AD_User getUser1() throws RuntimeException
{
return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name)
.getPO(getUser1_ID(), get_TrxName()); }
/** Set User List 1.
@param User1_ID
User defined list element #1
@ -1134,6 +1025,11 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe
return ii.intValue();
}
public I_AD_User getUser2() throws RuntimeException
{
return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name)
.getPO(getUser2_ID(), get_TrxName()); }
/** Set User List 2.
@param User2_ID
User defined list element #2

View File

@ -17,11 +17,9 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.math.BigDecimal;
import java.sql.ResultSet;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import org.compiere.util.Env;
@ -44,8 +42,8 @@ public class X_PP_Cost_CollectorMA extends PO implements I_PP_Cost_CollectorMA,
{
setM_AttributeSetInstance_ID (0);
setMovementQty (Env.ZERO);
setPP_Cost_CollectorMA_ID (0);
setPP_Cost_Collector_ID (0);
setPP_Cost_CollectorMA_ID (0);
} */
}
@ -77,6 +75,11 @@ public class X_PP_Cost_CollectorMA extends PO implements I_PP_Cost_CollectorMA,
return sb.toString();
}
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException
{
return (I_M_AttributeSetInstance)MTable.get(getCtx(), I_M_AttributeSetInstance.Table_Name)
.getPO(getM_AttributeSetInstance_ID(), get_TrxName()); }
/** Set Attribute Set Instance.
@param M_AttributeSetInstance_ID
Product Attribute Set Instance
@ -120,41 +123,10 @@ public class X_PP_Cost_CollectorMA extends PO implements I_PP_Cost_CollectorMA,
return bd;
}
/** Set Manufacturing Order MA.
@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)
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.
@return Manufacturing Order MA */
public int getPP_Cost_CollectorMA_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Cost_CollectorMA_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_PP_Cost_Collector getPP_Cost_Collector() throws RuntimeException
public org.eevolution.model.I_PP_Cost_Collector getPP_Cost_Collector() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Cost_Collector.Table_Name);
org.eevolution.model.I_PP_Cost_Collector result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_PP_Cost_Collector)constructor.newInstance(new Object[] {getCtx(), new Integer(getPP_Cost_Collector_ID()), get_TrxName()});
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw new RuntimeException( e );
}
return result;
}
return (org.eevolution.model.I_PP_Cost_Collector)MTable.get(getCtx(), org.eevolution.model.I_PP_Cost_Collector.Table_Name)
.getPO(getPP_Cost_Collector_ID(), get_TrxName()); }
/** Set Manufacturing Cost Collector.
@param PP_Cost_Collector_ID Manufacturing Cost Collector */
@ -175,4 +147,24 @@ public class X_PP_Cost_CollectorMA extends PO implements I_PP_Cost_CollectorMA,
return 0;
return ii.intValue();
}
/** Set Manufacturing Order MA.
@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)
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.
@return Manufacturing Order MA */
public int getPP_Cost_CollectorMA_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Cost_CollectorMA_ID);
if (ii == null)
return 0;
return ii.intValue();
}
}

View File

@ -17,12 +17,10 @@
/** 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;
@ -80,21 +78,10 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
return sb.toString();
}
public I_C_BPartner getC_BPartner() throws RuntimeException
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;
}
return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name)
.getPO(getC_BPartner_ID(), get_TrxName()); }
/** Set Business Partner .
@param C_BPartner_ID
@ -119,60 +106,10 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
return ii.intValue();
}
public I_C_OrderLine getC_OrderLine() throws RuntimeException
public I_C_Order getC_Order() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_OrderLine.Table_Name);
I_C_OrderLine result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_OrderLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_OrderLine_ID()), get_TrxName()});
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw new RuntimeException( e );
}
return result;
}
/** Set Sales Order Line.
@param C_OrderLine_ID
Sales Order Line
*/
public void setC_OrderLine_ID (int C_OrderLine_ID)
{
if (C_OrderLine_ID < 1)
set_Value (COLUMNNAME_C_OrderLine_ID, null);
else
set_Value (COLUMNNAME_C_OrderLine_ID, Integer.valueOf(C_OrderLine_ID));
}
/** Get Sales Order Line.
@return Sales Order Line
*/
public int getC_OrderLine_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_OrderLine_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_Order getC_Order() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Order.Table_Name);
I_C_Order result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Order)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_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;
}
return (I_C_Order)MTable.get(getCtx(), I_C_Order.Table_Name)
.getPO(getC_Order_ID(), get_TrxName()); }
/** Set Order.
@param C_Order_ID
@ -197,73 +134,29 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_DD_OrderLine getDD_OrderLine() throws RuntimeException
public I_C_OrderLine getC_OrderLine() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_DD_OrderLine.Table_Name);
org.eevolution.model.I_DD_OrderLine result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_DD_OrderLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getDD_OrderLine_ID()), get_TrxName()});
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw new RuntimeException( e );
}
return result;
}
return (I_C_OrderLine)MTable.get(getCtx(), I_C_OrderLine.Table_Name)
.getPO(getC_OrderLine_ID(), get_TrxName()); }
/** Set Distribution Order Line.
@param DD_OrderLine_ID Distribution Order Line */
public void setDD_OrderLine_ID (int DD_OrderLine_ID)
/** Set Sales Order Line.
@param C_OrderLine_ID
Sales Order Line
*/
public void setC_OrderLine_ID (int C_OrderLine_ID)
{
if (DD_OrderLine_ID < 1)
set_Value (COLUMNNAME_DD_OrderLine_ID, null);
if (C_OrderLine_ID < 1)
set_Value (COLUMNNAME_C_OrderLine_ID, null);
else
set_Value (COLUMNNAME_DD_OrderLine_ID, Integer.valueOf(DD_OrderLine_ID));
set_Value (COLUMNNAME_C_OrderLine_ID, Integer.valueOf(C_OrderLine_ID));
}
/** Get Distribution Order Line.
@return Distribution Order Line */
public int getDD_OrderLine_ID ()
/** Get Sales Order Line.
@return Sales Order Line
*/
public int getC_OrderLine_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DD_OrderLine_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_DD_Order getDD_Order() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_DD_Order.Table_Name);
org.eevolution.model.I_DD_Order result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_DD_Order)constructor.newInstance(new Object[] {getCtx(), new Integer(getDD_Order_ID()), get_TrxName()});
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw new RuntimeException( e );
}
return result;
}
/** Set Distribution Order.
@param DD_Order_ID Distribution Order */
public void setDD_Order_ID (int DD_Order_ID)
{
if (DD_Order_ID < 1)
set_Value (COLUMNNAME_DD_Order_ID, null);
else
set_Value (COLUMNNAME_DD_Order_ID, Integer.valueOf(DD_Order_ID));
}
/** Get Distribution Order.
@return Distribution Order */
public int getDD_Order_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DD_Order_ID);
Integer ii = (Integer)get_Value(COLUMNNAME_C_OrderLine_ID);
if (ii == null)
return 0;
return ii.intValue();
@ -373,6 +266,56 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
return (Timestamp)get_Value(COLUMNNAME_DateStartSchedule);
}
public org.eevolution.model.I_DD_Order getDD_Order() throws RuntimeException
{
return (org.eevolution.model.I_DD_Order)MTable.get(getCtx(), org.eevolution.model.I_DD_Order.Table_Name)
.getPO(getDD_Order_ID(), get_TrxName()); }
/** Set Distribution Order.
@param DD_Order_ID Distribution Order */
public void setDD_Order_ID (int DD_Order_ID)
{
if (DD_Order_ID < 1)
set_Value (COLUMNNAME_DD_Order_ID, null);
else
set_Value (COLUMNNAME_DD_Order_ID, Integer.valueOf(DD_Order_ID));
}
/** Get Distribution Order.
@return Distribution Order */
public int getDD_Order_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DD_Order_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_DD_OrderLine getDD_OrderLine() throws RuntimeException
{
return (org.eevolution.model.I_DD_OrderLine)MTable.get(getCtx(), org.eevolution.model.I_DD_OrderLine.Table_Name)
.getPO(getDD_OrderLine_ID(), get_TrxName()); }
/** Set Distribution Order Line.
@param DD_OrderLine_ID Distribution Order Line */
public void setDD_OrderLine_ID (int DD_OrderLine_ID)
{
if (DD_OrderLine_ID < 1)
set_Value (COLUMNNAME_DD_OrderLine_ID, null);
else
set_Value (COLUMNNAME_DD_OrderLine_ID, Integer.valueOf(DD_OrderLine_ID));
}
/** Get Distribution Order Line.
@return Distribution Order Line */
public int getDD_OrderLine_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DD_OrderLine_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Description.
@param Description
Optional short description of the record
@ -458,60 +401,10 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
return false;
}
public I_M_ForecastLine getM_ForecastLine() throws RuntimeException
public I_M_Forecast getM_Forecast() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_ForecastLine.Table_Name);
I_M_ForecastLine result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_M_ForecastLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_ForecastLine_ID()), get_TrxName()});
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw new RuntimeException( e );
}
return result;
}
/** Set Forecast Line.
@param M_ForecastLine_ID
Forecast Line
*/
public void setM_ForecastLine_ID (int M_ForecastLine_ID)
{
if (M_ForecastLine_ID < 1)
set_Value (COLUMNNAME_M_ForecastLine_ID, null);
else
set_Value (COLUMNNAME_M_ForecastLine_ID, Integer.valueOf(M_ForecastLine_ID));
}
/** Get Forecast Line.
@return Forecast Line
*/
public int getM_ForecastLine_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_ForecastLine_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_M_Forecast getM_Forecast() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_Forecast.Table_Name);
I_M_Forecast result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_M_Forecast)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Forecast_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;
}
return (I_M_Forecast)MTable.get(getCtx(), I_M_Forecast.Table_Name)
.getPO(getM_Forecast_ID(), get_TrxName()); }
/** Set Forecast.
@param M_Forecast_ID
@ -536,21 +429,38 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
return ii.intValue();
}
public I_M_Product getM_Product() throws RuntimeException
public I_M_ForecastLine getM_ForecastLine() 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;
}
return (I_M_ForecastLine)MTable.get(getCtx(), I_M_ForecastLine.Table_Name)
.getPO(getM_ForecastLine_ID(), get_TrxName()); }
/** Set Forecast Line.
@param M_ForecastLine_ID
Forecast Line
*/
public void setM_ForecastLine_ID (int M_ForecastLine_ID)
{
if (M_ForecastLine_ID < 1)
set_Value (COLUMNNAME_M_ForecastLine_ID, null);
else
set_Value (COLUMNNAME_M_ForecastLine_ID, Integer.valueOf(M_ForecastLine_ID));
}
/** Get Forecast Line.
@return Forecast Line
*/
public int getM_ForecastLine_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_ForecastLine_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_M_Product getM_Product() throws RuntimeException
{
return (I_M_Product)MTable.get(getCtx(), I_M_Product.Table_Name)
.getPO(getM_Product_ID(), get_TrxName()); }
/** Set Product.
@param M_Product_ID
@ -575,60 +485,10 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
return ii.intValue();
}
public I_M_RequisitionLine getM_RequisitionLine() throws RuntimeException
public I_M_Requisition getM_Requisition() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_RequisitionLine.Table_Name);
I_M_RequisitionLine result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_M_RequisitionLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_RequisitionLine_ID()), get_TrxName()});
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw new RuntimeException( e );
}
return result;
}
/** Set Requisition Line.
@param M_RequisitionLine_ID
Material Requisition Line
*/
public void setM_RequisitionLine_ID (int M_RequisitionLine_ID)
{
if (M_RequisitionLine_ID < 1)
set_Value (COLUMNNAME_M_RequisitionLine_ID, null);
else
set_Value (COLUMNNAME_M_RequisitionLine_ID, Integer.valueOf(M_RequisitionLine_ID));
}
/** Get Requisition Line.
@return Material Requisition Line
*/
public int getM_RequisitionLine_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_RequisitionLine_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_M_Requisition getM_Requisition() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_Requisition.Table_Name);
I_M_Requisition result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_M_Requisition)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Requisition_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;
}
return (I_M_Requisition)MTable.get(getCtx(), I_M_Requisition.Table_Name)
.getPO(getM_Requisition_ID(), get_TrxName()); }
/** Set Requisition.
@param M_Requisition_ID
@ -653,21 +513,38 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
return ii.intValue();
}
public I_M_Warehouse getM_Warehouse() throws RuntimeException
public I_M_RequisitionLine getM_RequisitionLine() 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;
}
return (I_M_RequisitionLine)MTable.get(getCtx(), I_M_RequisitionLine.Table_Name)
.getPO(getM_RequisitionLine_ID(), get_TrxName()); }
/** Set Requisition Line.
@param M_RequisitionLine_ID
Material Requisition Line
*/
public void setM_RequisitionLine_ID (int M_RequisitionLine_ID)
{
if (M_RequisitionLine_ID < 1)
set_Value (COLUMNNAME_M_RequisitionLine_ID, null);
else
set_Value (COLUMNNAME_M_RequisitionLine_ID, Integer.valueOf(M_RequisitionLine_ID));
}
/** Get Requisition Line.
@return Material Requisition Line
*/
public int getM_RequisitionLine_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_RequisitionLine_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_M_Warehouse getM_Warehouse() throws RuntimeException
{
return (I_M_Warehouse)MTable.get(getCtx(), I_M_Warehouse.Table_Name)
.getPO(getM_Warehouse_ID(), get_TrxName()); }
/** Set Warehouse.
@param M_Warehouse_ID
@ -746,6 +623,31 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
return (String)get_Value(COLUMNNAME_OrderType);
}
public I_AD_User getPlanner() throws RuntimeException
{
return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name)
.getPO(getPlanner_ID(), get_TrxName()); }
/** Set Planner.
@param Planner_ID Planner */
public void setPlanner_ID (int Planner_ID)
{
if (Planner_ID < 1)
set_Value (COLUMNNAME_Planner_ID, null);
else
set_Value (COLUMNNAME_Planner_ID, Integer.valueOf(Planner_ID));
}
/** Get Planner.
@return Planner */
public int getPlanner_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_Planner_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Material Requirement Planning.
@param PP_MRP_ID Material Requirement Planning */
public void setPP_MRP_ID (int PP_MRP_ID)
@ -766,21 +668,10 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_PP_Order_BOMLine getPP_Order_BOMLine() throws RuntimeException
public org.eevolution.model.I_PP_Order_BOMLine getPP_Order_BOMLine() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order_BOMLine.Table_Name);
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;
}
return (org.eevolution.model.I_PP_Order_BOMLine)MTable.get(getCtx(), org.eevolution.model.I_PP_Order_BOMLine.Table_Name)
.getPO(getPP_Order_BOMLine_ID(), get_TrxName()); }
/** Set Manufacturing Order BOM Line.
@param PP_Order_BOMLine_ID Manufacturing Order BOM Line */
@ -802,21 +693,10 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order.Table_Name);
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;
}
return (org.eevolution.model.I_PP_Order)MTable.get(getCtx(), org.eevolution.model.I_PP_Order.Table_Name)
.getPO(getPP_Order_ID(), get_TrxName()); }
/** Set Manufacturing Order.
@param PP_Order_ID Manufacturing Order */
@ -838,26 +718,6 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
return ii.intValue();
}
/** Set Planner.
@param Planner_ID Planner */
public void setPlanner_ID (int Planner_ID)
{
if (Planner_ID < 1)
set_Value (COLUMNNAME_Planner_ID, null);
else
set_Value (COLUMNNAME_Planner_ID, Integer.valueOf(Planner_ID));
}
/** Get Planner.
@return Planner */
public int getPlanner_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_Planner_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Priority.
@param Priority
Indicates if this request is of a high, medium or low priority.
@ -895,21 +755,10 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent
return bd;
}
public I_S_Resource getS_Resource() throws RuntimeException
public I_S_Resource getS_Resource() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_S_Resource.Table_Name);
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;
}
return (I_S_Resource)MTable.get(getCtx(), I_S_Resource.Table_Name)
.getPO(getS_Resource_ID(), get_TrxName()); }
/** Set Resource.
@param S_Resource_ID

View File

@ -17,12 +17,10 @@
/** 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;
@ -62,10 +60,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
setIsApproved (false);
// N
setIsPrinted (false);
// N
setIsSOTrx (false);
// N
setIsSelected (false);
// N
setIsSOTrx (false);
// N
setLine (0);
setM_Product_ID (0);
@ -140,21 +138,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
return ii.intValue();
}
public I_AD_Workflow getAD_Workflow() throws RuntimeException
public I_AD_Workflow getAD_Workflow() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_Workflow.Table_Name);
I_AD_Workflow result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_Workflow)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_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;
}
return (I_AD_Workflow)MTable.get(getCtx(), I_AD_Workflow.Table_Name)
.getPO(getAD_Workflow_ID(), get_TrxName()); }
/** Set Workflow.
@param AD_Workflow_ID
@ -199,21 +186,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
return bd;
}
public I_C_Activity getC_Activity() throws RuntimeException
public I_C_Activity getC_Activity() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Activity.Table_Name);
I_C_Activity result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Activity)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Activity_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;
}
return (I_C_Activity)MTable.get(getCtx(), I_C_Activity.Table_Name)
.getPO(getC_Activity_ID(), get_TrxName()); }
/** Set Activity.
@param C_Activity_ID
@ -238,21 +214,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
return ii.intValue();
}
public I_C_Campaign getC_Campaign() throws RuntimeException
public I_C_Campaign getC_Campaign() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Campaign.Table_Name);
I_C_Campaign result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Campaign)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Campaign_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;
}
return (I_C_Campaign)MTable.get(getCtx(), I_C_Campaign.Table_Name)
.getPO(getC_Campaign_ID(), get_TrxName()); }
/** Set Campaign.
@param C_Campaign_ID
@ -277,28 +242,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
return ii.intValue();
}
/** Set Target Document Type.
@param C_DocTypeTarget_ID
Target document type for conversing documents
*/
public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID)
{
if (C_DocTypeTarget_ID < 1)
set_ValueNoCheck (COLUMNNAME_C_DocTypeTarget_ID, null);
else
set_ValueNoCheck (COLUMNNAME_C_DocTypeTarget_ID, Integer.valueOf(C_DocTypeTarget_ID));
}
/** Get Target Document Type.
@return Target document type for conversing documents
*/
public int getC_DocTypeTarget_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeTarget_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_DocType getC_DocType() throws RuntimeException
{
return (I_C_DocType)MTable.get(getCtx(), I_C_DocType.Table_Name)
.getPO(getC_DocType_ID(), get_TrxName()); }
/** Set Document Type.
@param C_DocType_ID
@ -323,21 +270,38 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
return ii.intValue();
}
public I_C_OrderLine getC_OrderLine() throws RuntimeException
public I_C_DocType getC_DocTypeTarget() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_OrderLine.Table_Name);
I_C_OrderLine result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_OrderLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_OrderLine_ID()), get_TrxName()});
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw new RuntimeException( e );
}
return result;
}
return (I_C_DocType)MTable.get(getCtx(), I_C_DocType.Table_Name)
.getPO(getC_DocTypeTarget_ID(), get_TrxName()); }
/** Set Target Document Type.
@param C_DocTypeTarget_ID
Target document type for conversing documents
*/
public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID)
{
if (C_DocTypeTarget_ID < 1)
set_ValueNoCheck (COLUMNNAME_C_DocTypeTarget_ID, null);
else
set_ValueNoCheck (COLUMNNAME_C_DocTypeTarget_ID, Integer.valueOf(C_DocTypeTarget_ID));
}
/** Get Target Document Type.
@return Target document type for conversing documents
*/
public int getC_DocTypeTarget_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeTarget_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_OrderLine getC_OrderLine() throws RuntimeException
{
return (I_C_OrderLine)MTable.get(getCtx(), I_C_OrderLine.Table_Name)
.getPO(getC_OrderLine_ID(), get_TrxName()); }
/** Set Sales Order Line.
@param C_OrderLine_ID
@ -362,21 +326,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
return ii.intValue();
}
public I_C_Project getC_Project() throws RuntimeException
public I_C_Project getC_Project() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_Project.Table_Name);
I_C_Project result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Project)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Project_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;
}
return (I_C_Project)MTable.get(getCtx(), I_C_Project.Table_Name)
.getPO(getC_Project_ID(), get_TrxName()); }
/** Set Project.
@param C_Project_ID
@ -401,21 +354,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
return ii.intValue();
}
public I_C_UOM getC_UOM() throws RuntimeException
public I_C_UOM getC_UOM() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_UOM.Table_Name);
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;
}
return (I_C_UOM)MTable.get(getCtx(), I_C_UOM.Table_Name)
.getPO(getC_UOM_ID(), get_TrxName()); }
/** Set UOM.
@param C_UOM_ID
@ -821,6 +763,27 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
return false;
}
/** Set Selected.
@param IsSelected Selected */
public void setIsSelected (boolean IsSelected)
{
set_Value (COLUMNNAME_IsSelected, Boolean.valueOf(IsSelected));
}
/** Get Selected.
@return Selected */
public boolean isSelected ()
{
Object oo = get_Value(COLUMNNAME_IsSelected);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Sales Transaction.
@param IsSOTrx
This is a Sales Transaction
@ -845,27 +808,6 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
return false;
}
/** Set Selected.
@param IsSelected Selected */
public void setIsSelected (boolean IsSelected)
{
set_Value (COLUMNNAME_IsSelected, Boolean.valueOf(IsSelected));
}
/** Get Selected.
@return Selected */
public boolean isSelected ()
{
Object oo = get_Value(COLUMNNAME_IsSelected);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Line No.
@param Line
Unique line for this document
@ -903,6 +845,11 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
return (String)get_Value(COLUMNNAME_Lot);
}
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException
{
return (I_M_AttributeSetInstance)MTable.get(getCtx(), I_M_AttributeSetInstance.Table_Name)
.getPO(getM_AttributeSetInstance_ID(), get_TrxName()); }
/** Set Attribute Set Instance.
@param M_AttributeSetInstance_ID
Product Attribute Set Instance
@ -926,6 +873,11 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
return ii.intValue();
}
public I_M_Product getM_Product() throws RuntimeException
{
return (I_M_Product)MTable.get(getCtx(), I_M_Product.Table_Name)
.getPO(getM_Product_ID(), get_TrxName()); }
/** Set Product.
@param M_Product_ID
Product, Service, Item
@ -949,21 +901,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
return ii.intValue();
}
public I_M_Warehouse getM_Warehouse() throws RuntimeException
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;
}
return (I_M_Warehouse)MTable.get(getCtx(), I_M_Warehouse.Table_Name)
.getPO(getM_Warehouse_ID(), get_TrxName()); }
/** Set Warehouse.
@param M_Warehouse_ID
@ -1002,64 +943,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
return (String)get_Value(COLUMNNAME_OrderType);
}
/** Set Manufacturing Order.
@param PP_Order_ID Manufacturing Order */
public void setPP_Order_ID (int 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.
@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_Product_BOM getPP_Product_BOM() throws RuntimeException
public I_AD_User getPlanner() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Product_BOM.Table_Name);
org.eevolution.model.I_PP_Product_BOM result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_PP_Product_BOM)constructor.newInstance(new Object[] {getCtx(), new Integer(getPP_Product_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 BOM & Formula.
@param PP_Product_BOM_ID
BOM & Formula
*/
public void setPP_Product_BOM_ID (int 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.
@return BOM & Formula
*/
public int getPP_Product_BOM_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Product_BOM_ID);
if (ii == null)
return 0;
return ii.intValue();
}
return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name)
.getPO(getPlanner_ID(), get_TrxName()); }
/** Set Planner.
@param Planner_ID Planner */
@ -1105,6 +992,54 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
return false;
}
/** Set Manufacturing Order.
@param PP_Order_ID Manufacturing Order */
public void setPP_Order_ID (int 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.
@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_Product_BOM getPP_Product_BOM() throws RuntimeException
{
return (org.eevolution.model.I_PP_Product_BOM)MTable.get(getCtx(), org.eevolution.model.I_PP_Product_BOM.Table_Name)
.getPO(getPP_Product_BOM_ID(), get_TrxName()); }
/** Set BOM & Formula.
@param PP_Product_BOM_ID
BOM & Formula
*/
public void setPP_Product_BOM_ID (int 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.
@return BOM & Formula
*/
public int getPP_Product_BOM_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Product_BOM_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** PriorityRule AD_Reference_ID=154 */
public static final int PRIORITYRULE_AD_Reference_ID=154;
/** High = 3 */
@ -1180,23 +1115,6 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
return false;
}
/** Set Qty Batch Size.
@param QtyBatchSize Qty Batch Size */
public void setQtyBatchSize (BigDecimal QtyBatchSize)
{
set_ValueNoCheck (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 Qty Batchs.
@param QtyBatchs Qty Batchs */
public void setQtyBatchs (BigDecimal QtyBatchs)
@ -1214,6 +1132,23 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
return bd;
}
/** Set Qty Batch Size.
@param QtyBatchSize Qty Batch Size */
public void setQtyBatchSize (BigDecimal QtyBatchSize)
{
set_ValueNoCheck (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
@ -1331,21 +1266,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
return bd;
}
public I_S_Resource getS_Resource() throws RuntimeException
public I_S_Resource getS_Resource() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_S_Resource.Table_Name);
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;
}
return (I_S_Resource)MTable.get(getCtx(), I_S_Resource.Table_Name)
.getPO(getS_Resource_ID(), get_TrxName()); }
/** Set Resource.
@param S_Resource_ID
@ -1404,6 +1328,11 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
return (String)get_Value(COLUMNNAME_SerNo);
}
public I_C_ElementValue getUser1() throws RuntimeException
{
return (I_C_ElementValue)MTable.get(getCtx(), I_C_ElementValue.Table_Name)
.getPO(getUser1_ID(), get_TrxName()); }
/** Set User List 1.
@param User1_ID
User defined list element #1
@ -1427,6 +1356,11 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent
return ii.intValue();
}
public I_C_ElementValue getUser2() throws RuntimeException
{
return (I_C_ElementValue)MTable.get(getCtx(), I_C_ElementValue.Table_Name)
.getPO(getUser2_ID(), get_TrxName()); }
/** Set User List 2.
@param User2_ID
User defined list element #2

View File

@ -17,11 +17,9 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
@ -148,21 +146,10 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent
return (String)get_Value(COLUMNNAME_BOMUse);
}
public I_C_UOM getC_UOM() throws RuntimeException
public I_C_UOM getC_UOM() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_UOM.Table_Name);
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;
}
return (I_C_UOM)MTable.get(getCtx(), I_C_UOM.Table_Name)
.getPO(getC_UOM_ID(), get_TrxName()); }
/** Set UOM.
@param C_UOM_ID
@ -255,6 +242,11 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent
return (String)get_Value(COLUMNNAME_Help);
}
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException
{
return (I_M_AttributeSetInstance)MTable.get(getCtx(), I_M_AttributeSetInstance.Table_Name)
.getPO(getM_AttributeSetInstance_ID(), get_TrxName()); }
/** Set Attribute Set Instance.
@param M_AttributeSetInstance_ID
Product Attribute Set Instance
@ -278,21 +270,10 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent
return ii.intValue();
}
public I_M_ChangeNotice getM_ChangeNotice() throws RuntimeException
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;
}
return (I_M_ChangeNotice)MTable.get(getCtx(), I_M_ChangeNotice.Table_Name)
.getPO(getM_ChangeNotice_ID(), get_TrxName()); }
/** Set Change Notice.
@param M_ChangeNotice_ID
@ -317,21 +298,10 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent
return ii.intValue();
}
public I_M_Product getM_Product() throws RuntimeException
public I_M_Product getM_Product() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_Product.Table_Name);
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;
}
return (I_M_Product)MTable.get(getCtx(), I_M_Product.Table_Name)
.getPO(getM_Product_ID(), get_TrxName()); }
/** Set Product.
@param M_Product_ID
@ -401,21 +371,10 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order.Table_Name);
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;
}
return (org.eevolution.model.I_PP_Order)MTable.get(getCtx(), org.eevolution.model.I_PP_Order.Table_Name)
.getPO(getPP_Order_ID(), get_TrxName()); }
/** Set Manufacturing Order.
@param PP_Order_ID Manufacturing Order */

View File

@ -17,12 +17,10 @@
/** 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;
@ -50,11 +48,11 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
// @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM PP_Order_BOMLine WHERE PP_Order_ID=@PP_Order_ID@
setM_Product_ID (0);
setM_Warehouse_ID (0);
setPP_Order_BOMLine_ID (0);
setPP_Order_BOM_ID (0);
setPP_Order_BOMLine_ID (0);
setPP_Order_ID (0);
setQtyBOM (Env.ZERO);
setQtyBatch (Env.ZERO);
setQtyBOM (Env.ZERO);
setQtyDelivered (Env.ZERO);
setQtyPost (Env.ZERO);
setQtyReject (Env.ZERO);
@ -94,6 +92,11 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
return sb.toString();
}
public I_AD_User getAD_User() throws RuntimeException
{
return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name)
.getPO(getAD_User_ID(), get_TrxName()); }
/** Set User/Contact.
@param AD_User_ID
User within the system - Internal or Business Partner Contact
@ -154,21 +157,10 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
return (String)get_Value(COLUMNNAME_BackflushGroup);
}
public I_C_UOM getC_UOM() throws RuntimeException
public I_C_UOM getC_UOM() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_UOM.Table_Name);
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;
}
return (I_C_UOM)MTable.get(getCtx(), I_C_UOM.Table_Name)
.getPO(getC_UOM_ID(), get_TrxName()); }
/** Set UOM.
@param C_UOM_ID
@ -433,6 +425,11 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
return ii.intValue();
}
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException
{
return (I_M_AttributeSetInstance)MTable.get(getCtx(), I_M_AttributeSetInstance.Table_Name)
.getPO(getM_AttributeSetInstance_ID(), get_TrxName()); }
/** Set Attribute Set Instance.
@param M_AttributeSetInstance_ID
Product Attribute Set Instance
@ -456,21 +453,10 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
return ii.intValue();
}
public I_M_ChangeNotice getM_ChangeNotice() throws RuntimeException
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;
}
return (I_M_ChangeNotice)MTable.get(getCtx(), I_M_ChangeNotice.Table_Name)
.getPO(getM_ChangeNotice_ID(), get_TrxName()); }
/** Set Change Notice.
@param M_ChangeNotice_ID
@ -495,6 +481,11 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
return ii.intValue();
}
public I_M_Locator getM_Locator() throws RuntimeException
{
return (I_M_Locator)MTable.get(getCtx(), I_M_Locator.Table_Name)
.getPO(getM_Locator_ID(), get_TrxName()); }
/** Set Locator.
@param M_Locator_ID
Warehouse Locator
@ -518,21 +509,10 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
return ii.intValue();
}
public I_M_Product getM_Product() throws RuntimeException
public I_M_Product getM_Product() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_Product.Table_Name);
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;
}
return (I_M_Product)MTable.get(getCtx(), I_M_Product.Table_Name)
.getPO(getM_Product_ID(), get_TrxName()); }
/** Set Product.
@param M_Product_ID
@ -565,21 +545,10 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
return new KeyNamePair(get_ID(), String.valueOf(getM_Product_ID()));
}
public I_M_Warehouse getM_Warehouse() throws RuntimeException
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;
}
return (I_M_Warehouse)MTable.get(getCtx(), I_M_Warehouse.Table_Name)
.getPO(getM_Warehouse_ID(), get_TrxName()); }
/** Set Warehouse.
@param M_Warehouse_ID
@ -604,6 +573,31 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
return ii.intValue();
}
public org.eevolution.model.I_PP_Order_BOM getPP_Order_BOM() throws RuntimeException
{
return (org.eevolution.model.I_PP_Order_BOM)MTable.get(getCtx(), org.eevolution.model.I_PP_Order_BOM.Table_Name)
.getPO(getPP_Order_BOM_ID(), get_TrxName()); }
/** 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_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.
@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();
}
/** 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)
@ -624,57 +618,10 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
return ii.intValue();
}
public org.eevolution.model.I_PP_Order_BOM getPP_Order_BOM() throws RuntimeException
public org.eevolution.model.I_PP_Order getPP_Order() 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_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.
@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;
}
return (org.eevolution.model.I_PP_Order)MTable.get(getCtx(), org.eevolution.model.I_PP_Order.Table_Name)
.getPO(getPP_Order_ID(), get_TrxName()); }
/** Set Manufacturing Order.
@param PP_Order_ID Manufacturing Order */
@ -696,26 +643,6 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
return ii.intValue();
}
/** Set Quantity.
@param QtyBOM
Indicate the Quantity use in this BOM
*/
public void setQtyBOM (BigDecimal QtyBOM)
{
set_ValueNoCheck (COLUMNNAME_QtyBOM, QtyBOM);
}
/** Get Quantity.
@return Indicate the Quantity use in this BOM
*/
public BigDecimal getQtyBOM ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyBOM);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Quantity in %.
@param QtyBatch
Indicate the Quantity % use in this Formula
@ -736,6 +663,26 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers
return bd;
}
/** Set Quantity.
@param QtyBOM
Indicate the Quantity use in this BOM
*/
public void setQtyBOM (BigDecimal QtyBOM)
{
set_ValueNoCheck (COLUMNNAME_QtyBOM, QtyBOM);
}
/** Get Quantity.
@return Indicate the Quantity use in this BOM
*/
public BigDecimal getQtyBOM ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyBOM);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Delivered Quantity.
@param QtyDelivered
Delivered Quantity

View File

@ -17,12 +17,11 @@
/** 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.adempiere.model.*;
import org.compiere.model.*;
import org.compiere.util.Env;
@ -74,21 +73,10 @@ public class X_PP_Order_BOMLine_v extends PO implements I_PP_Order_BOMLine_v, I_
return sb.toString();
}
public I_AD_User getAD_User() throws RuntimeException
public I_AD_User getAD_User()
{
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;
}
return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name)
.getPO(getAD_User_ID(), get_TrxName()); }
/** Set User/Contact.
@param AD_User_ID
@ -150,21 +138,10 @@ public class X_PP_Order_BOMLine_v extends PO implements I_PP_Order_BOMLine_v, I_
return (String)get_Value(COLUMNNAME_BackflushGroup);
}
public I_C_UOM getC_UOM() throws RuntimeException
public I_C_UOM getC_UOM()
{
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;
}
return (I_C_UOM)MTable.get(getCtx(), I_C_UOM.Table_Name)
.getPO(getC_UOM_ID(), get_TrxName()); }
/** Set UOM.
@param C_UOM_ID
@ -425,6 +402,11 @@ public class X_PP_Order_BOMLine_v extends PO implements I_PP_Order_BOMLine_v, I_
return ii.intValue();
}
public I_M_AttributeSetInstance getM_AttributeSetInstance()
{
return (I_M_AttributeSetInstance)MTable.get(getCtx(), I_M_AttributeSetInstance.Table_Name)
.getPO(getM_AttributeSetInstance_ID(), get_TrxName()); }
/** Set Attribute Set Instance.
@param M_AttributeSetInstance_ID
Product Attribute Set Instance
@ -448,21 +430,10 @@ public class X_PP_Order_BOMLine_v extends PO implements I_PP_Order_BOMLine_v, I_
return ii.intValue();
}
public I_M_ChangeNotice getM_ChangeNotice() throws RuntimeException
public I_M_ChangeNotice getM_ChangeNotice()
{
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;
}
return (I_M_ChangeNotice)MTable.get(getCtx(), I_M_ChangeNotice.Table_Name)
.getPO(getM_ChangeNotice_ID(), get_TrxName()); }
/** Set Change Notice.
@param M_ChangeNotice_ID
@ -487,21 +458,10 @@ public class X_PP_Order_BOMLine_v extends PO implements I_PP_Order_BOMLine_v, I_
return ii.intValue();
}
public I_M_Locator getM_Locator() throws RuntimeException
public I_M_Locator getM_Locator()
{
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;
}
return (I_M_Locator)MTable.get(getCtx(), I_M_Locator.Table_Name)
.getPO(getM_Locator_ID(), get_TrxName()); }
/** Set Locator.
@param M_Locator_ID
@ -526,21 +486,10 @@ public class X_PP_Order_BOMLine_v extends PO implements I_PP_Order_BOMLine_v, I_
return ii.intValue();
}
public I_M_Product getM_Product() throws RuntimeException
public I_M_Product getM_Product()
{
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;
}
return (I_M_Product)MTable.get(getCtx(), I_M_Product.Table_Name)
.getPO(getM_Product_ID(), get_TrxName()); }
/** Set Product.
@param M_Product_ID
@ -565,21 +514,10 @@ public class X_PP_Order_BOMLine_v extends PO implements I_PP_Order_BOMLine_v, I_
return ii.intValue();
}
public I_M_Warehouse getM_Warehouse() throws RuntimeException
public I_M_Warehouse getM_Warehouse()
{
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;
}
return (I_M_Warehouse)MTable.get(getCtx(), I_M_Warehouse.Table_Name)
.getPO(getM_Warehouse_ID(), get_TrxName()); }
/** Set Warehouse.
@param M_Warehouse_ID
@ -604,57 +542,10 @@ public class X_PP_Order_BOMLine_v extends PO implements I_PP_Order_BOMLine_v, I_
return ii.intValue();
}
public org.eevolution.model.I_PP_Order_BOMLine getPP_Order_BOMLine() throws RuntimeException
public org.eevolution.model.I_PP_Order_BOM getPP_Order_BOM()
{
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;
}
return (org.eevolution.model.I_PP_Order_BOM)MTable.get(getCtx(), org.eevolution.model.I_PP_Order_BOM.Table_Name)
.getPO(getPP_Order_BOM_ID(), get_TrxName()); }
/** Set Manufacturing Order BOM.
@param PP_Order_BOM_ID Manufacturing Order BOM */
@ -676,21 +567,35 @@ public class X_PP_Order_BOMLine_v extends PO implements I_PP_Order_BOMLine_v, I_
return ii.intValue();
}
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException
public org.eevolution.model.I_PP_Order_BOMLine getPP_Order_BOMLine()
{
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;
}
return (org.eevolution.model.I_PP_Order_BOMLine)MTable.get(getCtx(), org.eevolution.model.I_PP_Order_BOMLine.Table_Name)
.getPO(getPP_Order_BOMLine_ID(), get_TrxName()); }
/** 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 getPP_Order()
{
return (org.eevolution.model.I_PP_Order)MTable.get(getCtx(), org.eevolution.model.I_PP_Order.Table_Name)
.getPO(getPP_Order_ID(), get_TrxName()); }
/** Set Manufacturing Order.
@param PP_Order_ID Manufacturing Order */
@ -732,26 +637,6 @@ public class X_PP_Order_BOMLine_v extends PO implements I_PP_Order_BOMLine_v, I_
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
@ -789,6 +674,26 @@ public class X_PP_Order_BOMLine_v extends PO implements I_PP_Order_BOMLine_v, I_
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 Delivered Quantity.
@param QtyDelivered
Delivered Quantity

View File

@ -17,11 +17,9 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.math.BigDecimal;
import java.sql.ResultSet;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import org.compiere.util.Env;
@ -78,21 +76,10 @@ public class X_PP_Order_Cost extends PO implements I_PP_Order_Cost, I_Persistent
return sb.toString();
}
public I_AD_Workflow getAD_Workflow() throws RuntimeException
public I_AD_Workflow getAD_Workflow() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_Workflow.Table_Name);
I_AD_Workflow result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_Workflow)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_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;
}
return (I_AD_Workflow)MTable.get(getCtx(), I_AD_Workflow.Table_Name)
.getPO(getAD_Workflow_ID(), get_TrxName()); }
/** Set Workflow.
@param AD_Workflow_ID
@ -117,21 +104,10 @@ public class X_PP_Order_Cost extends PO implements I_PP_Order_Cost, I_Persistent
return ii.intValue();
}
public I_C_AcctSchema getC_AcctSchema() throws RuntimeException
public I_C_AcctSchema getC_AcctSchema() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_AcctSchema.Table_Name);
I_C_AcctSchema result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_AcctSchema)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_AcctSchema_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;
}
return (I_C_AcctSchema)MTable.get(getCtx(), I_C_AcctSchema.Table_Name)
.getPO(getC_AcctSchema_ID(), get_TrxName()); }
/** Set Accounting Schema.
@param C_AcctSchema_ID
@ -328,6 +304,11 @@ public class X_PP_Order_Cost extends PO implements I_PP_Order_Cost, I_Persistent
return bd;
}
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException
{
return (I_M_AttributeSetInstance)MTable.get(getCtx(), I_M_AttributeSetInstance.Table_Name)
.getPO(getM_AttributeSetInstance_ID(), get_TrxName()); }
/** Set Attribute Set Instance.
@param M_AttributeSetInstance_ID
Product Attribute Set Instance
@ -351,21 +332,10 @@ public class X_PP_Order_Cost extends PO implements I_PP_Order_Cost, I_Persistent
return ii.intValue();
}
public I_M_CostElement getM_CostElement() throws RuntimeException
public I_M_CostElement getM_CostElement() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_CostElement.Table_Name);
I_M_CostElement result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_M_CostElement)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_CostElement_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;
}
return (I_M_CostElement)MTable.get(getCtx(), I_M_CostElement.Table_Name)
.getPO(getM_CostElement_ID(), get_TrxName()); }
/** Set Cost Element.
@param M_CostElement_ID
@ -390,21 +360,10 @@ public class X_PP_Order_Cost extends PO implements I_PP_Order_Cost, I_Persistent
return ii.intValue();
}
public I_M_CostType getM_CostType() throws RuntimeException
public I_M_CostType getM_CostType() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_CostType.Table_Name);
I_M_CostType result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_M_CostType)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_CostType_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;
}
return (I_M_CostType)MTable.get(getCtx(), I_M_CostType.Table_Name)
.getPO(getM_CostType_ID(), get_TrxName()); }
/** Set Cost Type.
@param M_CostType_ID
@ -429,21 +388,10 @@ public class X_PP_Order_Cost extends PO implements I_PP_Order_Cost, I_Persistent
return ii.intValue();
}
public I_M_Product getM_Product() throws RuntimeException
public I_M_Product getM_Product() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_Product.Table_Name);
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;
}
return (I_M_Product)MTable.get(getCtx(), I_M_Product.Table_Name)
.getPO(getM_Product_ID(), get_TrxName()); }
/** Set Product.
@param M_Product_ID
@ -488,21 +436,10 @@ public class X_PP_Order_Cost extends PO implements I_PP_Order_Cost, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order.Table_Name);
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;
}
return (org.eevolution.model.I_PP_Order)MTable.get(getCtx(), org.eevolution.model.I_PP_Order.Table_Name)
.getPO(getPP_Order_ID(), get_TrxName()); }
/** Set Manufacturing Order.
@param PP_Order_ID Manufacturing Order */

View File

@ -17,12 +17,10 @@
/** 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;
@ -44,10 +42,10 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
super (ctx, PP_Order_Node_ID, trxName);
/** if (PP_Order_Node_ID == 0)
{
setAD_WF_Node_ID (0);
setAD_Workflow_ID (0);
setAction (null);
// Z
setAD_WF_Node_ID (0);
setAD_Workflow_ID (0);
setCost (Env.ZERO);
setEntityType (null);
// U
@ -98,396 +96,6 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
return sb.toString();
}
public I_AD_Column getAD_Column() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_Column.Table_Name);
I_AD_Column result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_Column)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_Column_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 Column.
@param AD_Column_ID
Column in the table
*/
public void setAD_Column_ID (int AD_Column_ID)
{
if (AD_Column_ID < 1)
set_Value (COLUMNNAME_AD_Column_ID, null);
else
set_Value (COLUMNNAME_AD_Column_ID, Integer.valueOf(AD_Column_ID));
}
/** Get Column.
@return Column in the table
*/
public int getAD_Column_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Column_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_Form getAD_Form() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_Form.Table_Name);
I_AD_Form result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_Form)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_Form_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 Special Form.
@param AD_Form_ID
Special Form
*/
public void setAD_Form_ID (int AD_Form_ID)
{
if (AD_Form_ID < 1)
set_Value (COLUMNNAME_AD_Form_ID, null);
else
set_Value (COLUMNNAME_AD_Form_ID, Integer.valueOf(AD_Form_ID));
}
/** Get Special Form.
@return Special Form
*/
public int getAD_Form_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Form_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_Image getAD_Image() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_Image.Table_Name);
I_AD_Image result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_Image)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_Image_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 Image.
@param AD_Image_ID
Image or Icon
*/
public void setAD_Image_ID (int AD_Image_ID)
{
if (AD_Image_ID < 1)
set_Value (COLUMNNAME_AD_Image_ID, null);
else
set_Value (COLUMNNAME_AD_Image_ID, Integer.valueOf(AD_Image_ID));
}
/** Get Image.
@return Image or Icon
*/
public int getAD_Image_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Image_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_Process getAD_Process() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_Process.Table_Name);
I_AD_Process result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_Process)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_Process_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 Process.
@param AD_Process_ID
Process or Report
*/
public void setAD_Process_ID (int AD_Process_ID)
{
if (AD_Process_ID < 1)
set_Value (COLUMNNAME_AD_Process_ID, null);
else
set_Value (COLUMNNAME_AD_Process_ID, Integer.valueOf(AD_Process_ID));
}
/** Get Process.
@return Process or Report
*/
public int getAD_Process_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Process_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_Task getAD_Task() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_Task.Table_Name);
I_AD_Task result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_Task)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_Task_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 OS Task.
@param AD_Task_ID
Operation System Task
*/
public void setAD_Task_ID (int AD_Task_ID)
{
if (AD_Task_ID < 1)
set_Value (COLUMNNAME_AD_Task_ID, null);
else
set_Value (COLUMNNAME_AD_Task_ID, Integer.valueOf(AD_Task_ID));
}
/** Get OS Task.
@return Operation System Task
*/
public int getAD_Task_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Task_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_WF_Block getAD_WF_Block() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_WF_Block.Table_Name);
I_AD_WF_Block result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_WF_Block)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_WF_Block_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 Workflow Block.
@param AD_WF_Block_ID
Workflow Transaction Execution Block
*/
public void setAD_WF_Block_ID (int AD_WF_Block_ID)
{
if (AD_WF_Block_ID < 1)
set_Value (COLUMNNAME_AD_WF_Block_ID, null);
else
set_Value (COLUMNNAME_AD_WF_Block_ID, Integer.valueOf(AD_WF_Block_ID));
}
/** Get Workflow Block.
@return Workflow Transaction Execution Block
*/
public int getAD_WF_Block_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_WF_Block_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_WF_Node getAD_WF_Node() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_WF_Node.Table_Name);
I_AD_WF_Node result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_WF_Node)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_WF_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 Node.
@param AD_WF_Node_ID
Workflow Node (activity), step or process
*/
public void setAD_WF_Node_ID (int 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.
@return Workflow Node (activity), step or process
*/
public int getAD_WF_Node_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_WF_Node_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_WF_Responsible getAD_WF_Responsible() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_WF_Responsible.Table_Name);
I_AD_WF_Responsible result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_WF_Responsible)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_WF_Responsible_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 Workflow Responsible.
@param AD_WF_Responsible_ID
Responsible for Workflow Execution
*/
public void setAD_WF_Responsible_ID (int AD_WF_Responsible_ID)
{
if (AD_WF_Responsible_ID < 1)
set_Value (COLUMNNAME_AD_WF_Responsible_ID, null);
else
set_Value (COLUMNNAME_AD_WF_Responsible_ID, Integer.valueOf(AD_WF_Responsible_ID));
}
/** Get Workflow Responsible.
@return Responsible for Workflow Execution
*/
public int getAD_WF_Responsible_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_WF_Responsible_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_Window getAD_Window() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_Window.Table_Name);
I_AD_Window result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_Window)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_Window_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 Window.
@param AD_Window_ID
Data entry or display window
*/
public void setAD_Window_ID (int AD_Window_ID)
{
if (AD_Window_ID < 1)
set_Value (COLUMNNAME_AD_Window_ID, null);
else
set_Value (COLUMNNAME_AD_Window_ID, Integer.valueOf(AD_Window_ID));
}
/** Get Window.
@return Data entry or display window
*/
public int getAD_Window_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Window_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_Workflow getAD_Workflow() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_Workflow.Table_Name);
I_AD_Workflow result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_Workflow)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_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 Workflow.
@param AD_Workflow_ID
Workflow or combination of tasks
*/
public void setAD_Workflow_ID (int 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.
@return Workflow or combination of tasks
*/
public int getAD_Workflow_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Workflow_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Action AD_Reference_ID=302 */
public static final int ACTION_AD_Reference_ID=302;
/** Wait (Sleep) = Z */
@ -532,6 +140,286 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
return (String)get_Value(COLUMNNAME_Action);
}
public I_AD_Column getAD_Column() throws RuntimeException
{
return (I_AD_Column)MTable.get(getCtx(), I_AD_Column.Table_Name)
.getPO(getAD_Column_ID(), get_TrxName()); }
/** Set Column.
@param AD_Column_ID
Column in the table
*/
public void setAD_Column_ID (int AD_Column_ID)
{
if (AD_Column_ID < 1)
set_Value (COLUMNNAME_AD_Column_ID, null);
else
set_Value (COLUMNNAME_AD_Column_ID, Integer.valueOf(AD_Column_ID));
}
/** Get Column.
@return Column in the table
*/
public int getAD_Column_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Column_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_Form getAD_Form() throws RuntimeException
{
return (I_AD_Form)MTable.get(getCtx(), I_AD_Form.Table_Name)
.getPO(getAD_Form_ID(), get_TrxName()); }
/** Set Special Form.
@param AD_Form_ID
Special Form
*/
public void setAD_Form_ID (int AD_Form_ID)
{
if (AD_Form_ID < 1)
set_Value (COLUMNNAME_AD_Form_ID, null);
else
set_Value (COLUMNNAME_AD_Form_ID, Integer.valueOf(AD_Form_ID));
}
/** Get Special Form.
@return Special Form
*/
public int getAD_Form_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Form_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_Image getAD_Image() throws RuntimeException
{
return (I_AD_Image)MTable.get(getCtx(), I_AD_Image.Table_Name)
.getPO(getAD_Image_ID(), get_TrxName()); }
/** Set Image.
@param AD_Image_ID
Image or Icon
*/
public void setAD_Image_ID (int AD_Image_ID)
{
if (AD_Image_ID < 1)
set_Value (COLUMNNAME_AD_Image_ID, null);
else
set_Value (COLUMNNAME_AD_Image_ID, Integer.valueOf(AD_Image_ID));
}
/** Get Image.
@return Image or Icon
*/
public int getAD_Image_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Image_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_Process getAD_Process() throws RuntimeException
{
return (I_AD_Process)MTable.get(getCtx(), I_AD_Process.Table_Name)
.getPO(getAD_Process_ID(), get_TrxName()); }
/** Set Process.
@param AD_Process_ID
Process or Report
*/
public void setAD_Process_ID (int AD_Process_ID)
{
if (AD_Process_ID < 1)
set_Value (COLUMNNAME_AD_Process_ID, null);
else
set_Value (COLUMNNAME_AD_Process_ID, Integer.valueOf(AD_Process_ID));
}
/** Get Process.
@return Process or Report
*/
public int getAD_Process_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Process_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_Task getAD_Task() throws RuntimeException
{
return (I_AD_Task)MTable.get(getCtx(), I_AD_Task.Table_Name)
.getPO(getAD_Task_ID(), get_TrxName()); }
/** Set OS Task.
@param AD_Task_ID
Operation System Task
*/
public void setAD_Task_ID (int AD_Task_ID)
{
if (AD_Task_ID < 1)
set_Value (COLUMNNAME_AD_Task_ID, null);
else
set_Value (COLUMNNAME_AD_Task_ID, Integer.valueOf(AD_Task_ID));
}
/** Get OS Task.
@return Operation System Task
*/
public int getAD_Task_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Task_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_WF_Block getAD_WF_Block() throws RuntimeException
{
return (I_AD_WF_Block)MTable.get(getCtx(), I_AD_WF_Block.Table_Name)
.getPO(getAD_WF_Block_ID(), get_TrxName()); }
/** Set Workflow Block.
@param AD_WF_Block_ID
Workflow Transaction Execution Block
*/
public void setAD_WF_Block_ID (int AD_WF_Block_ID)
{
if (AD_WF_Block_ID < 1)
set_Value (COLUMNNAME_AD_WF_Block_ID, null);
else
set_Value (COLUMNNAME_AD_WF_Block_ID, Integer.valueOf(AD_WF_Block_ID));
}
/** Get Workflow Block.
@return Workflow Transaction Execution Block
*/
public int getAD_WF_Block_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_WF_Block_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_WF_Node getAD_WF_Node() throws RuntimeException
{
return (I_AD_WF_Node)MTable.get(getCtx(), I_AD_WF_Node.Table_Name)
.getPO(getAD_WF_Node_ID(), get_TrxName()); }
/** Set Node.
@param AD_WF_Node_ID
Workflow Node (activity), step or process
*/
public void setAD_WF_Node_ID (int 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.
@return Workflow Node (activity), step or process
*/
public int getAD_WF_Node_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_WF_Node_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_WF_Responsible getAD_WF_Responsible() throws RuntimeException
{
return (I_AD_WF_Responsible)MTable.get(getCtx(), I_AD_WF_Responsible.Table_Name)
.getPO(getAD_WF_Responsible_ID(), get_TrxName()); }
/** Set Workflow Responsible.
@param AD_WF_Responsible_ID
Responsible for Workflow Execution
*/
public void setAD_WF_Responsible_ID (int AD_WF_Responsible_ID)
{
if (AD_WF_Responsible_ID < 1)
set_Value (COLUMNNAME_AD_WF_Responsible_ID, null);
else
set_Value (COLUMNNAME_AD_WF_Responsible_ID, Integer.valueOf(AD_WF_Responsible_ID));
}
/** Get Workflow Responsible.
@return Responsible for Workflow Execution
*/
public int getAD_WF_Responsible_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_WF_Responsible_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_Window getAD_Window() throws RuntimeException
{
return (I_AD_Window)MTable.get(getCtx(), I_AD_Window.Table_Name)
.getPO(getAD_Window_ID(), get_TrxName()); }
/** Set Window.
@param AD_Window_ID
Data entry or display window
*/
public void setAD_Window_ID (int AD_Window_ID)
{
if (AD_Window_ID < 1)
set_Value (COLUMNNAME_AD_Window_ID, null);
else
set_Value (COLUMNNAME_AD_Window_ID, Integer.valueOf(AD_Window_ID));
}
/** Get Window.
@return Data entry or display window
*/
public int getAD_Window_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Window_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_Workflow getAD_Workflow() throws RuntimeException
{
return (I_AD_Workflow)MTable.get(getCtx(), I_AD_Workflow.Table_Name)
.getPO(getAD_Workflow_ID(), get_TrxName()); }
/** Set Workflow.
@param AD_Workflow_ID
Workflow or combination of tasks
*/
public void setAD_Workflow_ID (int 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.
@return Workflow or combination of tasks
*/
public int getAD_Workflow_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Workflow_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Attribute Name.
@param AttributeName
Name of the Attribute
@ -566,21 +454,10 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
return (String)get_Value(COLUMNNAME_AttributeValue);
}
public I_C_BPartner getC_BPartner() throws RuntimeException
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;
}
return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name)
.getPO(getC_BPartner_ID(), get_TrxName()); }
/** Set Business Partner .
@param C_BPartner_ID
@ -1080,21 +957,10 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order.Table_Name);
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;
}
return (org.eevolution.model.I_PP_Order)MTable.get(getCtx(), org.eevolution.model.I_PP_Order.Table_Name)
.getPO(getPP_Order_ID(), get_TrxName()); }
/** Set Manufacturing Order.
@param PP_Order_ID Manufacturing Order */
@ -1136,21 +1002,10 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_PP_Order_Workflow getPP_Order_Workflow() throws RuntimeException
public org.eevolution.model.I_PP_Order_Workflow getPP_Order_Workflow() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order_Workflow.Table_Name);
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;
}
return (org.eevolution.model.I_PP_Order_Workflow)MTable.get(getCtx(), org.eevolution.model.I_PP_Order_Workflow.Table_Name)
.getPO(getPP_Order_Workflow_ID(), get_TrxName()); }
/** Set Manufacturing Order Workflow.
@param PP_Order_Workflow_ID Manufacturing Order Workflow */
@ -1283,21 +1138,10 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
return ii.intValue();
}
public I_S_Resource getS_Resource() throws RuntimeException
public I_S_Resource getS_Resource() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_S_Resource.Table_Name);
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;
}
return (I_S_Resource)MTable.get(getCtx(), I_S_Resource.Table_Name)
.getPO(getS_Resource_ID(), get_TrxName()); }
/** Set Resource.
@param S_Resource_ID
@ -1539,6 +1383,11 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
return ii.intValue();
}
public I_AD_Workflow getWorkflow() throws RuntimeException
{
return (I_AD_Workflow)MTable.get(getCtx(), I_AD_Workflow.Table_Name)
.getPO(getWorkflow_ID(), get_TrxName()); }
/** Set Workflow.
@param Workflow_ID
Workflow or tasks
@ -1602,26 +1451,6 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
return ii.intValue();
}
/** Set Y Position.
@param YPosition
Absolute Y (vertical) position in 1/72 of an inch
*/
public void setYPosition (int YPosition)
{
set_Value (COLUMNNAME_YPosition, Integer.valueOf(YPosition));
}
/** Get Y Position.
@return Absolute Y (vertical) position in 1/72 of an inch
*/
public int getYPosition ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_YPosition);
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
@ -1641,4 +1470,24 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
return 0;
return ii.intValue();
}
/** Set Y Position.
@param YPosition
Absolute Y (vertical) position in 1/72 of an inch
*/
public void setYPosition (int YPosition)
{
set_Value (COLUMNNAME_YPosition, Integer.valueOf(YPosition));
}
/** Get Y Position.
@return Absolute Y (vertical) position in 1/72 of an inch
*/
public int getYPosition ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_YPosition);
if (ii == null)
return 0;
return ii.intValue();
}
}

View File

@ -17,10 +17,8 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.sql.ResultSet;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
/** Generated Model for PP_Order_NodeNext
@ -78,6 +76,11 @@ public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Pe
return sb.toString();
}
public I_AD_WF_Node getAD_WF_Next() throws RuntimeException
{
return (I_AD_WF_Node)MTable.get(getCtx(), I_AD_WF_Node.Table_Name)
.getPO(getAD_WF_Next_ID(), get_TrxName()); }
/** Set Next Node.
@param AD_WF_Next_ID
Next Node in workflow
@ -101,21 +104,10 @@ public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Pe
return ii.intValue();
}
public I_AD_WF_Node getAD_WF_Node() throws RuntimeException
public I_AD_WF_Node getAD_WF_Node() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_WF_Node.Table_Name);
I_AD_WF_Node result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_WF_Node)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_WF_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;
}
return (I_AD_WF_Node)MTable.get(getCtx(), I_AD_WF_Node.Table_Name)
.getPO(getAD_WF_Node_ID(), get_TrxName()); }
/** Set Node.
@param AD_WF_Node_ID
@ -201,21 +193,10 @@ public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Pe
return false;
}
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order.Table_Name);
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;
}
return (org.eevolution.model.I_PP_Order)MTable.get(getCtx(), org.eevolution.model.I_PP_Order.Table_Name)
.getPO(getPP_Order_ID(), get_TrxName()); }
/** Set Manufacturing Order.
@param PP_Order_ID Manufacturing Order */
@ -237,6 +218,11 @@ public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Pe
return ii.intValue();
}
public org.eevolution.model.I_PP_Order_Node getPP_Order_Next() throws RuntimeException
{
return (org.eevolution.model.I_PP_Order_Node)MTable.get(getCtx(), org.eevolution.model.I_PP_Order_Node.Table_Name)
.getPO(getPP_Order_Next_ID(), get_TrxName()); }
/** Set Manufacturing Order Activity Next.
@param PP_Order_Next_ID Manufacturing Order Activity Next */
public void setPP_Order_Next_ID (int PP_Order_Next_ID)
@ -257,41 +243,10 @@ public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Pe
return ii.intValue();
}
/** Set Manufacturing Order Activity Next.
@param PP_Order_NodeNext_ID Manufacturing Order Activity Next */
public void setPP_Order_NodeNext_ID (int PP_Order_NodeNext_ID)
{
if (PP_Order_NodeNext_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_NodeNext_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_NodeNext_ID, Integer.valueOf(PP_Order_NodeNext_ID));
}
/** Get Manufacturing Order Activity Next.
@return Manufacturing Order Activity Next */
public int getPP_Order_NodeNext_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_NodeNext_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws RuntimeException
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order_Node.Table_Name);
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;
}
return (org.eevolution.model.I_PP_Order_Node)MTable.get(getCtx(), org.eevolution.model.I_PP_Order_Node.Table_Name)
.getPO(getPP_Order_Node_ID(), get_TrxName()); }
/** Set Manufacturing Order Activity.
@param PP_Order_Node_ID Manufacturing Order Activity */
@ -313,6 +268,26 @@ public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Pe
return ii.intValue();
}
/** Set Manufacturing Order Activity Next.
@param PP_Order_NodeNext_ID Manufacturing Order Activity Next */
public void setPP_Order_NodeNext_ID (int PP_Order_NodeNext_ID)
{
if (PP_Order_NodeNext_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_NodeNext_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_NodeNext_ID, Integer.valueOf(PP_Order_NodeNext_ID));
}
/** Get Manufacturing Order Activity Next.
@return Manufacturing Order Activity Next */
public int getPP_Order_NodeNext_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_NodeNext_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Sequence.
@param SeqNo
Method of ordering records; lowest number comes first

View File

@ -17,10 +17,8 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.sql.ResultSet;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
/** Generated Model for PP_Order_Node_Asset
@ -76,21 +74,10 @@ public class X_PP_Order_Node_Asset extends PO implements I_PP_Order_Node_Asset,
return sb.toString();
}
public I_A_Asset getA_Asset() throws RuntimeException
public I_A_Asset getA_Asset() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_A_Asset.Table_Name);
I_A_Asset result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_A_Asset)constructor.newInstance(new Object[] {getCtx(), new Integer(getA_Asset_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;
}
return (I_A_Asset)MTable.get(getCtx(), I_A_Asset.Table_Name)
.getPO(getA_Asset_ID(), get_TrxName()); }
/** Set Asset.
@param A_Asset_ID
@ -115,21 +102,10 @@ public class X_PP_Order_Node_Asset extends PO implements I_PP_Order_Node_Asset,
return ii.intValue();
}
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order.Table_Name);
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;
}
return (org.eevolution.model.I_PP_Order)MTable.get(getCtx(), org.eevolution.model.I_PP_Order.Table_Name)
.getPO(getPP_Order_ID(), get_TrxName()); }
/** Set Manufacturing Order.
@param PP_Order_ID Manufacturing Order */
@ -171,21 +147,10 @@ public class X_PP_Order_Node_Asset extends PO implements I_PP_Order_Node_Asset,
return ii.intValue();
}
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws RuntimeException
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order_Node.Table_Name);
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;
}
return (org.eevolution.model.I_PP_Order_Node)MTable.get(getCtx(), org.eevolution.model.I_PP_Order_Node.Table_Name)
.getPO(getPP_Order_Node_ID(), get_TrxName()); }
/** Set Manufacturing Order Activity.
@param PP_Order_Node_ID Manufacturing Order Activity */
@ -207,21 +172,10 @@ public class X_PP_Order_Node_Asset extends PO implements I_PP_Order_Node_Asset,
return ii.intValue();
}
public org.eevolution.model.I_PP_Order_Workflow getPP_Order_Workflow() throws RuntimeException
public org.eevolution.model.I_PP_Order_Workflow getPP_Order_Workflow() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order_Workflow.Table_Name);
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;
}
return (org.eevolution.model.I_PP_Order_Workflow)MTable.get(getCtx(), org.eevolution.model.I_PP_Order_Workflow.Table_Name)
.getPO(getPP_Order_Workflow_ID(), get_TrxName()); }
/** Set Manufacturing Order Workflow.
@param PP_Order_Workflow_ID Manufacturing Order Workflow */

View File

@ -17,11 +17,9 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.math.BigDecimal;
import java.sql.ResultSet;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import org.compiere.util.Env;
@ -99,21 +97,10 @@ public class X_PP_Order_Node_Product extends PO implements I_PP_Order_Node_Produ
return false;
}
public I_M_Product getM_Product() throws RuntimeException
public I_M_Product getM_Product() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_Product.Table_Name);
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;
}
return (I_M_Product)MTable.get(getCtx(), I_M_Product.Table_Name)
.getPO(getM_Product_ID(), get_TrxName()); }
/** Set Product.
@param M_Product_ID
@ -138,21 +125,10 @@ public class X_PP_Order_Node_Product extends PO implements I_PP_Order_Node_Produ
return ii.intValue();
}
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order.Table_Name);
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;
}
return (org.eevolution.model.I_PP_Order)MTable.get(getCtx(), org.eevolution.model.I_PP_Order.Table_Name)
.getPO(getPP_Order_ID(), get_TrxName()); }
/** Set Manufacturing Order.
@param PP_Order_ID Manufacturing Order */
@ -174,21 +150,10 @@ public class X_PP_Order_Node_Product extends PO implements I_PP_Order_Node_Produ
return ii.intValue();
}
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws RuntimeException
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order_Node.Table_Name);
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;
}
return (org.eevolution.model.I_PP_Order_Node)MTable.get(getCtx(), org.eevolution.model.I_PP_Order_Node.Table_Name)
.getPO(getPP_Order_Node_ID(), get_TrxName()); }
/** Set Manufacturing Order Activity.
@param PP_Order_Node_ID Manufacturing Order Activity */
@ -230,21 +195,10 @@ public class X_PP_Order_Node_Product extends PO implements I_PP_Order_Node_Produ
return ii.intValue();
}
public org.eevolution.model.I_PP_Order_Workflow getPP_Order_Workflow() throws RuntimeException
public org.eevolution.model.I_PP_Order_Workflow getPP_Order_Workflow() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order_Workflow.Table_Name);
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;
}
return (org.eevolution.model.I_PP_Order_Workflow)MTable.get(getCtx(), org.eevolution.model.I_PP_Order_Workflow.Table_Name)
.getPO(getPP_Order_Workflow_ID(), get_TrxName()); }
/** Set Manufacturing Order Workflow.
@param PP_Order_Workflow_ID Manufacturing Order Workflow */

View File

@ -17,12 +17,11 @@
/** 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.adempiere.model.*;
import org.compiere.model.*;
import org.compiere.util.Env;
import org.compiere.util.KeyNamePair;
@ -75,21 +74,10 @@ public class X_PP_Order_Node_v extends PO implements I_PP_Order_Node_v, I_Persis
return sb.toString();
}
public I_C_BPartner getC_BPartner() throws RuntimeException
public I_C_BPartner getC_BPartner()
{
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;
}
return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name)
.getPO(getC_BPartner_ID(), get_TrxName()); }
/** Set Business Partner .
@param C_BPartner_ID
@ -477,21 +465,10 @@ public class X_PP_Order_Node_v extends PO implements I_PP_Order_Node_v, I_Persis
return ii.intValue();
}
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException
public org.eevolution.model.I_PP_Order getPP_Order()
{
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;
}
return (org.eevolution.model.I_PP_Order)MTable.get(getCtx(), org.eevolution.model.I_PP_Order.Table_Name)
.getPO(getPP_Order_ID(), get_TrxName()); }
/** Set Manufacturing Order.
@param PP_Order_ID Manufacturing Order */
@ -513,21 +490,10 @@ public class X_PP_Order_Node_v extends PO implements I_PP_Order_Node_v, I_Persis
return ii.intValue();
}
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws RuntimeException
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node()
{
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;
}
return (org.eevolution.model.I_PP_Order_Node)MTable.get(getCtx(), org.eevolution.model.I_PP_Order_Node.Table_Name)
.getPO(getPP_Order_Node_ID(), get_TrxName()); }
/** Set Manufacturing Order Activity.
@param PP_Order_Node_ID Manufacturing Order Activity */
@ -549,21 +515,10 @@ public class X_PP_Order_Node_v extends PO implements I_PP_Order_Node_v, I_Persis
return ii.intValue();
}
public org.eevolution.model.I_PP_Order_Workflow getPP_Order_Workflow() throws RuntimeException
public org.eevolution.model.I_PP_Order_Workflow getPP_Order_Workflow()
{
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;
}
return (org.eevolution.model.I_PP_Order_Workflow)MTable.get(getCtx(), org.eevolution.model.I_PP_Order_Workflow.Table_Name)
.getPO(getPP_Order_Workflow_ID(), get_TrxName()); }
/** Set Manufacturing Order Workflow.
@param PP_Order_Workflow_ID Manufacturing Order Workflow */
@ -689,21 +644,10 @@ public class X_PP_Order_Node_v extends PO implements I_PP_Order_Node_v, I_Persis
return ii.intValue();
}
public I_S_Resource getS_Resource() throws RuntimeException
public I_S_Resource getS_Resource()
{
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;
}
return (I_S_Resource)MTable.get(getCtx(), I_S_Resource.Table_Name)
.getPO(getS_Resource_ID(), get_TrxName()); }
/** Set Resource.
@param S_Resource_ID

View File

@ -17,12 +17,10 @@
/** 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;
@ -44,8 +42,8 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
super (ctx, PP_Order_Workflow_ID, trxName);
/** if (PP_Order_Workflow_ID == 0)
{
setAD_Workflow_ID (0);
setAccessLevel (null);
setAD_Workflow_ID (0);
setAuthor (null);
setCost (Env.ZERO);
setDuration (0);
@ -94,201 +92,6 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
return sb.toString();
}
public I_AD_Table getAD_Table() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_Table.Table_Name);
I_AD_Table result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_Table)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_Table_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 Table.
@param AD_Table_ID
Database Table information
*/
public void setAD_Table_ID (int AD_Table_ID)
{
if (AD_Table_ID < 1)
set_Value (COLUMNNAME_AD_Table_ID, null);
else
set_Value (COLUMNNAME_AD_Table_ID, Integer.valueOf(AD_Table_ID));
}
/** Get Table.
@return Database Table information
*/
public int getAD_Table_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Table_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_WF_Node getAD_WF_Node() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_WF_Node.Table_Name);
I_AD_WF_Node result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_WF_Node)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_WF_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 Node.
@param AD_WF_Node_ID
Workflow Node (activity), step or process
*/
public void setAD_WF_Node_ID (int 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.
@return Workflow Node (activity), step or process
*/
public int getAD_WF_Node_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_WF_Node_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_WF_Responsible getAD_WF_Responsible() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_WF_Responsible.Table_Name);
I_AD_WF_Responsible result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_WF_Responsible)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_WF_Responsible_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 Workflow Responsible.
@param AD_WF_Responsible_ID
Responsible for Workflow Execution
*/
public void setAD_WF_Responsible_ID (int AD_WF_Responsible_ID)
{
if (AD_WF_Responsible_ID < 1)
set_Value (COLUMNNAME_AD_WF_Responsible_ID, null);
else
set_Value (COLUMNNAME_AD_WF_Responsible_ID, Integer.valueOf(AD_WF_Responsible_ID));
}
/** Get Workflow Responsible.
@return Responsible for Workflow Execution
*/
public int getAD_WF_Responsible_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_WF_Responsible_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_WorkflowProcessor getAD_WorkflowProcessor() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_WorkflowProcessor.Table_Name);
I_AD_WorkflowProcessor result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_WorkflowProcessor)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_WorkflowProcessor_ID()), get_TrxName()});
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw new RuntimeException( e );
}
return result;
}
/** Set Workflow Processor.
@param AD_WorkflowProcessor_ID
Workflow Processor Server
*/
public void setAD_WorkflowProcessor_ID (int AD_WorkflowProcessor_ID)
{
if (AD_WorkflowProcessor_ID < 1)
set_Value (COLUMNNAME_AD_WorkflowProcessor_ID, null);
else
set_Value (COLUMNNAME_AD_WorkflowProcessor_ID, Integer.valueOf(AD_WorkflowProcessor_ID));
}
/** Get Workflow Processor.
@return Workflow Processor Server
*/
public int getAD_WorkflowProcessor_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_WorkflowProcessor_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_Workflow getAD_Workflow() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_Workflow.Table_Name);
I_AD_Workflow result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_Workflow)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_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 Workflow.
@param AD_Workflow_ID
Workflow or combination of tasks
*/
public void setAD_Workflow_ID (int 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.
@return Workflow or combination of tasks
*/
public int getAD_Workflow_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Workflow_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** AccessLevel AD_Reference_ID=5 */
public static final int ACCESSLEVEL_AD_Reference_ID=5;
/** Organization = 1 */
@ -321,6 +124,146 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
return (String)get_Value(COLUMNNAME_AccessLevel);
}
public I_AD_Table getAD_Table() throws RuntimeException
{
return (I_AD_Table)MTable.get(getCtx(), I_AD_Table.Table_Name)
.getPO(getAD_Table_ID(), get_TrxName()); }
/** Set Table.
@param AD_Table_ID
Database Table information
*/
public void setAD_Table_ID (int AD_Table_ID)
{
if (AD_Table_ID < 1)
set_Value (COLUMNNAME_AD_Table_ID, null);
else
set_Value (COLUMNNAME_AD_Table_ID, Integer.valueOf(AD_Table_ID));
}
/** Get Table.
@return Database Table information
*/
public int getAD_Table_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Table_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_WF_Node getAD_WF_Node() throws RuntimeException
{
return (I_AD_WF_Node)MTable.get(getCtx(), I_AD_WF_Node.Table_Name)
.getPO(getAD_WF_Node_ID(), get_TrxName()); }
/** Set Node.
@param AD_WF_Node_ID
Workflow Node (activity), step or process
*/
public void setAD_WF_Node_ID (int 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.
@return Workflow Node (activity), step or process
*/
public int getAD_WF_Node_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_WF_Node_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_WF_Responsible getAD_WF_Responsible() throws RuntimeException
{
return (I_AD_WF_Responsible)MTable.get(getCtx(), I_AD_WF_Responsible.Table_Name)
.getPO(getAD_WF_Responsible_ID(), get_TrxName()); }
/** Set Workflow Responsible.
@param AD_WF_Responsible_ID
Responsible for Workflow Execution
*/
public void setAD_WF_Responsible_ID (int AD_WF_Responsible_ID)
{
if (AD_WF_Responsible_ID < 1)
set_Value (COLUMNNAME_AD_WF_Responsible_ID, null);
else
set_Value (COLUMNNAME_AD_WF_Responsible_ID, Integer.valueOf(AD_WF_Responsible_ID));
}
/** Get Workflow Responsible.
@return Responsible for Workflow Execution
*/
public int getAD_WF_Responsible_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_WF_Responsible_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_Workflow getAD_Workflow() throws RuntimeException
{
return (I_AD_Workflow)MTable.get(getCtx(), I_AD_Workflow.Table_Name)
.getPO(getAD_Workflow_ID(), get_TrxName()); }
/** Set Workflow.
@param AD_Workflow_ID
Workflow or combination of tasks
*/
public void setAD_Workflow_ID (int 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.
@return Workflow or combination of tasks
*/
public int getAD_Workflow_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Workflow_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_AD_WorkflowProcessor getAD_WorkflowProcessor() throws RuntimeException
{
return (I_AD_WorkflowProcessor)MTable.get(getCtx(), I_AD_WorkflowProcessor.Table_Name)
.getPO(getAD_WorkflowProcessor_ID(), get_TrxName()); }
/** Set Workflow Processor.
@param AD_WorkflowProcessor_ID
Workflow Processor Server
*/
public void setAD_WorkflowProcessor_ID (int AD_WorkflowProcessor_ID)
{
if (AD_WorkflowProcessor_ID < 1)
set_Value (COLUMNNAME_AD_WorkflowProcessor_ID, null);
else
set_Value (COLUMNNAME_AD_WorkflowProcessor_ID, Integer.valueOf(AD_WorkflowProcessor_ID));
}
/** Get Workflow Processor.
@return Workflow Processor Server
*/
public int getAD_WorkflowProcessor_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_WorkflowProcessor_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Author.
@param Author
Author/Creator of the Entity
@ -587,21 +530,10 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
return bd;
}
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order.Table_Name);
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;
}
return (org.eevolution.model.I_PP_Order)MTable.get(getCtx(), org.eevolution.model.I_PP_Order.Table_Name)
.getPO(getPP_Order_ID(), get_TrxName()); }
/** Set Manufacturing Order.
@param PP_Order_ID Manufacturing Order */
@ -623,21 +555,10 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
return ii.intValue();
}
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws RuntimeException
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order_Node.Table_Name);
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;
}
return (org.eevolution.model.I_PP_Order_Node)MTable.get(getCtx(), org.eevolution.model.I_PP_Order_Node.Table_Name)
.getPO(getPP_Order_Node_ID(), get_TrxName()); }
/** Set Manufacturing Order Activity.
@param PP_Order_Node_ID Manufacturing Order Activity */
@ -790,21 +711,10 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
return ii.intValue();
}
public I_S_Resource getS_Resource() throws RuntimeException
public I_S_Resource getS_Resource() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_S_Resource.Table_Name);
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;
}
return (I_S_Resource)MTable.get(getCtx(), I_S_Resource.Table_Name)
.getPO(getS_Resource_ID(), get_TrxName()); }
/** Set Resource.
@param S_Resource_ID
@ -869,6 +779,20 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
return bd;
}
/** Set Validate Workflow.
@param ValidateWorkflow Validate Workflow */
public void setValidateWorkflow (String ValidateWorkflow)
{
set_Value (COLUMNNAME_ValidateWorkflow, ValidateWorkflow);
}
/** Get Validate Workflow.
@return Validate Workflow */
public String getValidateWorkflow ()
{
return (String)get_Value(COLUMNNAME_ValidateWorkflow);
}
/** Set Valid from.
@param ValidFrom
Valid from including this date (first day)
@ -903,20 +827,6 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe
return (Timestamp)get_Value(COLUMNNAME_ValidTo);
}
/** Set Validate Workflow.
@param ValidateWorkflow Validate Workflow */
public void setValidateWorkflow (String ValidateWorkflow)
{
set_Value (COLUMNNAME_ValidateWorkflow, ValidateWorkflow);
}
/** Get Validate Workflow.
@return Validate Workflow */
public String getValidateWorkflow ()
{
return (String)get_Value(COLUMNNAME_ValidateWorkflow);
}
/** Set Search Key.
@param Value
Search key for the record in the format required - must be unique

View File

@ -17,12 +17,11 @@
/** 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.adempiere.model.*;
import org.compiere.model.*;
import org.compiere.util.Env;
import org.compiere.util.KeyNamePair;
@ -92,21 +91,10 @@ public class X_PP_Order_Workflow_Header_v extends PO implements I_PP_Order_Workf
return (String)get_Value(COLUMNNAME_AD_Language);
}
public I_AD_Workflow getAD_Workflow() throws RuntimeException
public I_AD_Workflow getAD_Workflow()
{
Class<?> clazz = MTable.getClass(I_AD_Workflow.Table_Name);
I_AD_Workflow result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_Workflow)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_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;
}
return (I_AD_Workflow)MTable.get(getCtx(), I_AD_Workflow.Table_Name)
.getPO(getAD_Workflow_ID(), get_TrxName()); }
/** Set Workflow.
@param AD_Workflow_ID
@ -168,21 +156,10 @@ public class X_PP_Order_Workflow_Header_v extends PO implements I_PP_Order_Workf
return (String)get_Value(COLUMNNAME_Author);
}
public I_C_Activity getC_Activity() throws RuntimeException
public I_C_Activity getC_Activity()
{
Class<?> clazz = MTable.getClass(I_C_Activity.Table_Name);
I_C_Activity result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Activity)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Activity_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;
}
return (I_C_Activity)MTable.get(getCtx(), I_C_Activity.Table_Name)
.getPO(getC_Activity_ID(), get_TrxName()); }
/** Set Activity.
@param C_Activity_ID
@ -207,21 +184,10 @@ public class X_PP_Order_Workflow_Header_v extends PO implements I_PP_Order_Workf
return ii.intValue();
}
public I_C_Campaign getC_Campaign() throws RuntimeException
public I_C_Campaign getC_Campaign()
{
Class<?> clazz = MTable.getClass(I_C_Campaign.Table_Name);
I_C_Campaign result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Campaign)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Campaign_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;
}
return (I_C_Campaign)MTable.get(getCtx(), I_C_Campaign.Table_Name)
.getPO(getC_Campaign_ID(), get_TrxName()); }
/** Set Campaign.
@param C_Campaign_ID
@ -246,21 +212,10 @@ public class X_PP_Order_Workflow_Header_v extends PO implements I_PP_Order_Workf
return ii.intValue();
}
public I_C_DocType getC_DocType() throws RuntimeException
public I_C_DocType getC_DocType()
{
Class<?> clazz = MTable.getClass(I_C_DocType.Table_Name);
I_C_DocType result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_DocType)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_DocType_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;
}
return (I_C_DocType)MTable.get(getCtx(), I_C_DocType.Table_Name)
.getPO(getC_DocType_ID(), get_TrxName()); }
/** Set Document Type.
@param C_DocType_ID
@ -285,21 +240,10 @@ public class X_PP_Order_Workflow_Header_v extends PO implements I_PP_Order_Workf
return ii.intValue();
}
public I_C_OrderLine getC_OrderLine() throws RuntimeException
public I_C_OrderLine getC_OrderLine()
{
Class<?> clazz = MTable.getClass(I_C_OrderLine.Table_Name);
I_C_OrderLine result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_OrderLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_OrderLine_ID()), get_TrxName()});
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw new RuntimeException( e );
}
return result;
}
return (I_C_OrderLine)MTable.get(getCtx(), I_C_OrderLine.Table_Name)
.getPO(getC_OrderLine_ID(), get_TrxName()); }
/** Set Sales Order Line.
@param C_OrderLine_ID
@ -324,21 +268,10 @@ public class X_PP_Order_Workflow_Header_v extends PO implements I_PP_Order_Workf
return ii.intValue();
}
public I_C_Project getC_Project() throws RuntimeException
public I_C_Project getC_Project()
{
Class<?> clazz = MTable.getClass(I_C_Project.Table_Name);
I_C_Project result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_Project)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Project_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;
}
return (I_C_Project)MTable.get(getCtx(), I_C_Project.Table_Name)
.getPO(getC_Project_ID(), get_TrxName()); }
/** Set Project.
@param C_Project_ID
@ -363,21 +296,10 @@ public class X_PP_Order_Workflow_Header_v extends PO implements I_PP_Order_Workf
return ii.intValue();
}
public I_C_UOM getC_UOM() throws RuntimeException
public I_C_UOM getC_UOM()
{
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;
}
return (I_C_UOM)MTable.get(getCtx(), I_C_UOM.Table_Name)
.getPO(getC_UOM_ID(), get_TrxName()); }
/** Set UOM.
@param C_UOM_ID
@ -798,21 +720,10 @@ public class X_PP_Order_Workflow_Header_v extends PO implements I_PP_Order_Workf
return (String)get_Value(COLUMNNAME_Lot);
}
public I_M_Warehouse getM_Warehouse() throws RuntimeException
public I_M_Warehouse getM_Warehouse()
{
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;
}
return (I_M_Warehouse)MTable.get(getCtx(), I_M_Warehouse.Table_Name)
.getPO(getM_Warehouse_ID(), get_TrxName()); }
/** Set Warehouse.
@param M_Warehouse_ID
@ -879,6 +790,11 @@ public class X_PP_Order_Workflow_Header_v extends PO implements I_PP_Order_Workf
return new KeyNamePair(get_ID(), getName());
}
public I_C_Location getOrg_Location()
{
return (I_C_Location)MTable.get(getCtx(), I_C_Location.Table_Name)
.getPO(getOrg_Location_ID(), get_TrxName()); }
/** Set Org Address.
@param Org_Location_ID
Organization Location/Address
@ -922,21 +838,35 @@ public class X_PP_Order_Workflow_Header_v extends PO implements I_PP_Order_Workf
return bd;
}
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException
public I_AD_User getPlanner()
{
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;
}
return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name)
.getPO(getPlanner_ID(), get_TrxName()); }
/** Set Planner.
@param Planner_ID Planner */
public void setPlanner_ID (int Planner_ID)
{
if (Planner_ID < 1)
set_Value (COLUMNNAME_Planner_ID, null);
else
set_Value (COLUMNNAME_Planner_ID, Integer.valueOf(Planner_ID));
}
/** Get Planner.
@return Planner */
public int getPlanner_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_Planner_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_PP_Order getPP_Order()
{
return (org.eevolution.model.I_PP_Order)MTable.get(getCtx(), org.eevolution.model.I_PP_Order.Table_Name)
.getPO(getPP_Order_ID(), get_TrxName()); }
/** Set Manufacturing Order.
@param PP_Order_ID Manufacturing Order */
@ -958,21 +888,10 @@ public class X_PP_Order_Workflow_Header_v extends PO implements I_PP_Order_Workf
return ii.intValue();
}
public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws RuntimeException
public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM()
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Product_BOM.Table_Name);
org.eevolution.model.I_PP_Product_BOM result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_PP_Product_BOM)constructor.newInstance(new Object[] {getCtx(), new Integer(getPP_Product_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;
}
return (org.eevolution.model.I_PP_Product_BOM)MTable.get(getCtx(), org.eevolution.model.I_PP_Product_BOM.Table_Name)
.getPO(getPP_Product_BOM_ID(), get_TrxName()); }
/** Set BOM & Formula.
@param PP_Product_BOM_ID
@ -997,26 +916,6 @@ public class X_PP_Order_Workflow_Header_v extends PO implements I_PP_Order_Workf
return ii.intValue();
}
/** Set Planner.
@param Planner_ID Planner */
public void setPlanner_ID (int Planner_ID)
{
if (Planner_ID < 1)
set_Value (COLUMNNAME_Planner_ID, null);
else
set_Value (COLUMNNAME_Planner_ID, Integer.valueOf(Planner_ID));
}
/** Get Planner.
@return Planner */
public int getPlanner_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_Planner_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** PriorityRule AD_Reference_ID=154 */
public static final int PRIORITYRULE_AD_Reference_ID=154;
/** High = 3 */
@ -1071,23 +970,6 @@ public class X_PP_Order_Workflow_Header_v extends PO implements I_PP_Order_Workf
return false;
}
/** 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 Qty Batchs.
@param QtyBatchs Qty Batchs */
public void setQtyBatchs (BigDecimal QtyBatchs)
@ -1105,6 +987,23 @@ public class X_PP_Order_Workflow_Header_v extends PO implements I_PP_Order_Workf
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
@ -1239,21 +1138,10 @@ public class X_PP_Order_Workflow_Header_v extends PO implements I_PP_Order_Workf
return ii.intValue();
}
public I_S_Resource getS_Resource() throws RuntimeException
public I_S_Resource getS_Resource()
{
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;
}
return (I_S_Resource)MTable.get(getCtx(), I_S_Resource.Table_Name)
.getPO(getS_Resource_ID(), get_TrxName()); }
/** Set Resource.
@param S_Resource_ID
@ -1440,6 +1328,11 @@ public class X_PP_Order_Workflow_Header_v extends PO implements I_PP_Order_Workf
return ii.intValue();
}
public I_C_Location getWarehouse_Location()
{
return (I_C_Location)MTable.get(getCtx(), I_C_Location.Table_Name)
.getPO(getWarehouse_Location_ID(), get_TrxName()); }
/** Set Warehouse Address.
@param Warehouse_Location_ID
Warehouse Location/Address

View File

@ -17,11 +17,9 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
@ -147,21 +145,10 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste
return (String)get_Value(COLUMNNAME_BOMUse);
}
public I_C_UOM getC_UOM() throws RuntimeException
public I_C_UOM getC_UOM() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_UOM.Table_Name);
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;
}
return (I_C_UOM)MTable.get(getCtx(), I_C_UOM.Table_Name)
.getPO(getC_UOM_ID(), get_TrxName()); }
/** Set UOM.
@param C_UOM_ID
@ -254,6 +241,11 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste
return (String)get_Value(COLUMNNAME_Help);
}
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException
{
return (I_M_AttributeSetInstance)MTable.get(getCtx(), I_M_AttributeSetInstance.Table_Name)
.getPO(getM_AttributeSetInstance_ID(), get_TrxName()); }
/** Set Attribute Set Instance.
@param M_AttributeSetInstance_ID
Product Attribute Set Instance
@ -277,21 +269,10 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste
return ii.intValue();
}
public I_M_ChangeNotice getM_ChangeNotice() throws RuntimeException
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;
}
return (I_M_ChangeNotice)MTable.get(getCtx(), I_M_ChangeNotice.Table_Name)
.getPO(getM_ChangeNotice_ID(), get_TrxName()); }
/** Set Change Notice.
@param M_ChangeNotice_ID
@ -316,21 +297,10 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste
return ii.intValue();
}
public I_M_Product getM_Product() throws RuntimeException
public I_M_Product getM_Product() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_Product.Table_Name);
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;
}
return (I_M_Product)MTable.get(getCtx(), I_M_Product.Table_Name)
.getPO(getM_Product_ID(), get_TrxName()); }
/** Set Product.
@param M_Product_ID

View File

@ -17,12 +17,10 @@
/** 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;
@ -49,8 +47,8 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_
setLine (0);
// @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM PP_Product_BOMLine WHERE PP_Product_BOM_ID=@PP_Product_BOM_ID@
setM_Product_ID (0);
setPP_Product_BOMLine_ID (0);
setPP_Product_BOM_ID (0);
setPP_Product_BOMLine_ID (0);
setValidFrom (new Timestamp( System.currentTimeMillis() ));
// @#Date@
} */
@ -121,21 +119,10 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_
return (String)get_Value(COLUMNNAME_BackflushGroup);
}
public I_C_UOM getC_UOM() throws RuntimeException
public I_C_UOM getC_UOM() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_UOM.Table_Name);
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;
}
return (I_C_UOM)MTable.get(getCtx(), I_C_UOM.Table_Name)
.getPO(getC_UOM_ID(), get_TrxName()); }
/** Set UOM.
@param C_UOM_ID
@ -383,6 +370,11 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_
return ii.intValue();
}
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException
{
return (I_M_AttributeSetInstance)MTable.get(getCtx(), I_M_AttributeSetInstance.Table_Name)
.getPO(getM_AttributeSetInstance_ID(), get_TrxName()); }
/** Set Attribute Set Instance.
@param M_AttributeSetInstance_ID
Product Attribute Set Instance
@ -406,21 +398,10 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_
return ii.intValue();
}
public I_M_ChangeNotice getM_ChangeNotice() throws RuntimeException
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;
}
return (I_M_ChangeNotice)MTable.get(getCtx(), I_M_ChangeNotice.Table_Name)
.getPO(getM_ChangeNotice_ID(), get_TrxName()); }
/** Set Change Notice.
@param M_ChangeNotice_ID
@ -445,21 +426,10 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_
return ii.intValue();
}
public I_M_Product getM_Product() throws RuntimeException
public I_M_Product getM_Product() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_Product.Table_Name);
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;
}
return (I_M_Product)MTable.get(getCtx(), I_M_Product.Table_Name)
.getPO(getM_Product_ID(), get_TrxName()); }
/** Set Product.
@param M_Product_ID
@ -492,44 +462,10 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_
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)
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.
@return BOM Line
*/
public int getPP_Product_BOMLine_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Product_BOMLine_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws RuntimeException
public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Product_BOM.Table_Name);
org.eevolution.model.I_PP_Product_BOM result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_PP_Product_BOM)constructor.newInstance(new Object[] {getCtx(), new Integer(getPP_Product_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;
}
return (org.eevolution.model.I_PP_Product_BOM)MTable.get(getCtx(), org.eevolution.model.I_PP_Product_BOM.Table_Name)
.getPO(getPP_Product_BOM_ID(), get_TrxName()); }
/** Set BOM & Formula.
@param PP_Product_BOM_ID
@ -554,24 +490,27 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_
return ii.intValue();
}
/** Set Quantity.
@param QtyBOM
Indicate the Quantity use in this BOM
/** Set BOM Line.
@param PP_Product_BOMLine_ID
BOM Line
*/
public void setQtyBOM (BigDecimal QtyBOM)
public void setPP_Product_BOMLine_ID (int PP_Product_BOMLine_ID)
{
set_Value (COLUMNNAME_QtyBOM, QtyBOM);
if (PP_Product_BOMLine_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Product_BOMLine_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Product_BOMLine_ID, Integer.valueOf(PP_Product_BOMLine_ID));
}
/** Get Quantity.
@return Indicate the Quantity use in this BOM
/** Get BOM Line.
@return BOM Line
*/
public BigDecimal getQtyBOM ()
public int getPP_Product_BOMLine_ID ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyBOM);
if (bd == null)
return Env.ZERO;
return bd;
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Product_BOMLine_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Quantity in %.
@ -594,6 +533,26 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_
return bd;
}
/** Set Quantity.
@param QtyBOM
Indicate the Quantity use in this BOM
*/
public void setQtyBOM (BigDecimal QtyBOM)
{
set_Value (COLUMNNAME_QtyBOM, QtyBOM);
}
/** Get Quantity.
@return Indicate the Quantity use in this BOM
*/
public BigDecimal getQtyBOM ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyBOM);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set % Scrap.
@param Scrap
Indicate the % Scrap for calculate the Scrap Quantity

View File

@ -17,11 +17,9 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.math.BigDecimal;
import java.sql.ResultSet;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import org.compiere.util.Env;
@ -79,21 +77,10 @@ public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning,
return sb.toString();
}
public I_AD_Workflow getAD_Workflow() throws RuntimeException
public I_AD_Workflow getAD_Workflow() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_Workflow.Table_Name);
I_AD_Workflow result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_Workflow)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_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;
}
return (I_AD_Workflow)MTable.get(getCtx(), I_AD_Workflow.Table_Name)
.getPO(getAD_Workflow_ID(), get_TrxName()); }
/** Set Workflow.
@param AD_Workflow_ID
@ -118,21 +105,10 @@ public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning,
return ii.intValue();
}
public org.eevolution.model.I_DD_NetworkDistribution getDD_NetworkDistribution() throws RuntimeException
public org.eevolution.model.I_DD_NetworkDistribution getDD_NetworkDistribution() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_DD_NetworkDistribution.Table_Name);
org.eevolution.model.I_DD_NetworkDistribution result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_DD_NetworkDistribution)constructor.newInstance(new Object[] {getCtx(), new Integer(getDD_NetworkDistribution_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;
}
return (org.eevolution.model.I_DD_NetworkDistribution)MTable.get(getCtx(), org.eevolution.model.I_DD_NetworkDistribution.Table_Name)
.getPO(getDD_NetworkDistribution_ID(), get_TrxName()); }
/** Set Network Distribution.
@param DD_NetworkDistribution_ID Network Distribution */
@ -285,21 +261,10 @@ public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning,
return false;
}
public I_M_Product getM_Product() throws RuntimeException
public I_M_Product getM_Product() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_Product.Table_Name);
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;
}
return (I_M_Product)MTable.get(getCtx(), I_M_Product.Table_Name)
.getPO(getM_Product_ID(), get_TrxName()); }
/** Set Product.
@param M_Product_ID
@ -324,21 +289,10 @@ public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning,
return ii.intValue();
}
public I_M_Warehouse getM_Warehouse() throws RuntimeException
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;
}
return (I_M_Warehouse)MTable.get(getCtx(), I_M_Warehouse.Table_Name)
.getPO(getM_Warehouse_ID(), get_TrxName()); }
/** Set Warehouse.
@param M_Warehouse_ID
@ -444,8 +398,8 @@ public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning,
public static final int ORDER_POLICY_AD_Reference_ID=53228;
/** Fixed Order Quantity = FOQ */
public static final String ORDER_POLICY_FixedOrderQuantity = "FOQ";
/** Lote For Lote = LFL */
public static final String ORDER_POLICY_LoteForLote = "LFL";
/** Lot-for-Lot = LFL */
public static final String ORDER_POLICY_Lot_For_Lot = "LFL";
/** Period Order Quantity = POQ */
public static final String ORDER_POLICY_PeriodOrderQuantity = "POQ";
/** Set Order Policy.
@ -480,21 +434,35 @@ public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning,
return bd;
}
public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws RuntimeException
public I_AD_User getPlanner() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Product_BOM.Table_Name);
org.eevolution.model.I_PP_Product_BOM result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_PP_Product_BOM)constructor.newInstance(new Object[] {getCtx(), new Integer(getPP_Product_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;
}
return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name)
.getPO(getPlanner_ID(), get_TrxName()); }
/** Set Planner.
@param Planner_ID Planner */
public void setPlanner_ID (int Planner_ID)
{
if (Planner_ID < 1)
set_Value (COLUMNNAME_Planner_ID, null);
else
set_Value (COLUMNNAME_Planner_ID, Integer.valueOf(Planner_ID));
}
/** Get Planner.
@return Planner */
public int getPlanner_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_Planner_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws RuntimeException
{
return (org.eevolution.model.I_PP_Product_BOM)MTable.get(getCtx(), org.eevolution.model.I_PP_Product_BOM.Table_Name)
.getPO(getPP_Product_BOM_ID(), get_TrxName()); }
/** Set BOM & Formula.
@param PP_Product_BOM_ID
@ -539,41 +507,10 @@ public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning,
return ii.intValue();
}
/** Set Planner.
@param Planner_ID Planner */
public void setPlanner_ID (int Planner_ID)
{
if (Planner_ID < 1)
set_Value (COLUMNNAME_Planner_ID, null);
else
set_Value (COLUMNNAME_Planner_ID, Integer.valueOf(Planner_ID));
}
/** Get Planner.
@return Planner */
public int getPlanner_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_Planner_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_S_Resource getS_Resource() throws RuntimeException
public I_S_Resource getS_Resource() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_S_Resource.Table_Name);
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;
}
return (I_S_Resource)MTable.get(getCtx(), I_S_Resource.Table_Name)
.getPO(getS_Resource_ID(), get_TrxName()); }
/** Set Resource.
@param S_Resource_ID

View File

@ -17,10 +17,8 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.sql.ResultSet;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
/** Generated Model for PP_WF_Node_Asset
@ -40,8 +38,8 @@ public class X_PP_WF_Node_Asset extends PO implements I_PP_WF_Node_Asset, I_Pers
super (ctx, PP_WF_Node_Asset_ID, trxName);
/** if (PP_WF_Node_Asset_ID == 0)
{
setAD_WF_Node_ID (0);
setA_Asset_ID (0);
setAD_WF_Node_ID (0);
setPP_WF_Node_Asset_ID (0);
setSeqNo (0);
} */
@ -75,60 +73,10 @@ public class X_PP_WF_Node_Asset extends PO implements I_PP_WF_Node_Asset, I_Pers
return sb.toString();
}
public I_AD_WF_Node getAD_WF_Node() throws RuntimeException
public I_A_Asset getA_Asset() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_WF_Node.Table_Name);
I_AD_WF_Node result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_WF_Node)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_WF_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 Node.
@param AD_WF_Node_ID
Workflow Node (activity), step or process
*/
public void setAD_WF_Node_ID (int 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.
@return Workflow Node (activity), step or process
*/
public int getAD_WF_Node_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_WF_Node_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_A_Asset getA_Asset() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_A_Asset.Table_Name);
I_A_Asset result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_A_Asset)constructor.newInstance(new Object[] {getCtx(), new Integer(getA_Asset_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;
}
return (I_A_Asset)MTable.get(getCtx(), I_A_Asset.Table_Name)
.getPO(getA_Asset_ID(), get_TrxName()); }
/** Set Asset.
@param A_Asset_ID
@ -153,6 +101,34 @@ public class X_PP_WF_Node_Asset extends PO implements I_PP_WF_Node_Asset, I_Pers
return ii.intValue();
}
public I_AD_WF_Node getAD_WF_Node() throws RuntimeException
{
return (I_AD_WF_Node)MTable.get(getCtx(), I_AD_WF_Node.Table_Name)
.getPO(getAD_WF_Node_ID(), get_TrxName()); }
/** Set Node.
@param AD_WF_Node_ID
Workflow Node (activity), step or process
*/
public void setAD_WF_Node_ID (int 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.
@return Workflow Node (activity), step or process
*/
public int getAD_WF_Node_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_WF_Node_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Workflow Node Asset.
@param PP_WF_Node_Asset_ID Workflow Node Asset */
public void setPP_WF_Node_Asset_ID (int PP_WF_Node_Asset_ID)

View File

@ -17,11 +17,9 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.math.BigDecimal;
import java.sql.ResultSet;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import org.compiere.util.Env;
@ -78,21 +76,10 @@ public class X_PP_WF_Node_Product extends PO implements I_PP_WF_Node_Product, I_
return sb.toString();
}
public I_AD_WF_Node getAD_WF_Node() throws RuntimeException
public I_AD_WF_Node getAD_WF_Node() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_WF_Node.Table_Name);
I_AD_WF_Node result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_WF_Node)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_WF_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;
}
return (I_AD_WF_Node)MTable.get(getCtx(), I_AD_WF_Node.Table_Name)
.getPO(getAD_WF_Node_ID(), get_TrxName()); }
/** Set Node.
@param AD_WF_Node_ID
@ -184,21 +171,10 @@ public class X_PP_WF_Node_Product extends PO implements I_PP_WF_Node_Product, I_
return false;
}
public I_M_Product getM_Product() throws RuntimeException
public I_M_Product getM_Product() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_Product.Table_Name);
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;
}
return (I_M_Product)MTable.get(getCtx(), I_M_Product.Table_Name)
.getPO(getM_Product_ID(), get_TrxName()); }
/** Set Product.
@param M_Product_ID

View File

@ -17,11 +17,9 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
/** Generated Model for QM_Specification
@ -75,21 +73,10 @@ public class X_QM_Specification extends PO implements I_QM_Specification, I_Pers
return sb.toString();
}
public I_AD_Workflow getAD_Workflow() throws RuntimeException
public I_AD_Workflow getAD_Workflow() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_Workflow.Table_Name);
I_AD_Workflow result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_Workflow)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_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;
}
return (I_AD_Workflow)MTable.get(getCtx(), I_AD_Workflow.Table_Name)
.getPO(getAD_Workflow_ID(), get_TrxName()); }
/** Set Workflow.
@param AD_Workflow_ID
@ -131,21 +118,10 @@ public class X_QM_Specification extends PO implements I_QM_Specification, I_Pers
return (String)get_Value(COLUMNNAME_Description);
}
public I_M_AttributeSet getM_AttributeSet() throws RuntimeException
public I_M_AttributeSet getM_AttributeSet() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_AttributeSet.Table_Name);
I_M_AttributeSet result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_M_AttributeSet)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_AttributeSet_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;
}
return (I_M_AttributeSet)MTable.get(getCtx(), I_M_AttributeSet.Table_Name)
.getPO(getM_AttributeSet_ID(), get_TrxName()); }
/** Set Attribute Set.
@param M_AttributeSet_ID
@ -170,21 +146,10 @@ public class X_QM_Specification extends PO implements I_QM_Specification, I_Pers
return ii.intValue();
}
public I_M_Product getM_Product() throws RuntimeException
public I_M_Product getM_Product() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_Product.Table_Name);
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;
}
return (I_M_Product)MTable.get(getCtx(), I_M_Product.Table_Name)
.getPO(getM_Product_ID(), get_TrxName()); }
/** Set Product.
@param M_Product_ID
@ -226,21 +191,10 @@ public class X_QM_Specification extends PO implements I_QM_Specification, I_Pers
return (String)get_Value(COLUMNNAME_Name);
}
public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws RuntimeException
public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Product_BOM.Table_Name);
org.eevolution.model.I_PP_Product_BOM result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_PP_Product_BOM)constructor.newInstance(new Object[] {getCtx(), new Integer(getPP_Product_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;
}
return (org.eevolution.model.I_PP_Product_BOM)MTable.get(getCtx(), org.eevolution.model.I_PP_Product_BOM.Table_Name)
.getPO(getPP_Product_BOM_ID(), get_TrxName()); }
/** Set BOM & Formula.
@param PP_Product_BOM_ID

View File

@ -17,11 +17,9 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
/** Generated Model for QM_SpecificationLine
@ -100,21 +98,10 @@ public class X_QM_SpecificationLine extends PO implements I_QM_SpecificationLine
return (String)get_Value(COLUMNNAME_AndOr);
}
public I_M_Attribute getM_Attribute() throws RuntimeException
public I_M_Attribute getM_Attribute() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_Attribute.Table_Name);
I_M_Attribute result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_M_Attribute)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Attribute_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;
}
return (I_M_Attribute)MTable.get(getCtx(), I_M_Attribute.Table_Name)
.getPO(getM_Attribute_ID(), get_TrxName()); }
/** Set Attribute.
@param M_Attribute_ID
@ -177,41 +164,10 @@ public class X_QM_SpecificationLine extends PO implements I_QM_SpecificationLine
return (String)get_Value(COLUMNNAME_Operation);
}
/** Set QM_SpecificationLine_ID.
@param QM_SpecificationLine_ID QM_SpecificationLine_ID */
public void setQM_SpecificationLine_ID (int 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.
@return QM_SpecificationLine_ID */
public int getQM_SpecificationLine_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_QM_SpecificationLine_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_QM_Specification getQM_Specification() throws RuntimeException
public org.eevolution.model.I_QM_Specification getQM_Specification() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_QM_Specification.Table_Name);
org.eevolution.model.I_QM_Specification result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_QM_Specification)constructor.newInstance(new Object[] {getCtx(), new Integer(getQM_Specification_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;
}
return (org.eevolution.model.I_QM_Specification)MTable.get(getCtx(), org.eevolution.model.I_QM_Specification.Table_Name)
.getPO(getQM_Specification_ID(), get_TrxName()); }
/** Set Quality Specification.
@param QM_Specification_ID Quality Specification */
@ -233,6 +189,26 @@ public class X_QM_SpecificationLine extends PO implements I_QM_SpecificationLine
return ii.intValue();
}
/** Set QM_SpecificationLine_ID.
@param QM_SpecificationLine_ID QM_SpecificationLine_ID */
public void setQM_SpecificationLine_ID (int 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.
@return QM_SpecificationLine_ID */
public int getQM_SpecificationLine_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_QM_SpecificationLine_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Sequence.
@param SeqNo
Method of ordering records; lowest number comes first

View File

@ -17,11 +17,9 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.math.BigDecimal;
import java.sql.ResultSet;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import org.compiere.util.Env;
@ -75,21 +73,10 @@ public class X_T_BOMLine extends PO implements I_T_BOMLine, I_Persistent
return sb.toString();
}
public I_AD_PInstance getAD_PInstance() throws RuntimeException
public I_AD_PInstance getAD_PInstance() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_PInstance.Table_Name);
I_AD_PInstance result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_PInstance)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_PInstance_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;
}
return (I_AD_PInstance)MTable.get(getCtx(), I_AD_PInstance.Table_Name)
.getPO(getAD_PInstance_ID(), get_TrxName()); }
/** Set Process Instance.
@param AD_PInstance_ID
@ -114,21 +101,10 @@ public class X_T_BOMLine extends PO implements I_T_BOMLine, I_Persistent
return ii.intValue();
}
public I_C_AcctSchema getC_AcctSchema() throws RuntimeException
public I_C_AcctSchema getC_AcctSchema() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_C_AcctSchema.Table_Name);
I_C_AcctSchema result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_C_AcctSchema)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_AcctSchema_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;
}
return (I_C_AcctSchema)MTable.get(getCtx(), I_C_AcctSchema.Table_Name)
.getPO(getC_AcctSchema_ID(), get_TrxName()); }
/** Set Accounting Schema.
@param C_AcctSchema_ID
@ -173,26 +149,6 @@ public class X_T_BOMLine extends PO implements I_T_BOMLine, I_Persistent
return bd;
}
/** Set Standard Cost.
@param CostStandard
Standard Costs
*/
public void setCostStandard (BigDecimal CostStandard)
{
set_Value (COLUMNNAME_CostStandard, CostStandard);
}
/** Get Standard Cost.
@return Standard Costs
*/
public BigDecimal getCostStandard ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CostStandard);
if (bd == null)
return Env.ZERO;
return bd;
}
/** CostingMethod AD_Reference_ID=122 */
public static final int COSTINGMETHOD_AD_Reference_ID=122;
/** Standard Costing = S */
@ -231,6 +187,26 @@ public class X_T_BOMLine extends PO implements I_T_BOMLine, I_Persistent
return (String)get_Value(COLUMNNAME_CostingMethod);
}
/** Set Standard Cost.
@param CostStandard
Standard Costs
*/
public void setCostStandard (BigDecimal CostStandard)
{
set_Value (COLUMNNAME_CostStandard, CostStandard);
}
/** Get Standard Cost.
@return Standard Costs
*/
public BigDecimal getCostStandard ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CostStandard);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Current Cost Price.
@param CurrentCostPrice
The currently used cost price
@ -384,21 +360,10 @@ public class X_T_BOMLine extends PO implements I_T_BOMLine, I_Persistent
return (String)get_Value(COLUMNNAME_Levels);
}
public I_M_CostElement getM_CostElement() throws RuntimeException
public I_M_CostElement getM_CostElement() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_CostElement.Table_Name);
I_M_CostElement result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_M_CostElement)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_CostElement_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;
}
return (I_M_CostElement)MTable.get(getCtx(), I_M_CostElement.Table_Name)
.getPO(getM_CostElement_ID(), get_TrxName()); }
/** Set Cost Element.
@param M_CostElement_ID
@ -423,21 +388,10 @@ public class X_T_BOMLine extends PO implements I_T_BOMLine, I_Persistent
return ii.intValue();
}
public I_M_CostType getM_CostType() throws RuntimeException
public I_M_CostType getM_CostType() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_CostType.Table_Name);
I_M_CostType result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_M_CostType)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_CostType_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;
}
return (I_M_CostType)MTable.get(getCtx(), I_M_CostType.Table_Name)
.getPO(getM_CostType_ID(), get_TrxName()); }
/** Set Cost Type.
@param M_CostType_ID
@ -462,21 +416,10 @@ public class X_T_BOMLine extends PO implements I_T_BOMLine, I_Persistent
return ii.intValue();
}
public I_M_Product getM_Product() throws RuntimeException
public I_M_Product getM_Product() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_Product.Table_Name);
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;
}
return (I_M_Product)MTable.get(getCtx(), I_M_Product.Table_Name)
.getPO(getM_Product_ID(), get_TrxName()); }
/** Set Product.
@param M_Product_ID
@ -501,60 +444,10 @@ public class X_T_BOMLine extends PO implements I_T_BOMLine, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_PP_Product_BOMLine getPP_Product_BOMLine() throws RuntimeException
public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Product_BOMLine.Table_Name);
org.eevolution.model.I_PP_Product_BOMLine result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_PP_Product_BOMLine)constructor.newInstance(new Object[] {getCtx(), new Integer(getPP_Product_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 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)
set_Value (COLUMNNAME_PP_Product_BOMLine_ID, null);
else
set_Value (COLUMNNAME_PP_Product_BOMLine_ID, Integer.valueOf(PP_Product_BOMLine_ID));
}
/** Get BOM Line.
@return BOM Line
*/
public int getPP_Product_BOMLine_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Product_BOMLine_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws RuntimeException
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Product_BOM.Table_Name);
org.eevolution.model.I_PP_Product_BOM result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_PP_Product_BOM)constructor.newInstance(new Object[] {getCtx(), new Integer(getPP_Product_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;
}
return (org.eevolution.model.I_PP_Product_BOM)MTable.get(getCtx(), org.eevolution.model.I_PP_Product_BOM.Table_Name)
.getPO(getPP_Product_BOM_ID(), get_TrxName()); }
/** Set BOM & Formula.
@param PP_Product_BOM_ID
@ -579,6 +472,34 @@ public class X_T_BOMLine extends PO implements I_T_BOMLine, I_Persistent
return ii.intValue();
}
public org.eevolution.model.I_PP_Product_BOMLine getPP_Product_BOMLine() throws RuntimeException
{
return (org.eevolution.model.I_PP_Product_BOMLine)MTable.get(getCtx(), org.eevolution.model.I_PP_Product_BOMLine.Table_Name)
.getPO(getPP_Product_BOMLine_ID(), get_TrxName()); }
/** 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)
set_Value (COLUMNNAME_PP_Product_BOMLine_ID, null);
else
set_Value (COLUMNNAME_PP_Product_BOMLine_ID, Integer.valueOf(PP_Product_BOMLine_ID));
}
/** Get BOM Line.
@return BOM Line
*/
public int getPP_Product_BOMLine_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Product_BOMLine_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Quantity.
@param QtyBOM
Indicate the Quantity use in this BOM

View File

@ -17,10 +17,8 @@
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.lang.reflect.Constructor;
import java.sql.ResultSet;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
/** Generated Model for T_MRP_CRP
@ -72,21 +70,10 @@ public class X_T_MRP_CRP extends PO implements I_T_MRP_CRP, I_Persistent
return sb.toString();
}
public I_AD_PInstance getAD_PInstance() throws RuntimeException
public I_AD_PInstance getAD_PInstance() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_PInstance.Table_Name);
I_AD_PInstance result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_AD_PInstance)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_PInstance_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;
}
return (I_AD_PInstance)MTable.get(getCtx(), I_AD_PInstance.Table_Name)
.getPO(getAD_PInstance_ID(), get_TrxName()); }
/** Set Process Instance.
@param AD_PInstance_ID