diff --git a/base/src/org/compiere/model/X_B_Offer.java b/base/src/org/compiere/model/X_B_Offer.java index fb2725d482..dd334cd3dd 100644 --- a/base/src/org/compiere/model/X_B_Offer.java +++ b/base/src/org/compiere/model/X_B_Offer.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for B_Offer * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_B_Offer extends PO implements I_B_Offer, I_Persistent { @@ -77,7 +77,7 @@ public class X_B_Offer extends PO implements I_B_Offer, I_Persistent return sb.toString(); } - public I_AD_User getAD_User() throws Exception + public I_AD_User getAD_User() throws RuntimeException { Class clazz = MTable.getClass(I_AD_User.Table_Name); I_AD_User result = null; @@ -88,7 +88,7 @@ public class X_B_Offer extends PO implements I_B_Offer, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -137,7 +137,7 @@ public class X_B_Offer extends PO implements I_B_Offer, I_Persistent return ii.intValue(); } - public I_B_SellerFunds getB_SellerFunds() throws Exception + public I_B_SellerFunds getB_SellerFunds() throws RuntimeException { Class clazz = MTable.getClass(I_B_SellerFunds.Table_Name); I_B_SellerFunds result = null; @@ -148,7 +148,7 @@ public class X_B_Offer extends PO implements I_B_Offer, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -175,7 +175,7 @@ public class X_B_Offer extends PO implements I_B_Offer, I_Persistent return ii.intValue(); } - public I_B_Topic getB_Topic() throws Exception + public I_B_Topic getB_Topic() throws RuntimeException { Class clazz = MTable.getClass(I_B_Topic.Table_Name); I_B_Topic result = null; @@ -186,7 +186,7 @@ public class X_B_Offer extends PO implements I_B_Offer, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_B_Seller.java b/base/src/org/compiere/model/X_B_Seller.java index 38a5c9b5b3..68d34f0d90 100644 --- a/base/src/org/compiere/model/X_B_Seller.java +++ b/base/src/org/compiere/model/X_B_Seller.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for B_Seller * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_B_Seller extends PO implements I_B_Seller, I_Persistent { @@ -76,7 +76,7 @@ public class X_B_Seller extends PO implements I_B_Seller, I_Persistent return sb.toString(); } - public I_AD_User getAD_User() throws Exception + public I_AD_User getAD_User() throws RuntimeException { Class clazz = MTable.getClass(I_AD_User.Table_Name); I_AD_User result = null; @@ -87,7 +87,7 @@ public class X_B_Seller extends PO implements I_B_Seller, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_B_SellerFunds.java b/base/src/org/compiere/model/X_B_SellerFunds.java index c6c039ab46..ee2392be8a 100644 --- a/base/src/org/compiere/model/X_B_SellerFunds.java +++ b/base/src/org/compiere/model/X_B_SellerFunds.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for B_SellerFunds * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_B_SellerFunds extends PO implements I_B_SellerFunds, I_Persistent { @@ -77,7 +77,7 @@ public class X_B_SellerFunds extends PO implements I_B_SellerFunds, I_Persistent return sb.toString(); } - public I_AD_User getAD_User() throws Exception + public I_AD_User getAD_User() throws RuntimeException { Class clazz = MTable.getClass(I_AD_User.Table_Name); I_AD_User result = null; @@ -88,7 +88,7 @@ public class X_B_SellerFunds extends PO implements I_B_SellerFunds, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -167,7 +167,7 @@ public class X_B_SellerFunds extends PO implements I_B_SellerFunds, I_Persistent return bd; } - public I_C_Order getC_Order() throws Exception + public I_C_Order getC_Order() throws RuntimeException { Class clazz = MTable.getClass(I_C_Order.Table_Name); I_C_Order result = null; @@ -178,7 +178,7 @@ public class X_B_SellerFunds extends PO implements I_B_SellerFunds, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -206,7 +206,7 @@ public class X_B_SellerFunds extends PO implements I_B_SellerFunds, I_Persistent return ii.intValue(); } - public I_C_Payment getC_Payment() throws Exception + public I_C_Payment getC_Payment() throws RuntimeException { Class clazz = MTable.getClass(I_C_Payment.Table_Name); I_C_Payment result = null; @@ -217,7 +217,7 @@ public class X_B_SellerFunds extends PO implements I_B_SellerFunds, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_B_Topic.java b/base/src/org/compiere/model/X_B_Topic.java index 34d2e5a4ae..312e02d985 100644 --- a/base/src/org/compiere/model/X_B_Topic.java +++ b/base/src/org/compiere/model/X_B_Topic.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for B_Topic * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_B_Topic extends PO implements I_B_Topic, I_Persistent { @@ -82,7 +82,7 @@ public class X_B_Topic extends PO implements I_B_Topic, I_Persistent return sb.toString(); } - public I_B_TopicCategory getB_TopicCategory() throws Exception + public I_B_TopicCategory getB_TopicCategory() throws RuntimeException { Class clazz = MTable.getClass(I_B_TopicCategory.Table_Name); I_B_TopicCategory result = null; @@ -93,7 +93,7 @@ public class X_B_Topic extends PO implements I_B_Topic, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -142,7 +142,7 @@ public class X_B_Topic extends PO implements I_B_Topic, I_Persistent return ii.intValue(); } - public I_B_TopicType getB_TopicType() throws Exception + public I_B_TopicType getB_TopicType() throws RuntimeException { Class clazz = MTable.getClass(I_B_TopicType.Table_Name); I_B_TopicType result = null; @@ -153,7 +153,7 @@ public class X_B_Topic extends PO implements I_B_Topic, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_B_TopicCategory.java b/base/src/org/compiere/model/X_B_TopicCategory.java index a49b16fe23..0697d2e102 100644 --- a/base/src/org/compiere/model/X_B_TopicCategory.java +++ b/base/src/org/compiere/model/X_B_TopicCategory.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for B_TopicCategory * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_B_TopicCategory extends PO implements I_B_TopicCategory, I_Persistent { @@ -96,7 +96,7 @@ public class X_B_TopicCategory extends PO implements I_B_TopicCategory, I_Persis return ii.intValue(); } - public I_B_TopicType getB_TopicType() throws Exception + public I_B_TopicType getB_TopicType() throws RuntimeException { Class clazz = MTable.getClass(I_B_TopicType.Table_Name); I_B_TopicType result = null; @@ -107,7 +107,7 @@ public class X_B_TopicCategory extends PO implements I_B_TopicCategory, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_B_TopicType.java b/base/src/org/compiere/model/X_B_TopicType.java index 254115bd5b..ead1c128dc 100644 --- a/base/src/org/compiere/model/X_B_TopicType.java +++ b/base/src/org/compiere/model/X_B_TopicType.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for B_TopicType * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_B_TopicType extends PO implements I_B_TopicType, I_Persistent { @@ -149,7 +149,7 @@ public class X_B_TopicType extends PO implements I_B_TopicType, I_Persistent return (String)get_Value(COLUMNNAME_Help); } - public I_M_PriceList getM_PriceList() throws Exception + public I_M_PriceList getM_PriceList() throws RuntimeException { Class clazz = MTable.getClass(I_M_PriceList.Table_Name); I_M_PriceList result = null; @@ -160,7 +160,7 @@ public class X_B_TopicType extends PO implements I_B_TopicType, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -187,7 +187,7 @@ public class X_B_TopicType extends PO implements I_B_TopicType, I_Persistent return ii.intValue(); } - public I_M_Product getM_Product() throws Exception + public I_M_Product getM_Product() throws RuntimeException { Class clazz = MTable.getClass(I_M_Product.Table_Name); I_M_Product result = null; @@ -198,7 +198,7 @@ public class X_B_TopicType extends PO implements I_B_TopicType, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -225,8 +225,6 @@ public class X_B_TopicType extends PO implements I_B_TopicType, I_Persistent return ii.intValue(); } - /** M_ProductMember_ID AD_Reference_ID=162 */ - public static final int M_PRODUCTMEMBER_ID_AD_Reference_ID=162; /** Set Membership. @param M_ProductMember_ID Product used to deternine the price of the membership for the topic type diff --git a/base/src/org/compiere/model/X_CM_AccessContainer.java b/base/src/org/compiere/model/X_CM_AccessContainer.java index 1e749fd705..b116e2781b 100644 --- a/base/src/org/compiere/model/X_CM_AccessContainer.java +++ b/base/src/org/compiere/model/X_CM_AccessContainer.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for CM_AccessContainer * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_AccessContainer extends PO implements I_CM_AccessContainer, I_Persistent { @@ -72,7 +72,7 @@ public class X_CM_AccessContainer extends PO implements I_CM_AccessContainer, I_ return sb.toString(); } - public I_CM_AccessProfile getCM_AccessProfile() throws Exception + public I_CM_AccessProfile getCM_AccessProfile() throws RuntimeException { Class clazz = MTable.getClass(I_CM_AccessProfile.Table_Name); I_CM_AccessProfile result = null; @@ -83,7 +83,7 @@ public class X_CM_AccessContainer extends PO implements I_CM_AccessContainer, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -110,7 +110,7 @@ public class X_CM_AccessContainer extends PO implements I_CM_AccessContainer, I_ return ii.intValue(); } - public I_CM_Container getCM_Container() throws Exception + public I_CM_Container getCM_Container() throws RuntimeException { Class clazz = MTable.getClass(I_CM_Container.Table_Name); I_CM_Container result = null; @@ -121,7 +121,7 @@ public class X_CM_AccessContainer extends PO implements I_CM_AccessContainer, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_AccessListBPGroup.java b/base/src/org/compiere/model/X_CM_AccessListBPGroup.java index 3f8a8b4b64..c96cf20ba4 100644 --- a/base/src/org/compiere/model/X_CM_AccessListBPGroup.java +++ b/base/src/org/compiere/model/X_CM_AccessListBPGroup.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for CM_AccessListBPGroup * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_AccessListBPGroup extends PO implements I_CM_AccessListBPGroup, I_Persistent { @@ -72,7 +72,7 @@ public class X_CM_AccessListBPGroup extends PO implements I_CM_AccessListBPGroup return sb.toString(); } - public I_C_BP_Group getC_BP_Group() throws Exception + 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; @@ -83,7 +83,7 @@ public class X_CM_AccessListBPGroup extends PO implements I_CM_AccessListBPGroup } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -110,7 +110,7 @@ public class X_CM_AccessListBPGroup extends PO implements I_CM_AccessListBPGroup return ii.intValue(); } - public I_CM_AccessProfile getCM_AccessProfile() throws Exception + public I_CM_AccessProfile getCM_AccessProfile() throws RuntimeException { Class clazz = MTable.getClass(I_CM_AccessProfile.Table_Name); I_CM_AccessProfile result = null; @@ -121,7 +121,7 @@ public class X_CM_AccessListBPGroup extends PO implements I_CM_AccessListBPGroup } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_AccessListRole.java b/base/src/org/compiere/model/X_CM_AccessListRole.java index 908a2d019b..f7a4803304 100644 --- a/base/src/org/compiere/model/X_CM_AccessListRole.java +++ b/base/src/org/compiere/model/X_CM_AccessListRole.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for CM_AccessListRole * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_AccessListRole extends PO implements I_CM_AccessListRole, I_Persistent { @@ -72,7 +72,7 @@ public class X_CM_AccessListRole extends PO implements I_CM_AccessListRole, I_Pe return sb.toString(); } - public I_AD_Role getAD_Role() throws Exception + public I_AD_Role getAD_Role() throws RuntimeException { Class clazz = MTable.getClass(I_AD_Role.Table_Name); I_AD_Role result = null; @@ -83,7 +83,7 @@ public class X_CM_AccessListRole extends PO implements I_CM_AccessListRole, I_Pe } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -110,7 +110,7 @@ public class X_CM_AccessListRole extends PO implements I_CM_AccessListRole, I_Pe return ii.intValue(); } - public I_CM_AccessProfile getCM_AccessProfile() throws Exception + public I_CM_AccessProfile getCM_AccessProfile() throws RuntimeException { Class clazz = MTable.getClass(I_CM_AccessProfile.Table_Name); I_CM_AccessProfile result = null; @@ -121,7 +121,7 @@ public class X_CM_AccessListRole extends PO implements I_CM_AccessListRole, I_Pe } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_AccessMedia.java b/base/src/org/compiere/model/X_CM_AccessMedia.java index 46007f4bdf..986d752a33 100644 --- a/base/src/org/compiere/model/X_CM_AccessMedia.java +++ b/base/src/org/compiere/model/X_CM_AccessMedia.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for CM_AccessMedia * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_AccessMedia extends PO implements I_CM_AccessMedia, I_Persistent { @@ -72,7 +72,7 @@ public class X_CM_AccessMedia extends PO implements I_CM_AccessMedia, I_Persiste return sb.toString(); } - public I_CM_AccessProfile getCM_AccessProfile() throws Exception + public I_CM_AccessProfile getCM_AccessProfile() throws RuntimeException { Class clazz = MTable.getClass(I_CM_AccessProfile.Table_Name); I_CM_AccessProfile result = null; @@ -83,7 +83,7 @@ public class X_CM_AccessMedia extends PO implements I_CM_AccessMedia, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -110,7 +110,7 @@ public class X_CM_AccessMedia extends PO implements I_CM_AccessMedia, I_Persiste return ii.intValue(); } - public I_CM_Media getCM_Media() throws Exception + public I_CM_Media getCM_Media() throws RuntimeException { Class clazz = MTable.getClass(I_CM_Media.Table_Name); I_CM_Media result = null; @@ -121,7 +121,7 @@ public class X_CM_AccessMedia extends PO implements I_CM_AccessMedia, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_AccessNewsChannel.java b/base/src/org/compiere/model/X_CM_AccessNewsChannel.java index 9e7ed02e4c..d2e08ff0eb 100644 --- a/base/src/org/compiere/model/X_CM_AccessNewsChannel.java +++ b/base/src/org/compiere/model/X_CM_AccessNewsChannel.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for CM_AccessNewsChannel * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_AccessNewsChannel extends PO implements I_CM_AccessNewsChannel, I_Persistent { @@ -72,7 +72,7 @@ public class X_CM_AccessNewsChannel extends PO implements I_CM_AccessNewsChannel return sb.toString(); } - public I_CM_AccessProfile getCM_AccessProfile() throws Exception + public I_CM_AccessProfile getCM_AccessProfile() throws RuntimeException { Class clazz = MTable.getClass(I_CM_AccessProfile.Table_Name); I_CM_AccessProfile result = null; @@ -83,7 +83,7 @@ public class X_CM_AccessNewsChannel extends PO implements I_CM_AccessNewsChannel } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -110,7 +110,7 @@ public class X_CM_AccessNewsChannel extends PO implements I_CM_AccessNewsChannel return ii.intValue(); } - public I_CM_NewsChannel getCM_NewsChannel() throws Exception + public I_CM_NewsChannel getCM_NewsChannel() throws RuntimeException { Class clazz = MTable.getClass(I_CM_NewsChannel.Table_Name); I_CM_NewsChannel result = null; @@ -121,7 +121,7 @@ public class X_CM_AccessNewsChannel extends PO implements I_CM_AccessNewsChannel } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_AccessProfile.java b/base/src/org/compiere/model/X_CM_AccessProfile.java index 859fc5e805..cbc68ece55 100644 --- a/base/src/org/compiere/model/X_CM_AccessProfile.java +++ b/base/src/org/compiere/model/X_CM_AccessProfile.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_AccessProfile * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_AccessProfile extends PO implements I_CM_AccessProfile, I_Persistent { diff --git a/base/src/org/compiere/model/X_CM_AccessStage.java b/base/src/org/compiere/model/X_CM_AccessStage.java index ed9f2519cd..82bc0c7608 100644 --- a/base/src/org/compiere/model/X_CM_AccessStage.java +++ b/base/src/org/compiere/model/X_CM_AccessStage.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for CM_AccessStage * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_AccessStage extends PO implements I_CM_AccessStage, I_Persistent { @@ -72,7 +72,7 @@ public class X_CM_AccessStage extends PO implements I_CM_AccessStage, I_Persiste return sb.toString(); } - public I_CM_AccessProfile getCM_AccessProfile() throws Exception + public I_CM_AccessProfile getCM_AccessProfile() throws RuntimeException { Class clazz = MTable.getClass(I_CM_AccessProfile.Table_Name); I_CM_AccessProfile result = null; @@ -83,7 +83,7 @@ public class X_CM_AccessStage extends PO implements I_CM_AccessStage, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -110,7 +110,7 @@ public class X_CM_AccessStage extends PO implements I_CM_AccessStage, I_Persiste return ii.intValue(); } - public I_CM_CStage getCM_CStage() throws Exception + public I_CM_CStage getCM_CStage() throws RuntimeException { Class clazz = MTable.getClass(I_CM_CStage.Table_Name); I_CM_CStage result = null; @@ -121,7 +121,7 @@ public class X_CM_AccessStage extends PO implements I_CM_AccessStage, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_Ad.java b/base/src/org/compiere/model/X_CM_Ad.java index 0569200381..2711c0e8a1 100644 --- a/base/src/org/compiere/model/X_CM_Ad.java +++ b/base/src/org/compiere/model/X_CM_Ad.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_Ad * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_Ad extends PO implements I_CM_Ad, I_Persistent { @@ -125,7 +125,7 @@ public class X_CM_Ad extends PO implements I_CM_Ad, I_Persistent return ii.intValue(); } - public I_CM_Ad_Cat getCM_Ad_Cat() throws Exception + public I_CM_Ad_Cat getCM_Ad_Cat() throws RuntimeException { Class clazz = MTable.getClass(I_CM_Ad_Cat.Table_Name); I_CM_Ad_Cat result = null; @@ -136,7 +136,7 @@ public class X_CM_Ad extends PO implements I_CM_Ad, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -185,7 +185,7 @@ public class X_CM_Ad extends PO implements I_CM_Ad, I_Persistent return ii.intValue(); } - public I_CM_Media getCM_Media() throws Exception + public I_CM_Media getCM_Media() throws RuntimeException { Class clazz = MTable.getClass(I_CM_Media.Table_Name); I_CM_Media result = null; @@ -196,7 +196,7 @@ public class X_CM_Ad extends PO implements I_CM_Ad, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_Ad_Cat.java b/base/src/org/compiere/model/X_CM_Ad_Cat.java index 725735195f..dba4b46c31 100644 --- a/base/src/org/compiere/model/X_CM_Ad_Cat.java +++ b/base/src/org/compiere/model/X_CM_Ad_Cat.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_Ad_Cat * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_Ad_Cat extends PO implements I_CM_Ad_Cat, I_Persistent { @@ -96,7 +96,7 @@ public class X_CM_Ad_Cat extends PO implements I_CM_Ad_Cat, I_Persistent return ii.intValue(); } - public I_CM_WebProject getCM_WebProject() throws Exception + public I_CM_WebProject getCM_WebProject() throws RuntimeException { Class clazz = MTable.getClass(I_CM_WebProject.Table_Name); I_CM_WebProject result = null; @@ -107,7 +107,7 @@ public class X_CM_Ad_Cat extends PO implements I_CM_Ad_Cat, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_BroadcastServer.java b/base/src/org/compiere/model/X_CM_BroadcastServer.java index 3cfd33ccef..ce3e94470b 100644 --- a/base/src/org/compiere/model/X_CM_BroadcastServer.java +++ b/base/src/org/compiere/model/X_CM_BroadcastServer.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_BroadcastServer * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_BroadcastServer extends PO implements I_CM_BroadcastServer, I_Persistent { @@ -97,7 +97,7 @@ public class X_CM_BroadcastServer extends PO implements I_CM_BroadcastServer, I_ return ii.intValue(); } - public I_CM_WebProject getCM_WebProject() throws Exception + public I_CM_WebProject getCM_WebProject() throws RuntimeException { Class clazz = MTable.getClass(I_CM_WebProject.Table_Name); I_CM_WebProject result = null; @@ -108,7 +108,7 @@ public class X_CM_BroadcastServer extends PO implements I_CM_BroadcastServer, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_CStage.java b/base/src/org/compiere/model/X_CM_CStage.java index ecc53e2a0e..f9dead4c02 100644 --- a/base/src/org/compiere/model/X_CM_CStage.java +++ b/base/src/org/compiere/model/X_CM_CStage.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_CStage * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent { @@ -108,8 +108,6 @@ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent return ii.intValue(); } - /** CM_CStageLink_ID AD_Reference_ID=387 */ - public static final int CM_CSTAGELINK_ID_AD_Reference_ID=387; /** Set Container Link. @param CM_CStageLink_ID Stage Link to another Container in the Web Project @@ -133,7 +131,7 @@ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent return ii.intValue(); } - public I_CM_Template getCM_Template() throws Exception + public I_CM_Template getCM_Template() throws RuntimeException { Class clazz = MTable.getClass(I_CM_Template.Table_Name); I_CM_Template result = null; @@ -144,7 +142,7 @@ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -172,7 +170,7 @@ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent return ii.intValue(); } - public I_CM_WebProject getCM_WebProject() throws Exception + public I_CM_WebProject getCM_WebProject() throws RuntimeException { Class clazz = MTable.getClass(I_CM_WebProject.Table_Name); I_CM_WebProject result = null; @@ -183,7 +181,7 @@ public class X_CM_CStage extends PO implements I_CM_CStage, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_CStageTTable.java b/base/src/org/compiere/model/X_CM_CStageTTable.java index 2e499f8dd4..af7cc6e60e 100644 --- a/base/src/org/compiere/model/X_CM_CStageTTable.java +++ b/base/src/org/compiere/model/X_CM_CStageTTable.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_CStageTTable * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_CStageTTable extends PO implements I_CM_CStageTTable, I_Persistent { @@ -75,7 +75,7 @@ public class X_CM_CStageTTable extends PO implements I_CM_CStageTTable, I_Persis return sb.toString(); } - public I_CM_CStage getCM_CStage() throws Exception + public I_CM_CStage getCM_CStage() throws RuntimeException { Class clazz = MTable.getClass(I_CM_CStage.Table_Name); I_CM_CStage result = null; @@ -86,7 +86,7 @@ public class X_CM_CStageTTable extends PO implements I_CM_CStageTTable, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -135,7 +135,7 @@ public class X_CM_CStageTTable extends PO implements I_CM_CStageTTable, I_Persis return ii.intValue(); } - public I_CM_TemplateTable getCM_TemplateTable() throws Exception + public I_CM_TemplateTable getCM_TemplateTable() throws RuntimeException { Class clazz = MTable.getClass(I_CM_TemplateTable.Table_Name); I_CM_TemplateTable result = null; @@ -146,7 +146,7 @@ public class X_CM_CStageTTable extends PO implements I_CM_CStageTTable, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_CStage_Element.java b/base/src/org/compiere/model/X_CM_CStage_Element.java index 407b325130..96fe54241c 100644 --- a/base/src/org/compiere/model/X_CM_CStage_Element.java +++ b/base/src/org/compiere/model/X_CM_CStage_Element.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_CStage_Element * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_CStage_Element extends PO implements I_CM_CStage_Element, I_Persistent { @@ -96,7 +96,7 @@ public class X_CM_CStage_Element extends PO implements I_CM_CStage_Element, I_Pe return ii.intValue(); } - public I_CM_CStage getCM_CStage() throws Exception + public I_CM_CStage getCM_CStage() throws RuntimeException { Class clazz = MTable.getClass(I_CM_CStage.Table_Name); I_CM_CStage result = null; @@ -107,7 +107,7 @@ public class X_CM_CStage_Element extends PO implements I_CM_CStage_Element, I_Pe } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_Chat.java b/base/src/org/compiere/model/X_CM_Chat.java index 3ca7158dba..aa1294cdd5 100644 --- a/base/src/org/compiere/model/X_CM_Chat.java +++ b/base/src/org/compiere/model/X_CM_Chat.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_Chat * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_Chat extends PO implements I_CM_Chat, I_Persistent { @@ -76,7 +76,7 @@ public class X_CM_Chat extends PO implements I_CM_Chat, I_Persistent return sb.toString(); } - public I_AD_Table getAD_Table() throws Exception + public I_AD_Table getAD_Table() throws RuntimeException { Class clazz = MTable.getClass(I_AD_Table.Table_Name); I_AD_Table result = null; @@ -87,7 +87,7 @@ public class X_CM_Chat extends PO implements I_CM_Chat, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -136,7 +136,7 @@ public class X_CM_Chat extends PO implements I_CM_Chat, I_Persistent return ii.intValue(); } - public I_CM_ChatType getCM_ChatType() throws Exception + public I_CM_ChatType getCM_ChatType() throws RuntimeException { Class clazz = MTable.getClass(I_CM_ChatType.Table_Name); I_CM_ChatType result = null; @@ -147,7 +147,7 @@ public class X_CM_Chat extends PO implements I_CM_Chat, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_ChatEntry.java b/base/src/org/compiere/model/X_CM_ChatEntry.java index 1d1708eff6..31f4cf60bd 100644 --- a/base/src/org/compiere/model/X_CM_ChatEntry.java +++ b/base/src/org/compiere/model/X_CM_ChatEntry.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_ChatEntry * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_ChatEntry extends PO implements I_CM_ChatEntry, I_Persistent { @@ -77,7 +77,7 @@ public class X_CM_ChatEntry extends PO implements I_CM_ChatEntry, I_Persistent return sb.toString(); } - public I_AD_User getAD_User() throws Exception + public I_AD_User getAD_User() throws RuntimeException { Class clazz = MTable.getClass(I_AD_User.Table_Name); I_AD_User result = null; @@ -88,7 +88,7 @@ public class X_CM_ChatEntry extends PO implements I_CM_ChatEntry, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -161,8 +161,6 @@ public class X_CM_ChatEntry extends PO implements I_CM_ChatEntry, I_Persistent return (String)get_Value(COLUMNNAME_ChatEntryType); } - /** CM_ChatEntryGrandParent_ID AD_Reference_ID=399 */ - public static final int CM_CHATENTRYGRANDPARENT_ID_AD_Reference_ID=399; /** Set Chat Entry Grandparent. @param CM_ChatEntryGrandParent_ID Link to Grand Parent (root level) @@ -216,8 +214,6 @@ public class X_CM_ChatEntry extends PO implements I_CM_ChatEntry, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getCM_ChatEntry_ID())); } - /** CM_ChatEntryParent_ID AD_Reference_ID=399 */ - public static final int CM_CHATENTRYPARENT_ID_AD_Reference_ID=399; /** Set Chat Entry Parent. @param CM_ChatEntryParent_ID Link to direct Parent @@ -241,7 +237,7 @@ public class X_CM_ChatEntry extends PO implements I_CM_ChatEntry, I_Persistent return ii.intValue(); } - public I_CM_Chat getCM_Chat() throws Exception + public I_CM_Chat getCM_Chat() throws RuntimeException { Class clazz = MTable.getClass(I_CM_Chat.Table_Name); I_CM_Chat result = null; @@ -252,7 +248,7 @@ public class X_CM_ChatEntry extends PO implements I_CM_ChatEntry, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_ChatType.java b/base/src/org/compiere/model/X_CM_ChatType.java index 216e357d49..16bd7268e9 100644 --- a/base/src/org/compiere/model/X_CM_ChatType.java +++ b/base/src/org/compiere/model/X_CM_ChatType.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_ChatType * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_ChatType extends PO implements I_CM_ChatType, I_Persistent { @@ -74,7 +74,7 @@ public class X_CM_ChatType extends PO implements I_CM_ChatType, I_Persistent return sb.toString(); } - public I_AD_Table getAD_Table() throws Exception + public I_AD_Table getAD_Table() throws RuntimeException { Class clazz = MTable.getClass(I_AD_Table.Table_Name); I_AD_Table result = null; @@ -85,7 +85,7 @@ public class X_CM_ChatType extends PO implements I_CM_ChatType, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_ChatTypeUpdate.java b/base/src/org/compiere/model/X_CM_ChatTypeUpdate.java index b6805263d4..173a131ea9 100644 --- a/base/src/org/compiere/model/X_CM_ChatTypeUpdate.java +++ b/base/src/org/compiere/model/X_CM_ChatTypeUpdate.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for CM_ChatTypeUpdate * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_ChatTypeUpdate extends PO implements I_CM_ChatTypeUpdate, I_Persistent { @@ -73,7 +73,7 @@ public class X_CM_ChatTypeUpdate extends PO implements I_CM_ChatTypeUpdate, I_Pe return sb.toString(); } - public I_AD_User getAD_User() throws Exception + public I_AD_User getAD_User() throws RuntimeException { Class clazz = MTable.getClass(I_AD_User.Table_Name); I_AD_User result = null; @@ -84,7 +84,7 @@ public class X_CM_ChatTypeUpdate extends PO implements I_CM_ChatTypeUpdate, I_Pe } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -111,7 +111,7 @@ public class X_CM_ChatTypeUpdate extends PO implements I_CM_ChatTypeUpdate, I_Pe return ii.intValue(); } - public I_CM_ChatType getCM_ChatType() throws Exception + public I_CM_ChatType getCM_ChatType() throws RuntimeException { Class clazz = MTable.getClass(I_CM_ChatType.Table_Name); I_CM_ChatType result = null; @@ -122,7 +122,7 @@ public class X_CM_ChatTypeUpdate extends PO implements I_CM_ChatTypeUpdate, I_Pe } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_ChatUpdate.java b/base/src/org/compiere/model/X_CM_ChatUpdate.java index 83575f26bf..2e42a2d832 100644 --- a/base/src/org/compiere/model/X_CM_ChatUpdate.java +++ b/base/src/org/compiere/model/X_CM_ChatUpdate.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for CM_ChatUpdate * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_ChatUpdate extends PO implements I_CM_ChatUpdate, I_Persistent { @@ -73,7 +73,7 @@ public class X_CM_ChatUpdate extends PO implements I_CM_ChatUpdate, I_Persistent return sb.toString(); } - public I_AD_User getAD_User() throws Exception + public I_AD_User getAD_User() throws RuntimeException { Class clazz = MTable.getClass(I_AD_User.Table_Name); I_AD_User result = null; @@ -84,7 +84,7 @@ public class X_CM_ChatUpdate extends PO implements I_CM_ChatUpdate, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -111,7 +111,7 @@ public class X_CM_ChatUpdate extends PO implements I_CM_ChatUpdate, I_Persistent return ii.intValue(); } - public I_CM_Chat getCM_Chat() throws Exception + public I_CM_Chat getCM_Chat() throws RuntimeException { Class clazz = MTable.getClass(I_CM_Chat.Table_Name); I_CM_Chat result = null; @@ -122,7 +122,7 @@ public class X_CM_ChatUpdate extends PO implements I_CM_ChatUpdate, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_Container.java b/base/src/org/compiere/model/X_CM_Container.java index 0056856aee..4f507a44dd 100644 --- a/base/src/org/compiere/model/X_CM_Container.java +++ b/base/src/org/compiere/model/X_CM_Container.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_Container * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent { @@ -106,8 +106,6 @@ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent return ii.intValue(); } - /** CM_ContainerLink_ID AD_Reference_ID=386 */ - public static final int CM_CONTAINERLINK_ID_AD_Reference_ID=386; /** Set Container Link. @param CM_ContainerLink_ID Link to another Container in the Web Project @@ -131,7 +129,7 @@ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent return ii.intValue(); } - public I_CM_Template getCM_Template() throws Exception + public I_CM_Template getCM_Template() throws RuntimeException { Class clazz = MTable.getClass(I_CM_Template.Table_Name); I_CM_Template result = null; @@ -142,7 +140,7 @@ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -169,7 +167,7 @@ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent return ii.intValue(); } - public I_CM_WebProject getCM_WebProject() throws Exception + public I_CM_WebProject getCM_WebProject() throws RuntimeException { Class clazz = MTable.getClass(I_CM_WebProject.Table_Name); I_CM_WebProject result = null; @@ -180,7 +178,7 @@ public class X_CM_Container extends PO implements I_CM_Container, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_ContainerTTable.java b/base/src/org/compiere/model/X_CM_ContainerTTable.java index f06ca7be61..efc7a5c49a 100644 --- a/base/src/org/compiere/model/X_CM_ContainerTTable.java +++ b/base/src/org/compiere/model/X_CM_ContainerTTable.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_ContainerTTable * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_ContainerTTable extends PO implements I_CM_ContainerTTable, I_Persistent { @@ -75,7 +75,7 @@ public class X_CM_ContainerTTable extends PO implements I_CM_ContainerTTable, I_ return sb.toString(); } - public I_CM_Container getCM_Container() throws Exception + public I_CM_Container getCM_Container() throws RuntimeException { Class clazz = MTable.getClass(I_CM_Container.Table_Name); I_CM_Container result = null; @@ -86,7 +86,7 @@ public class X_CM_ContainerTTable extends PO implements I_CM_ContainerTTable, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -135,7 +135,7 @@ public class X_CM_ContainerTTable extends PO implements I_CM_ContainerTTable, I_ return ii.intValue(); } - public I_CM_TemplateTable getCM_TemplateTable() throws Exception + public I_CM_TemplateTable getCM_TemplateTable() throws RuntimeException { Class clazz = MTable.getClass(I_CM_TemplateTable.Table_Name); I_CM_TemplateTable result = null; @@ -146,7 +146,7 @@ public class X_CM_ContainerTTable extends PO implements I_CM_ContainerTTable, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_Container_Element.java b/base/src/org/compiere/model/X_CM_Container_Element.java index c240b600f7..f6e2915a84 100644 --- a/base/src/org/compiere/model/X_CM_Container_Element.java +++ b/base/src/org/compiere/model/X_CM_Container_Element.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_Container_Element * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_Container_Element extends PO implements I_CM_Container_Element, I_Persistent { @@ -96,7 +96,7 @@ public class X_CM_Container_Element extends PO implements I_CM_Container_Element return ii.intValue(); } - public I_CM_Container getCM_Container() throws Exception + public I_CM_Container getCM_Container() throws RuntimeException { Class clazz = MTable.getClass(I_CM_Container.Table_Name); I_CM_Container result = null; @@ -107,7 +107,7 @@ public class X_CM_Container_Element extends PO implements I_CM_Container_Element } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_Container_URL.java b/base/src/org/compiere/model/X_CM_Container_URL.java index 21f5a09eab..3ec5d362f4 100644 --- a/base/src/org/compiere/model/X_CM_Container_URL.java +++ b/base/src/org/compiere/model/X_CM_Container_URL.java @@ -25,7 +25,7 @@ import java.util.logging.Level; /** Generated Model for CM_Container_URL * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_Container_URL extends PO implements I_CM_Container_URL, I_Persistent { @@ -95,7 +95,7 @@ public class X_CM_Container_URL extends PO implements I_CM_Container_URL, I_Pers return (Timestamp)get_Value(COLUMNNAME_Checked); } - public I_CM_Container getCM_Container() throws Exception + public I_CM_Container getCM_Container() throws RuntimeException { Class clazz = MTable.getClass(I_CM_Container.Table_Name); I_CM_Container result = null; @@ -106,7 +106,7 @@ public class X_CM_Container_URL extends PO implements I_CM_Container_URL, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_Media.java b/base/src/org/compiere/model/X_CM_Media.java index 1b3e3693af..652dc37f38 100644 --- a/base/src/org/compiere/model/X_CM_Media.java +++ b/base/src/org/compiere/model/X_CM_Media.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_Media * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_Media extends PO implements I_CM_Media, I_Persistent { @@ -120,7 +120,7 @@ public class X_CM_Media extends PO implements I_CM_Media, I_Persistent return ii.intValue(); } - public I_CM_WebProject getCM_WebProject() throws Exception + public I_CM_WebProject getCM_WebProject() throws RuntimeException { Class clazz = MTable.getClass(I_CM_WebProject.Table_Name); I_CM_WebProject result = null; @@ -131,7 +131,7 @@ public class X_CM_Media extends PO implements I_CM_Media, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_MediaDeploy.java b/base/src/org/compiere/model/X_CM_MediaDeploy.java index 67a3dfb8b0..bf2b9e9552 100644 --- a/base/src/org/compiere/model/X_CM_MediaDeploy.java +++ b/base/src/org/compiere/model/X_CM_MediaDeploy.java @@ -25,7 +25,7 @@ import java.util.logging.Level; /** Generated Model for CM_MediaDeploy * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_MediaDeploy extends PO implements I_CM_MediaDeploy, I_Persistent { @@ -97,7 +97,7 @@ public class X_CM_MediaDeploy extends PO implements I_CM_MediaDeploy, I_Persiste return ii.intValue(); } - public I_CM_Media getCM_Media() throws Exception + public I_CM_Media getCM_Media() throws RuntimeException { Class clazz = MTable.getClass(I_CM_Media.Table_Name); I_CM_Media result = null; @@ -108,7 +108,7 @@ public class X_CM_MediaDeploy extends PO implements I_CM_MediaDeploy, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -135,7 +135,7 @@ public class X_CM_MediaDeploy extends PO implements I_CM_MediaDeploy, I_Persiste return ii.intValue(); } - public I_CM_Media_Server getCM_Media_Server() throws Exception + public I_CM_Media_Server getCM_Media_Server() throws RuntimeException { Class clazz = MTable.getClass(I_CM_Media_Server.Table_Name); I_CM_Media_Server result = null; @@ -146,7 +146,7 @@ public class X_CM_MediaDeploy extends PO implements I_CM_MediaDeploy, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_Media_Server.java b/base/src/org/compiere/model/X_CM_Media_Server.java index 6d50b62a40..4a01e66a5b 100644 --- a/base/src/org/compiere/model/X_CM_Media_Server.java +++ b/base/src/org/compiere/model/X_CM_Media_Server.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_Media_Server * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_Media_Server extends PO implements I_CM_Media_Server, I_Persistent { @@ -97,7 +97,7 @@ public class X_CM_Media_Server extends PO implements I_CM_Media_Server, I_Persis return ii.intValue(); } - public I_CM_WebProject getCM_WebProject() throws Exception + public I_CM_WebProject getCM_WebProject() throws RuntimeException { Class clazz = MTable.getClass(I_CM_WebProject.Table_Name); I_CM_WebProject result = null; @@ -108,7 +108,7 @@ public class X_CM_Media_Server extends PO implements I_CM_Media_Server, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_NewsChannel.java b/base/src/org/compiere/model/X_CM_NewsChannel.java index 8ae4e3114e..2df34cfde9 100644 --- a/base/src/org/compiere/model/X_CM_NewsChannel.java +++ b/base/src/org/compiere/model/X_CM_NewsChannel.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_NewsChannel * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_NewsChannel extends PO implements I_CM_NewsChannel, I_Persistent { @@ -116,7 +116,7 @@ public class X_CM_NewsChannel extends PO implements I_CM_NewsChannel, I_Persiste return ii.intValue(); } - public I_CM_WebProject getCM_WebProject() throws Exception + public I_CM_WebProject getCM_WebProject() throws RuntimeException { Class clazz = MTable.getClass(I_CM_WebProject.Table_Name); I_CM_WebProject result = null; @@ -127,7 +127,7 @@ public class X_CM_NewsChannel extends PO implements I_CM_NewsChannel, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_NewsItem.java b/base/src/org/compiere/model/X_CM_NewsItem.java index 113a867116..90f6542b63 100644 --- a/base/src/org/compiere/model/X_CM_NewsItem.java +++ b/base/src/org/compiere/model/X_CM_NewsItem.java @@ -25,7 +25,7 @@ import java.util.logging.Level; /** Generated Model for CM_NewsItem * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_NewsItem extends PO implements I_CM_NewsItem, I_Persistent { @@ -90,7 +90,7 @@ public class X_CM_NewsItem extends PO implements I_CM_NewsItem, I_Persistent return (String)get_Value(COLUMNNAME_Author); } - public I_CM_NewsChannel getCM_NewsChannel() throws Exception + public I_CM_NewsChannel getCM_NewsChannel() throws RuntimeException { Class clazz = MTable.getClass(I_CM_NewsChannel.Table_Name); I_CM_NewsChannel result = null; @@ -101,7 +101,7 @@ public class X_CM_NewsItem extends PO implements I_CM_NewsItem, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_Template.java b/base/src/org/compiere/model/X_CM_Template.java index b37fdef4e4..0d1a0f6670 100644 --- a/base/src/org/compiere/model/X_CM_Template.java +++ b/base/src/org/compiere/model/X_CM_Template.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_Template * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_Template extends PO implements I_CM_Template, I_Persistent { @@ -101,7 +101,7 @@ public class X_CM_Template extends PO implements I_CM_Template, I_Persistent return ii.intValue(); } - public I_CM_WebProject getCM_WebProject() throws Exception + public I_CM_WebProject getCM_WebProject() throws RuntimeException { Class clazz = MTable.getClass(I_CM_WebProject.Table_Name); I_CM_WebProject result = null; @@ -112,7 +112,7 @@ public class X_CM_Template extends PO implements I_CM_Template, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_TemplateTable.java b/base/src/org/compiere/model/X_CM_TemplateTable.java index 15c60122a4..383be78492 100644 --- a/base/src/org/compiere/model/X_CM_TemplateTable.java +++ b/base/src/org/compiere/model/X_CM_TemplateTable.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_TemplateTable * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_TemplateTable extends PO implements I_CM_TemplateTable, I_Persistent { @@ -75,7 +75,7 @@ public class X_CM_TemplateTable extends PO implements I_CM_TemplateTable, I_Pers return sb.toString(); } - public I_AD_Table getAD_Table() throws Exception + public I_AD_Table getAD_Table() throws RuntimeException { Class clazz = MTable.getClass(I_AD_Table.Table_Name); I_AD_Table result = null; @@ -86,7 +86,7 @@ public class X_CM_TemplateTable extends PO implements I_CM_TemplateTable, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -113,7 +113,7 @@ public class X_CM_TemplateTable extends PO implements I_CM_TemplateTable, I_Pers return ii.intValue(); } - public I_CM_Template getCM_Template() throws Exception + public I_CM_Template getCM_Template() throws RuntimeException { Class clazz = MTable.getClass(I_CM_Template.Table_Name); I_CM_Template result = null; @@ -124,7 +124,7 @@ public class X_CM_TemplateTable extends PO implements I_CM_TemplateTable, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_Template_Ad_Cat.java b/base/src/org/compiere/model/X_CM_Template_Ad_Cat.java index 52b24fcc17..291eb9a5b0 100644 --- a/base/src/org/compiere/model/X_CM_Template_Ad_Cat.java +++ b/base/src/org/compiere/model/X_CM_Template_Ad_Cat.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_Template_Ad_Cat * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_Template_Ad_Cat extends PO implements I_CM_Template_Ad_Cat, I_Persistent { @@ -74,7 +74,7 @@ public class X_CM_Template_Ad_Cat extends PO implements I_CM_Template_Ad_Cat, I_ return sb.toString(); } - public I_CM_Ad_Cat getCM_Ad_Cat() throws Exception + public I_CM_Ad_Cat getCM_Ad_Cat() throws RuntimeException { Class clazz = MTable.getClass(I_CM_Ad_Cat.Table_Name); I_CM_Ad_Cat result = null; @@ -85,7 +85,7 @@ public class X_CM_Template_Ad_Cat extends PO implements I_CM_Template_Ad_Cat, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -112,7 +112,7 @@ public class X_CM_Template_Ad_Cat extends PO implements I_CM_Template_Ad_Cat, I_ return ii.intValue(); } - public I_CM_Template getCM_Template() throws Exception + public I_CM_Template getCM_Template() throws RuntimeException { Class clazz = MTable.getClass(I_CM_Template.Table_Name); I_CM_Template result = null; @@ -123,7 +123,7 @@ public class X_CM_Template_Ad_Cat extends PO implements I_CM_Template_Ad_Cat, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_WebAccessLog.java b/base/src/org/compiere/model/X_CM_WebAccessLog.java index aff0b3dec7..3e0dde032c 100644 --- a/base/src/org/compiere/model/X_CM_WebAccessLog.java +++ b/base/src/org/compiere/model/X_CM_WebAccessLog.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for CM_WebAccessLog * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_WebAccessLog extends PO implements I_CM_WebAccessLog, I_Persistent { @@ -94,7 +94,7 @@ public class X_CM_WebAccessLog extends PO implements I_CM_WebAccessLog, I_Persis return (String)get_Value(COLUMNNAME_AcceptLanguage); } - public I_AD_User getAD_User() throws Exception + public I_AD_User getAD_User() throws RuntimeException { Class clazz = MTable.getClass(I_AD_User.Table_Name); I_AD_User result = null; @@ -105,7 +105,7 @@ public class X_CM_WebAccessLog extends PO implements I_CM_WebAccessLog, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -133,7 +133,7 @@ public class X_CM_WebAccessLog extends PO implements I_CM_WebAccessLog, I_Persis return ii.intValue(); } - public I_CM_BroadcastServer getCM_BroadcastServer() throws Exception + public I_CM_BroadcastServer getCM_BroadcastServer() throws RuntimeException { Class clazz = MTable.getClass(I_CM_BroadcastServer.Table_Name); I_CM_BroadcastServer result = null; @@ -144,7 +144,7 @@ public class X_CM_WebAccessLog extends PO implements I_CM_WebAccessLog, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -172,7 +172,7 @@ public class X_CM_WebAccessLog extends PO implements I_CM_WebAccessLog, I_Persis return ii.intValue(); } - public I_CM_Media getCM_Media() throws Exception + public I_CM_Media getCM_Media() throws RuntimeException { Class clazz = MTable.getClass(I_CM_Media.Table_Name); I_CM_Media result = null; @@ -183,7 +183,7 @@ public class X_CM_WebAccessLog extends PO implements I_CM_WebAccessLog, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -233,7 +233,7 @@ public class X_CM_WebAccessLog extends PO implements I_CM_WebAccessLog, I_Persis return ii.intValue(); } - public I_CM_WebProject getCM_WebProject() throws Exception + public I_CM_WebProject getCM_WebProject() throws RuntimeException { Class clazz = MTable.getClass(I_CM_WebProject.Table_Name); I_CM_WebProject result = null; @@ -244,7 +244,7 @@ public class X_CM_WebAccessLog extends PO implements I_CM_WebAccessLog, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_WebProject.java b/base/src/org/compiere/model/X_CM_WebProject.java index ab3b57195a..b0de619c4e 100644 --- a/base/src/org/compiere/model/X_CM_WebProject.java +++ b/base/src/org/compiere/model/X_CM_WebProject.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_WebProject * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_WebProject extends PO implements I_CM_WebProject, I_Persistent { @@ -81,8 +81,6 @@ public class X_CM_WebProject extends PO implements I_CM_WebProject, I_Persistent return sb.toString(); } - /** AD_TreeCMC_ID AD_Reference_ID=184 */ - public static final int AD_TREECMC_ID_AD_Reference_ID=184; /** Set Container Tree. @param AD_TreeCMC_ID Container Tree @@ -106,8 +104,6 @@ public class X_CM_WebProject extends PO implements I_CM_WebProject, I_Persistent return ii.intValue(); } - /** AD_TreeCMM_ID AD_Reference_ID=184 */ - public static final int AD_TREECMM_ID_AD_Reference_ID=184; /** Set Media Tree. @param AD_TreeCMM_ID Media Tree @@ -131,8 +127,6 @@ public class X_CM_WebProject extends PO implements I_CM_WebProject, I_Persistent return ii.intValue(); } - /** AD_TreeCMS_ID AD_Reference_ID=184 */ - public static final int AD_TREECMS_ID_AD_Reference_ID=184; /** Set Stage Tree. @param AD_TreeCMS_ID Stage Tree @@ -156,8 +150,6 @@ public class X_CM_WebProject extends PO implements I_CM_WebProject, I_Persistent return ii.intValue(); } - /** AD_TreeCMT_ID AD_Reference_ID=184 */ - public static final int AD_TREECMT_ID_AD_Reference_ID=184; /** Set Template Tree. @param AD_TreeCMT_ID Template Tree diff --git a/base/src/org/compiere/model/X_CM_WebProject_Domain.java b/base/src/org/compiere/model/X_CM_WebProject_Domain.java index 759b5e07e5..04e5cb6c08 100644 --- a/base/src/org/compiere/model/X_CM_WebProject_Domain.java +++ b/base/src/org/compiere/model/X_CM_WebProject_Domain.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_WebProject_Domain * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_WebProject_Domain extends PO implements I_CM_WebProject_Domain, I_Persistent { @@ -75,7 +75,7 @@ public class X_CM_WebProject_Domain extends PO implements I_CM_WebProject_Domain return sb.toString(); } - public I_CM_Container getCM_Container() throws Exception + public I_CM_Container getCM_Container() throws RuntimeException { Class clazz = MTable.getClass(I_CM_Container.Table_Name); I_CM_Container result = null; @@ -86,7 +86,7 @@ public class X_CM_WebProject_Domain extends PO implements I_CM_WebProject_Domain } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -136,7 +136,7 @@ public class X_CM_WebProject_Domain extends PO implements I_CM_WebProject_Domain return ii.intValue(); } - public I_CM_WebProject getCM_WebProject() throws Exception + public I_CM_WebProject getCM_WebProject() throws RuntimeException { Class clazz = MTable.getClass(I_CM_WebProject.Table_Name); I_CM_WebProject result = null; @@ -147,7 +147,7 @@ public class X_CM_WebProject_Domain extends PO implements I_CM_WebProject_Domain } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_CM_WikiToken.java b/base/src/org/compiere/model/X_CM_WikiToken.java index e7d647ddb0..07fbcded9b 100755 --- a/base/src/org/compiere/model/X_CM_WikiToken.java +++ b/base/src/org/compiere/model/X_CM_WikiToken.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for CM_WikiToken * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_CM_WikiToken extends PO implements I_CM_WikiToken, I_Persistent { @@ -75,7 +75,7 @@ public class X_CM_WikiToken extends PO implements I_CM_WikiToken, I_Persistent return sb.toString(); } - public I_AD_Table getAD_Table() throws Exception + public I_AD_Table getAD_Table() throws RuntimeException { Class clazz = MTable.getClass(I_AD_Table.Table_Name); I_AD_Table result = null; @@ -86,7 +86,7 @@ public class X_CM_WikiToken extends PO implements I_CM_WikiToken, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_AcctProcessor.java b/base/src/org/compiere/model/X_C_AcctProcessor.java index 7ed612cc6d..3c73e5149f 100644 --- a/base/src/org/compiere/model/X_C_AcctProcessor.java +++ b/base/src/org/compiere/model/X_C_AcctProcessor.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_AcctProcessor * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_AcctProcessor extends PO implements I_C_AcctProcessor, I_Persistent { @@ -79,7 +79,7 @@ public class X_C_AcctProcessor extends PO implements I_C_AcctProcessor, I_Persis return sb.toString(); } - public I_AD_Table getAD_Table() throws Exception + public I_AD_Table getAD_Table() throws RuntimeException { Class clazz = MTable.getClass(I_AD_Table.Table_Name); I_AD_Table result = null; @@ -90,7 +90,7 @@ public class X_C_AcctProcessor extends PO implements I_C_AcctProcessor, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -140,7 +140,7 @@ public class X_C_AcctProcessor extends PO implements I_C_AcctProcessor, I_Persis return ii.intValue(); } - public I_C_AcctSchema getC_AcctSchema() throws Exception + public I_C_AcctSchema getC_AcctSchema() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); I_C_AcctSchema result = null; @@ -151,7 +151,7 @@ public class X_C_AcctProcessor extends PO implements I_C_AcctProcessor, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -344,8 +344,6 @@ public class X_C_AcctProcessor extends PO implements I_C_AcctProcessor, I_Persis return false; } - /** Supervisor_ID AD_Reference_ID=286 */ - public static final int SUPERVISOR_ID_AD_Reference_ID=286; /** Set Supervisor. @param Supervisor_ID Supervisor for this user/organization - used for escalation and approval diff --git a/base/src/org/compiere/model/X_C_AcctProcessorLog.java b/base/src/org/compiere/model/X_C_AcctProcessorLog.java index 69e5fb1f47..476695d4b6 100644 --- a/base/src/org/compiere/model/X_C_AcctProcessorLog.java +++ b/base/src/org/compiere/model/X_C_AcctProcessorLog.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_AcctProcessorLog * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_AcctProcessorLog extends PO implements I_C_AcctProcessorLog, I_Persistent { @@ -90,7 +90,7 @@ public class X_C_AcctProcessorLog extends PO implements I_C_AcctProcessorLog, I_ return (byte[])get_Value(COLUMNNAME_BinaryData); } - public I_C_AcctProcessor getC_AcctProcessor() throws Exception + public I_C_AcctProcessor getC_AcctProcessor() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctProcessor.Table_Name); I_C_AcctProcessor result = null; @@ -101,7 +101,7 @@ public class X_C_AcctProcessorLog extends PO implements I_C_AcctProcessorLog, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_AcctSchema.java b/base/src/org/compiere/model/X_C_AcctSchema.java index 70d9a1723b..abe0141e81 100644 --- a/base/src/org/compiere/model/X_C_AcctSchema.java +++ b/base/src/org/compiere/model/X_C_AcctSchema.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_AcctSchema * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent { @@ -97,8 +97,6 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent return sb.toString(); } - /** AD_OrgOnly_ID AD_Reference_ID=322 */ - public static final int AD_ORGONLY_ID_AD_Reference_ID=322; /** Set Only Organization. @param AD_OrgOnly_ID Create posting entries only for this organization @@ -168,7 +166,7 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent return ii.intValue(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -179,7 +177,7 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -302,7 +300,7 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent return (String)get_Value(COLUMNNAME_CostingMethod); } - public I_C_Period getC_Period() throws Exception + public I_C_Period getC_Period() throws RuntimeException { Class clazz = MTable.getClass(I_C_Period.Table_Name); I_C_Period result = null; @@ -313,7 +311,7 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -628,7 +626,7 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent return false; } - public I_M_CostType getM_CostType() throws Exception + public I_M_CostType getM_CostType() throws RuntimeException { Class clazz = MTable.getClass(I_M_CostType.Table_Name); I_M_CostType result = null; @@ -639,7 +637,7 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_AcctSchema_Default.java b/base/src/org/compiere/model/X_C_AcctSchema_Default.java index aabad3bf8b..5e6853a4e2 100644 --- a/base/src/org/compiere/model/X_C_AcctSchema_Default.java +++ b/base/src/org/compiere/model/X_C_AcctSchema_Default.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_AcctSchema_Default * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default, I_Persistent { @@ -372,7 +372,7 @@ public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default return ii.intValue(); } - public I_C_AcctSchema getC_AcctSchema() throws Exception + public I_C_AcctSchema getC_AcctSchema() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); I_C_AcctSchema result = null; @@ -383,7 +383,7 @@ public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_AcctSchema_Element.java b/base/src/org/compiere/model/X_C_AcctSchema_Element.java index f382ef7500..e04b359412 100644 --- a/base/src/org/compiere/model/X_C_AcctSchema_Element.java +++ b/base/src/org/compiere/model/X_C_AcctSchema_Element.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_AcctSchema_Element * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element, I_Persistent { @@ -81,7 +81,7 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element return sb.toString(); } - public I_AD_Column getAD_Column() throws Exception + public I_AD_Column getAD_Column() throws RuntimeException { Class clazz = MTable.getClass(I_AD_Column.Table_Name); I_AD_Column result = null; @@ -92,7 +92,7 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -139,7 +139,7 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element return ii.intValue(); } - public I_C_AcctSchema getC_AcctSchema() throws Exception + public I_C_AcctSchema getC_AcctSchema() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); I_C_AcctSchema result = null; @@ -150,7 +150,7 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -177,7 +177,7 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element return ii.intValue(); } - public I_C_Activity getC_Activity() throws Exception + public I_C_Activity getC_Activity() throws RuntimeException { Class clazz = MTable.getClass(I_C_Activity.Table_Name); I_C_Activity result = null; @@ -188,7 +188,7 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -216,7 +216,7 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element return ii.intValue(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -227,7 +227,7 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -255,7 +255,7 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element return ii.intValue(); } - public I_C_Campaign getC_Campaign() throws Exception + public I_C_Campaign getC_Campaign() throws RuntimeException { Class clazz = MTable.getClass(I_C_Campaign.Table_Name); I_C_Campaign result = null; @@ -266,7 +266,7 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -294,7 +294,7 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element return ii.intValue(); } - public I_C_Element getC_Element() throws Exception + public I_C_Element getC_Element() throws RuntimeException { Class clazz = MTable.getClass(I_C_Element.Table_Name); I_C_Element result = null; @@ -305,7 +305,7 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -332,7 +332,7 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element return ii.intValue(); } - public I_C_ElementValue getC_ElementValue() throws Exception + public I_C_ElementValue getC_ElementValue() throws RuntimeException { Class clazz = MTable.getClass(I_C_ElementValue.Table_Name); I_C_ElementValue result = null; @@ -343,7 +343,7 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -394,7 +394,7 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element return ii.intValue(); } - public I_C_Project getC_Project() throws Exception + public I_C_Project getC_Project() throws RuntimeException { Class clazz = MTable.getClass(I_C_Project.Table_Name); I_C_Project result = null; @@ -405,7 +405,7 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -433,7 +433,7 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element return ii.intValue(); } - public I_C_SalesRegion getC_SalesRegion() throws Exception + public I_C_SalesRegion getC_SalesRegion() throws RuntimeException { Class clazz = MTable.getClass(I_C_SalesRegion.Table_Name); I_C_SalesRegion result = null; @@ -444,7 +444,7 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -569,7 +569,7 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element return false; } - public I_M_Product getM_Product() throws Exception + public I_M_Product getM_Product() throws RuntimeException { Class clazz = MTable.getClass(I_M_Product.Table_Name); I_M_Product result = null; @@ -580,7 +580,7 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -635,8 +635,6 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element return new KeyNamePair(get_ID(), getName()); } - /** Org_ID AD_Reference_ID=130 */ - public static final int ORG_ID_AD_Reference_ID=130; /** Set Organization. @param Org_ID Organizational entity within client diff --git a/base/src/org/compiere/model/X_C_AcctSchema_GL.java b/base/src/org/compiere/model/X_C_AcctSchema_GL.java index 3817eda589..ad54a3823b 100644 --- a/base/src/org/compiere/model/X_C_AcctSchema_GL.java +++ b/base/src/org/compiere/model/X_C_AcctSchema_GL.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_AcctSchema_GL * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_AcctSchema_GL extends PO implements I_C_AcctSchema_GL, I_Persistent { @@ -82,7 +82,7 @@ public class X_C_AcctSchema_GL extends PO implements I_C_AcctSchema_GL, I_Persis return sb.toString(); } - public I_C_AcctSchema getC_AcctSchema() throws Exception + public I_C_AcctSchema getC_AcctSchema() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); I_C_AcctSchema result = null; @@ -93,7 +93,7 @@ public class X_C_AcctSchema_GL extends PO implements I_C_AcctSchema_GL, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_Activity.java b/base/src/org/compiere/model/X_C_Activity.java index af417f32e5..ece923627d 100644 --- a/base/src/org/compiere/model/X_C_Activity.java +++ b/base/src/org/compiere/model/X_C_Activity.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Activity * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Activity extends PO implements I_C_Activity, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_AllocationHdr.java b/base/src/org/compiere/model/X_C_AllocationHdr.java index 1bbd882f9d..85994b637e 100644 --- a/base/src/org/compiere/model/X_C_AllocationHdr.java +++ b/base/src/org/compiere/model/X_C_AllocationHdr.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_AllocationHdr * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_AllocationHdr extends PO implements I_C_AllocationHdr, I_Persistent { @@ -132,7 +132,7 @@ public class X_C_AllocationHdr extends PO implements I_C_AllocationHdr, I_Persis return ii.intValue(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -143,7 +143,7 @@ public class X_C_AllocationHdr extends PO implements I_C_AllocationHdr, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_AllocationLine.java b/base/src/org/compiere/model/X_C_AllocationLine.java index 8a73716569..97516cf1b1 100644 --- a/base/src/org/compiere/model/X_C_AllocationLine.java +++ b/base/src/org/compiere/model/X_C_AllocationLine.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_AllocationLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_AllocationLine extends PO implements I_C_AllocationLine, I_Persistent { @@ -101,7 +101,7 @@ public class X_C_AllocationLine extends PO implements I_C_AllocationLine, I_Pers return bd; } - public I_C_AllocationHdr getC_AllocationHdr() throws Exception + public I_C_AllocationHdr getC_AllocationHdr() throws RuntimeException { Class clazz = MTable.getClass(I_C_AllocationHdr.Table_Name); I_C_AllocationHdr result = null; @@ -112,7 +112,7 @@ public class X_C_AllocationLine extends PO implements I_C_AllocationLine, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -161,7 +161,7 @@ public class X_C_AllocationLine extends PO implements I_C_AllocationLine, I_Pers return ii.intValue(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -172,7 +172,7 @@ public class X_C_AllocationLine extends PO implements I_C_AllocationLine, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -200,7 +200,7 @@ public class X_C_AllocationLine extends PO implements I_C_AllocationLine, I_Pers return ii.intValue(); } - public I_C_CashLine getC_CashLine() throws Exception + public I_C_CashLine getC_CashLine() throws RuntimeException { Class clazz = MTable.getClass(I_C_CashLine.Table_Name); I_C_CashLine result = null; @@ -211,7 +211,7 @@ public class X_C_AllocationLine extends PO implements I_C_AllocationLine, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -239,7 +239,7 @@ public class X_C_AllocationLine extends PO implements I_C_AllocationLine, I_Pers return ii.intValue(); } - public I_C_Invoice getC_Invoice() throws Exception + public I_C_Invoice getC_Invoice() throws RuntimeException { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); I_C_Invoice result = null; @@ -250,7 +250,7 @@ public class X_C_AllocationLine extends PO implements I_C_AllocationLine, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -286,7 +286,7 @@ public class X_C_AllocationLine extends PO implements I_C_AllocationLine, I_Pers return new KeyNamePair(get_ID(), String.valueOf(getC_Invoice_ID())); } - public I_C_Order getC_Order() throws Exception + public I_C_Order getC_Order() throws RuntimeException { Class clazz = MTable.getClass(I_C_Order.Table_Name); I_C_Order result = null; @@ -297,7 +297,7 @@ public class X_C_AllocationLine extends PO implements I_C_AllocationLine, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -325,7 +325,7 @@ public class X_C_AllocationLine extends PO implements I_C_AllocationLine, I_Pers return ii.intValue(); } - public I_C_Payment getC_Payment() throws Exception + public I_C_Payment getC_Payment() throws RuntimeException { Class clazz = MTable.getClass(I_C_Payment.Table_Name); I_C_Payment result = null; @@ -336,7 +336,7 @@ public class X_C_AllocationLine extends PO implements I_C_AllocationLine, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_BP_BankAccount.java b/base/src/org/compiere/model/X_C_BP_BankAccount.java index 6a4dd27168..e490e8e4cc 100644 --- a/base/src/org/compiere/model/X_C_BP_BankAccount.java +++ b/base/src/org/compiere/model/X_C_BP_BankAccount.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BP_BankAccount * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Persistent { @@ -126,7 +126,7 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers return (String)get_Value(COLUMNNAME_A_Country); } - public I_AD_User getAD_User() throws Exception + public I_AD_User getAD_User() throws RuntimeException { Class clazz = MTable.getClass(I_AD_User.Table_Name); I_AD_User result = null; @@ -137,7 +137,7 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -346,7 +346,7 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers return (String)get_Value(COLUMNNAME_BPBankAcctUse); } - public I_C_Bank getC_Bank() throws Exception + public I_C_Bank getC_Bank() throws RuntimeException { Class clazz = MTable.getClass(I_C_Bank.Table_Name); I_C_Bank result = null; @@ -357,7 +357,7 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -385,7 +385,7 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers return ii.intValue(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -396,7 +396,7 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_BP_Customer_Acct.java b/base/src/org/compiere/model/X_C_BP_Customer_Acct.java index fba18e1eea..8ffbca9c5d 100644 --- a/base/src/org/compiere/model/X_C_BP_Customer_Acct.java +++ b/base/src/org/compiere/model/X_C_BP_Customer_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_BP_Customer_Acct * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_BP_Customer_Acct extends PO implements I_C_BP_Customer_Acct, I_Persistent { @@ -75,7 +75,7 @@ public class X_C_BP_Customer_Acct extends PO implements I_C_BP_Customer_Acct, I_ return sb.toString(); } - public I_C_AcctSchema getC_AcctSchema() throws Exception + public I_C_AcctSchema getC_AcctSchema() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); I_C_AcctSchema result = null; @@ -86,7 +86,7 @@ public class X_C_BP_Customer_Acct extends PO implements I_C_BP_Customer_Acct, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -113,7 +113,7 @@ public class X_C_BP_Customer_Acct extends PO implements I_C_BP_Customer_Acct, I_ return ii.intValue(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -124,7 +124,7 @@ public class X_C_BP_Customer_Acct extends PO implements I_C_BP_Customer_Acct, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_BP_EDI.java b/base/src/org/compiere/model/X_C_BP_EDI.java index 444297ca23..52c5f33b95 100644 --- a/base/src/org/compiere/model/X_C_BP_EDI.java +++ b/base/src/org/compiere/model/X_C_BP_EDI.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BP_EDI * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent { @@ -86,8 +86,6 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent return sb.toString(); } - /** AD_Sequence_ID AD_Reference_ID=128 */ - public static final int AD_SEQUENCE_ID_AD_Reference_ID=128; /** Set Sequence. @param AD_Sequence_ID Document Sequence @@ -110,7 +108,7 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent return ii.intValue(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -121,7 +119,7 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -383,7 +381,7 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent return false; } - public I_M_Warehouse getM_Warehouse() throws Exception + public I_M_Warehouse getM_Warehouse() throws RuntimeException { Class clazz = MTable.getClass(I_M_Warehouse.Table_Name); I_M_Warehouse result = null; @@ -394,7 +392,7 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_BP_Employee_Acct.java b/base/src/org/compiere/model/X_C_BP_Employee_Acct.java index 64ad7b8977..114db82c6a 100644 --- a/base/src/org/compiere/model/X_C_BP_Employee_Acct.java +++ b/base/src/org/compiere/model/X_C_BP_Employee_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_BP_Employee_Acct * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_BP_Employee_Acct extends PO implements I_C_BP_Employee_Acct, I_Persistent { @@ -74,7 +74,7 @@ public class X_C_BP_Employee_Acct extends PO implements I_C_BP_Employee_Acct, I_ return sb.toString(); } - public I_C_AcctSchema getC_AcctSchema() throws Exception + public I_C_AcctSchema getC_AcctSchema() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); I_C_AcctSchema result = null; @@ -85,7 +85,7 @@ public class X_C_BP_Employee_Acct extends PO implements I_C_BP_Employee_Acct, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -112,7 +112,7 @@ public class X_C_BP_Employee_Acct extends PO implements I_C_BP_Employee_Acct, I_ return ii.intValue(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -123,7 +123,7 @@ public class X_C_BP_Employee_Acct extends PO implements I_C_BP_Employee_Acct, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_BP_Group.java b/base/src/org/compiere/model/X_C_BP_Group.java index 58f345e2d6..4f0a9ea022 100644 --- a/base/src/org/compiere/model/X_C_BP_Group.java +++ b/base/src/org/compiere/model/X_C_BP_Group.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BP_Group * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_BP_Group extends PO implements I_C_BP_Group, I_Persistent { @@ -79,7 +79,7 @@ public class X_C_BP_Group extends PO implements I_C_BP_Group, I_Persistent return sb.toString(); } - public I_AD_PrintColor getAD_PrintColor() throws Exception + public I_AD_PrintColor getAD_PrintColor() throws RuntimeException { Class clazz = MTable.getClass(I_AD_PrintColor.Table_Name); I_AD_PrintColor result = null; @@ -90,7 +90,7 @@ public class X_C_BP_Group extends PO implements I_C_BP_Group, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -140,7 +140,7 @@ public class X_C_BP_Group extends PO implements I_C_BP_Group, I_Persistent return ii.intValue(); } - public I_C_Dunning getC_Dunning() throws Exception + public I_C_Dunning getC_Dunning() throws RuntimeException { Class clazz = MTable.getClass(I_C_Dunning.Table_Name); I_C_Dunning result = null; @@ -151,7 +151,7 @@ public class X_C_BP_Group extends PO implements I_C_BP_Group, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -264,8 +264,6 @@ public class X_C_BP_Group extends PO implements I_C_BP_Group, I_Persistent return false; } - /** M_DiscountSchema_ID AD_Reference_ID=325 */ - public static final int M_DISCOUNTSCHEMA_ID_AD_Reference_ID=325; /** Set Discount Schema. @param M_DiscountSchema_ID Schema to calculate the trade discount percentage @@ -289,7 +287,7 @@ public class X_C_BP_Group extends PO implements I_C_BP_Group, I_Persistent return ii.intValue(); } - public I_M_PriceList getM_PriceList() throws Exception + public I_M_PriceList getM_PriceList() throws RuntimeException { Class clazz = MTable.getClass(I_M_PriceList.Table_Name); I_M_PriceList result = null; @@ -300,7 +298,7 @@ public class X_C_BP_Group extends PO implements I_C_BP_Group, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -355,8 +353,6 @@ public class X_C_BP_Group extends PO implements I_C_BP_Group, I_Persistent return new KeyNamePair(get_ID(), getName()); } - /** PO_DiscountSchema_ID AD_Reference_ID=325 */ - public static final int PO_DISCOUNTSCHEMA_ID_AD_Reference_ID=325; /** Set PO Discount Schema. @param PO_DiscountSchema_ID Schema to calculate the purchase trade discount percentage @@ -380,8 +376,6 @@ public class X_C_BP_Group extends PO implements I_C_BP_Group, I_Persistent return ii.intValue(); } - /** PO_PriceList_ID AD_Reference_ID=166 */ - public static final int PO_PRICELIST_ID_AD_Reference_ID=166; /** Set Purchase Pricelist. @param PO_PriceList_ID Price List used by this Business Partner diff --git a/base/src/org/compiere/model/X_C_BP_Group_Acct.java b/base/src/org/compiere/model/X_C_BP_Group_Acct.java index 9c073a6c78..ab4d545491 100644 --- a/base/src/org/compiere/model/X_C_BP_Group_Acct.java +++ b/base/src/org/compiere/model/X_C_BP_Group_Acct.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BP_Group_Acct * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_BP_Group_Acct extends PO implements I_C_BP_Group_Acct, I_Persistent { @@ -86,7 +86,7 @@ public class X_C_BP_Group_Acct extends PO implements I_C_BP_Group_Acct, I_Persis return sb.toString(); } - public I_C_AcctSchema getC_AcctSchema() throws Exception + public I_C_AcctSchema getC_AcctSchema() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); I_C_AcctSchema result = null; @@ -97,7 +97,7 @@ public class X_C_BP_Group_Acct extends PO implements I_C_BP_Group_Acct, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -124,7 +124,7 @@ public class X_C_BP_Group_Acct extends PO implements I_C_BP_Group_Acct, I_Persis return ii.intValue(); } - public I_C_BP_Group getC_BP_Group() throws Exception + 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; @@ -135,7 +135,7 @@ public class X_C_BP_Group_Acct extends PO implements I_C_BP_Group_Acct, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_BP_Relation.java b/base/src/org/compiere/model/X_C_BP_Relation.java index b0d603bbbc..6acdde822c 100644 --- a/base/src/org/compiere/model/X_C_BP_Relation.java +++ b/base/src/org/compiere/model/X_C_BP_Relation.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BP_Relation * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_BP_Relation extends PO implements I_C_BP_Relation, I_Persistent { @@ -81,7 +81,7 @@ public class X_C_BP_Relation extends PO implements I_C_BP_Relation, I_Persistent return sb.toString(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -92,7 +92,7 @@ public class X_C_BP_Relation extends PO implements I_C_BP_Relation, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -119,7 +119,7 @@ public class X_C_BP_Relation extends PO implements I_C_BP_Relation, I_Persistent return ii.intValue(); } - public I_C_BPartner_Location getC_BPartner_Location() throws Exception + 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; @@ -130,7 +130,7 @@ public class X_C_BP_Relation extends PO implements I_C_BP_Relation, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -158,8 +158,6 @@ public class X_C_BP_Relation extends PO implements I_C_BP_Relation, I_Persistent return ii.intValue(); } - /** C_BPartnerRelation_ID AD_Reference_ID=138 */ - public static final int C_BPARTNERRELATION_ID_AD_Reference_ID=138; /** Set Related Partner. @param C_BPartnerRelation_ID Related Business Partner @@ -182,8 +180,6 @@ public class X_C_BP_Relation extends PO implements I_C_BP_Relation, I_Persistent return ii.intValue(); } - /** C_BPartnerRelation_Location_ID AD_Reference_ID=159 */ - public static final int C_BPARTNERRELATION_LOCATION_ID_AD_Reference_ID=159; /** Set Related Partner Location. @param C_BPartnerRelation_Location_ID Location of the related Business Partner diff --git a/base/src/org/compiere/model/X_C_BP_Vendor_Acct.java b/base/src/org/compiere/model/X_C_BP_Vendor_Acct.java index a3c520d012..bf42fc5cf8 100644 --- a/base/src/org/compiere/model/X_C_BP_Vendor_Acct.java +++ b/base/src/org/compiere/model/X_C_BP_Vendor_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_BP_Vendor_Acct * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_BP_Vendor_Acct extends PO implements I_C_BP_Vendor_Acct, I_Persistent { @@ -74,7 +74,7 @@ public class X_C_BP_Vendor_Acct extends PO implements I_C_BP_Vendor_Acct, I_Pers return sb.toString(); } - public I_C_AcctSchema getC_AcctSchema() throws Exception + public I_C_AcctSchema getC_AcctSchema() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); I_C_AcctSchema result = null; @@ -85,7 +85,7 @@ public class X_C_BP_Vendor_Acct extends PO implements I_C_BP_Vendor_Acct, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -112,7 +112,7 @@ public class X_C_BP_Vendor_Acct extends PO implements I_C_BP_Vendor_Acct, I_Pers return ii.intValue(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -123,7 +123,7 @@ public class X_C_BP_Vendor_Acct extends PO implements I_C_BP_Vendor_Acct, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_BP_Withholding.java b/base/src/org/compiere/model/X_C_BP_Withholding.java index 6d2aa9c78b..e8134f8dae 100644 --- a/base/src/org/compiere/model/X_C_BP_Withholding.java +++ b/base/src/org/compiere/model/X_C_BP_Withholding.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_BP_Withholding * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_BP_Withholding extends PO implements I_C_BP_Withholding, I_Persistent { @@ -74,7 +74,7 @@ public class X_C_BP_Withholding extends PO implements I_C_BP_Withholding, I_Pers return sb.toString(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -85,7 +85,7 @@ public class X_C_BP_Withholding extends PO implements I_C_BP_Withholding, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -112,7 +112,7 @@ public class X_C_BP_Withholding extends PO implements I_C_BP_Withholding, I_Pers return ii.intValue(); } - public I_C_Withholding getC_Withholding() throws Exception + public I_C_Withholding getC_Withholding() throws RuntimeException { Class clazz = MTable.getClass(I_C_Withholding.Table_Name); I_C_Withholding result = null; @@ -123,7 +123,7 @@ public class X_C_BP_Withholding extends PO implements I_C_BP_Withholding, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_BPartner.java b/base/src/org/compiere/model/X_C_BPartner.java index a795b20a02..e20376e309 100644 --- a/base/src/org/compiere/model/X_C_BPartner.java +++ b/base/src/org/compiere/model/X_C_BPartner.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BPartner * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent { @@ -209,7 +209,7 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent return ii.intValue(); } - public I_C_BP_Group getC_BP_Group() throws Exception + 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; @@ -220,7 +220,7 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -247,7 +247,7 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent return ii.intValue(); } - public I_C_Dunning getC_Dunning() throws Exception + public I_C_Dunning getC_Dunning() throws RuntimeException { Class clazz = MTable.getClass(I_C_Dunning.Table_Name); I_C_Dunning result = null; @@ -258,7 +258,7 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -286,7 +286,7 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent return ii.intValue(); } - public I_C_Greeting getC_Greeting() throws Exception + public I_C_Greeting getC_Greeting() throws RuntimeException { Class clazz = MTable.getClass(I_C_Greeting.Table_Name); I_C_Greeting result = null; @@ -297,7 +297,7 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -325,7 +325,7 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent return ii.intValue(); } - public I_C_InvoiceSchedule getC_InvoiceSchedule() throws Exception + public I_C_InvoiceSchedule getC_InvoiceSchedule() throws RuntimeException { Class clazz = MTable.getClass(I_C_InvoiceSchedule.Table_Name); I_C_InvoiceSchedule result = null; @@ -336,7 +336,7 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -364,7 +364,7 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent return ii.intValue(); } - public I_C_PaymentTerm getC_PaymentTerm() throws Exception + public I_C_PaymentTerm getC_PaymentTerm() throws RuntimeException { Class clazz = MTable.getClass(I_C_PaymentTerm.Table_Name); I_C_PaymentTerm result = null; @@ -375,7 +375,7 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -403,7 +403,7 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent return ii.intValue(); } - public org.eevolution.model.I_C_TaxGroup getC_TaxGroup() throws Exception + 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; @@ -414,7 +414,7 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -630,8 +630,6 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent return (String)get_Value(COLUMNNAME_FreightCostRule); } - /** Invoice_PrintFormat_ID AD_Reference_ID=261 */ - public static final int INVOICE_PRINTFORMAT_ID_AD_Reference_ID=261; /** Set Invoice Print Format. @param Invoice_PrintFormat_ID Print Format for printing Invoices @@ -896,8 +894,6 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent return false; } - /** M_DiscountSchema_ID AD_Reference_ID=325 */ - public static final int M_DISCOUNTSCHEMA_ID_AD_Reference_ID=325; /** Set Discount Schema. @param M_DiscountSchema_ID Schema to calculate the trade discount percentage @@ -921,7 +917,7 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent return ii.intValue(); } - public I_M_PriceList getM_PriceList() throws Exception + public I_M_PriceList getM_PriceList() throws RuntimeException { Class clazz = MTable.getClass(I_M_PriceList.Table_Name); I_M_PriceList result = null; @@ -932,7 +928,7 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -1055,6 +1051,8 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent public static final String PAYMENTRULE_OnCredit = "P"; /** Direct Debit = D */ public static final String PAYMENTRULE_DirectDebit = "D"; + /** Mixed = M */ + public static final String PAYMENTRULE_Mixed = "M"; /** Set Payment Rule. @param PaymentRule How you pay the invoice @@ -1062,7 +1060,7 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent public void setPaymentRule (String PaymentRule) { - if (PaymentRule == null || PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D"); set_Value (COLUMNNAME_PaymentRule, PaymentRule); + if (PaymentRule == null || PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D") || PaymentRule.equals("M")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D - M"); set_Value (COLUMNNAME_PaymentRule, PaymentRule); } /** Get Payment Rule. @@ -1087,6 +1085,8 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent public static final String PAYMENTRULEPO_OnCredit = "P"; /** Direct Debit = D */ public static final String PAYMENTRULEPO_DirectDebit = "D"; + /** Mixed = M */ + public static final String PAYMENTRULEPO_Mixed = "M"; /** Set Payment Rule. @param PaymentRulePO Purchase payment option @@ -1094,7 +1094,7 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent public void setPaymentRulePO (String PaymentRulePO) { - if (PaymentRulePO == null || PaymentRulePO.equals("B") || PaymentRulePO.equals("K") || PaymentRulePO.equals("T") || PaymentRulePO.equals("S") || PaymentRulePO.equals("P") || PaymentRulePO.equals("D")); else throw new IllegalArgumentException ("PaymentRulePO Invalid value - " + PaymentRulePO + " - Reference_ID=195 - B - K - T - S - P - D"); set_Value (COLUMNNAME_PaymentRulePO, PaymentRulePO); + if (PaymentRulePO == null || PaymentRulePO.equals("B") || PaymentRulePO.equals("K") || PaymentRulePO.equals("T") || PaymentRulePO.equals("S") || PaymentRulePO.equals("P") || PaymentRulePO.equals("D") || PaymentRulePO.equals("M")); else throw new IllegalArgumentException ("PaymentRulePO Invalid value - " + PaymentRulePO + " - Reference_ID=195 - B - K - T - S - P - D - M"); set_Value (COLUMNNAME_PaymentRulePO, PaymentRulePO); } /** Get Payment Rule. @@ -1105,8 +1105,6 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent return (String)get_Value(COLUMNNAME_PaymentRulePO); } - /** PO_DiscountSchema_ID AD_Reference_ID=325 */ - public static final int PO_DISCOUNTSCHEMA_ID_AD_Reference_ID=325; /** Set PO Discount Schema. @param PO_DiscountSchema_ID Schema to calculate the purchase trade discount percentage @@ -1130,8 +1128,6 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent return ii.intValue(); } - /** PO_PaymentTerm_ID AD_Reference_ID=227 */ - public static final int PO_PAYMENTTERM_ID_AD_Reference_ID=227; /** Set PO Payment Term. @param PO_PaymentTerm_ID Payment rules for a purchase order @@ -1155,8 +1151,6 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent return ii.intValue(); } - /** PO_PriceList_ID AD_Reference_ID=166 */ - public static final int PO_PRICELIST_ID_AD_Reference_ID=166; /** Set Purchase Pricelist. @param PO_PriceList_ID Price List used by this Business Partner @@ -1251,8 +1245,6 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent return (String)get_Value(COLUMNNAME_ReferenceNo); } - /** SalesRep_ID AD_Reference_ID=190 */ - public static final int SALESREP_ID_AD_Reference_ID=190; /** Set Sales Representative. @param SalesRep_ID Sales Representative or Company Agent diff --git a/base/src/org/compiere/model/X_C_BPartner_Location.java b/base/src/org/compiere/model/X_C_BPartner_Location.java index 4c724328f5..9b201cecc8 100644 --- a/base/src/org/compiere/model/X_C_BPartner_Location.java +++ b/base/src/org/compiere/model/X_C_BPartner_Location.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BPartner_Location * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_BPartner_Location extends PO implements I_C_BPartner_Location, I_Persistent { @@ -84,7 +84,7 @@ public class X_C_BPartner_Location extends PO implements I_C_BPartner_Location, return sb.toString(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -95,7 +95,7 @@ public class X_C_BPartner_Location extends PO implements I_C_BPartner_Location, } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -166,7 +166,7 @@ public class X_C_BPartner_Location extends PO implements I_C_BPartner_Location, return ii.intValue(); } - public I_C_SalesRegion getC_SalesRegion() throws Exception + public I_C_SalesRegion getC_SalesRegion() throws RuntimeException { Class clazz = MTable.getClass(I_C_SalesRegion.Table_Name); I_C_SalesRegion result = null; @@ -177,7 +177,7 @@ public class X_C_BPartner_Location extends PO implements I_C_BPartner_Location, } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_BPartner_Product.java b/base/src/org/compiere/model/X_C_BPartner_Product.java index a86c370792..969948c189 100644 --- a/base/src/org/compiere/model/X_C_BPartner_Product.java +++ b/base/src/org/compiere/model/X_C_BPartner_Product.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for C_BPartner_Product * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_BPartner_Product extends PO implements I_C_BPartner_Product, I_Persistent { @@ -76,7 +76,7 @@ public class X_C_BPartner_Product extends PO implements I_C_BPartner_Product, I_ return sb.toString(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -87,7 +87,7 @@ public class X_C_BPartner_Product extends PO implements I_C_BPartner_Product, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -148,7 +148,7 @@ public class X_C_BPartner_Product extends PO implements I_C_BPartner_Product, I_ return (String)get_Value(COLUMNNAME_Manufacturer); } - public I_M_Product getM_Product() throws Exception + public I_M_Product getM_Product() throws RuntimeException { Class clazz = MTable.getClass(I_M_Product.Table_Name); I_M_Product result = null; @@ -159,7 +159,7 @@ public class X_C_BPartner_Product extends PO implements I_C_BPartner_Product, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_Bank.java b/base/src/org/compiere/model/X_C_Bank.java index d2f84e07a8..be9619bc2d 100644 --- a/base/src/org/compiere/model/X_C_Bank.java +++ b/base/src/org/compiere/model/X_C_Bank.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Bank * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Bank extends PO implements I_C_Bank, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_BankAccount.java b/base/src/org/compiere/model/X_C_BankAccount.java index 337dfb3807..f9a10150db 100644 --- a/base/src/org/compiere/model/X_C_BankAccount.java +++ b/base/src/org/compiere/model/X_C_BankAccount.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BankAccount * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_BankAccount extends PO implements I_C_BankAccount, I_Persistent { @@ -163,7 +163,7 @@ public class X_C_BankAccount extends PO implements I_C_BankAccount, I_Persistent return ii.intValue(); } - public I_C_Bank getC_Bank() throws Exception + public I_C_Bank getC_Bank() throws RuntimeException { Class clazz = MTable.getClass(I_C_Bank.Table_Name); I_C_Bank result = null; @@ -174,7 +174,7 @@ public class X_C_BankAccount extends PO implements I_C_BankAccount, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -209,7 +209,7 @@ public class X_C_BankAccount extends PO implements I_C_BankAccount, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getC_Bank_ID())); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -220,7 +220,7 @@ public class X_C_BankAccount extends PO implements I_C_BankAccount, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_BankAccountDoc.java b/base/src/org/compiere/model/X_C_BankAccountDoc.java index fdaa1f4de7..a75f882e00 100644 --- a/base/src/org/compiere/model/X_C_BankAccountDoc.java +++ b/base/src/org/compiere/model/X_C_BankAccountDoc.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BankAccountDoc * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_BankAccountDoc extends PO implements I_C_BankAccountDoc, I_Persistent { @@ -98,7 +98,7 @@ public class X_C_BankAccountDoc extends PO implements I_C_BankAccountDoc, I_Pers return ii.intValue(); } - public I_C_BankAccount getC_BankAccount() throws Exception + public I_C_BankAccount getC_BankAccount() throws RuntimeException { Class clazz = MTable.getClass(I_C_BankAccount.Table_Name); I_C_BankAccount result = null; @@ -109,7 +109,7 @@ public class X_C_BankAccountDoc extends PO implements I_C_BankAccountDoc, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -136,8 +136,6 @@ public class X_C_BankAccountDoc extends PO implements I_C_BankAccountDoc, I_Pers return ii.intValue(); } - /** Check_PrintFormat_ID AD_Reference_ID=268 */ - public static final int CHECK_PRINTFORMAT_ID_AD_Reference_ID=268; /** Set Check Print Format. @param Check_PrintFormat_ID Print Format for printing Checks @@ -239,6 +237,8 @@ public class X_C_BankAccountDoc extends PO implements I_C_BankAccountDoc, I_Pers public static final String PAYMENTRULE_OnCredit = "P"; /** Direct Debit = D */ public static final String PAYMENTRULE_DirectDebit = "D"; + /** Mixed = M */ + public static final String PAYMENTRULE_Mixed = "M"; /** Set Payment Rule. @param PaymentRule How you pay the invoice @@ -246,7 +246,7 @@ public class X_C_BankAccountDoc extends PO implements I_C_BankAccountDoc, I_Pers public void setPaymentRule (String PaymentRule) { if (PaymentRule == null) throw new IllegalArgumentException ("PaymentRule is mandatory"); - if (PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D"); set_Value (COLUMNNAME_PaymentRule, PaymentRule); + if (PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D") || PaymentRule.equals("M")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D - M"); set_Value (COLUMNNAME_PaymentRule, PaymentRule); } /** Get Payment Rule. diff --git a/base/src/org/compiere/model/X_C_BankAccount_Acct.java b/base/src/org/compiere/model/X_C_BankAccount_Acct.java index 2239694557..da76ee34a2 100644 --- a/base/src/org/compiere/model/X_C_BankAccount_Acct.java +++ b/base/src/org/compiere/model/X_C_BankAccount_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_BankAccount_Acct * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_BankAccount_Acct extends PO implements I_C_BankAccount_Acct, I_Persistent { @@ -324,7 +324,7 @@ public class X_C_BankAccount_Acct extends PO implements I_C_BankAccount_Acct, I_ return ii.intValue(); } - public I_C_AcctSchema getC_AcctSchema() throws Exception + public I_C_AcctSchema getC_AcctSchema() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); I_C_AcctSchema result = null; @@ -335,7 +335,7 @@ public class X_C_BankAccount_Acct extends PO implements I_C_BankAccount_Acct, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -362,7 +362,7 @@ public class X_C_BankAccount_Acct extends PO implements I_C_BankAccount_Acct, I_ return ii.intValue(); } - public I_C_BankAccount getC_BankAccount() throws Exception + public I_C_BankAccount getC_BankAccount() throws RuntimeException { Class clazz = MTable.getClass(I_C_BankAccount.Table_Name); I_C_BankAccount result = null; @@ -373,7 +373,7 @@ public class X_C_BankAccount_Acct extends PO implements I_C_BankAccount_Acct, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_BankStatement.java b/base/src/org/compiere/model/X_C_BankStatement.java index 7dc4d8b550..42e8c23b6b 100644 --- a/base/src/org/compiere/model/X_C_BankStatement.java +++ b/base/src/org/compiere/model/X_C_BankStatement.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BankStatement * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_BankStatement extends PO implements I_C_BankStatement, I_Persistent { @@ -112,7 +112,7 @@ public class X_C_BankStatement extends PO implements I_C_BankStatement, I_Persis return bd; } - public I_C_BankAccount getC_BankAccount() throws Exception + public I_C_BankAccount getC_BankAccount() throws RuntimeException { Class clazz = MTable.getClass(I_C_BankAccount.Table_Name); I_C_BankAccount result = null; @@ -123,7 +123,7 @@ public class X_C_BankStatement extends PO implements I_C_BankStatement, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_BankStatementLine.java b/base/src/org/compiere/model/X_C_BankStatementLine.java index e0db228120..78ae219e16 100644 --- a/base/src/org/compiere/model/X_C_BankStatementLine.java +++ b/base/src/org/compiere/model/X_C_BankStatementLine.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BankStatementLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, I_Persistent { @@ -95,7 +95,7 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, return sb.toString(); } - public I_C_BankStatement getC_BankStatement() throws Exception + public I_C_BankStatement getC_BankStatement() throws RuntimeException { Class clazz = MTable.getClass(I_C_BankStatement.Table_Name); I_C_BankStatement result = null; @@ -106,7 +106,7 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -155,7 +155,7 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, return ii.intValue(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -166,7 +166,7 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -194,7 +194,7 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, return ii.intValue(); } - public I_C_Charge getC_Charge() throws Exception + public I_C_Charge getC_Charge() throws RuntimeException { Class clazz = MTable.getClass(I_C_Charge.Table_Name); I_C_Charge result = null; @@ -205,7 +205,7 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -232,7 +232,7 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, return ii.intValue(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -243,7 +243,7 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -292,7 +292,7 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, return bd; } - public I_C_Invoice getC_Invoice() throws Exception + public I_C_Invoice getC_Invoice() throws RuntimeException { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); I_C_Invoice result = null; @@ -303,7 +303,7 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -331,7 +331,7 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, return ii.intValue(); } - public I_C_Payment getC_Payment() throws Exception + public I_C_Payment getC_Payment() throws RuntimeException { Class clazz = MTable.getClass(I_C_Payment.Table_Name); I_C_Payment result = null; @@ -342,7 +342,7 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_BankStatementLoader.java b/base/src/org/compiere/model/X_C_BankStatementLoader.java index 2579b25945..5bce7b7690 100644 --- a/base/src/org/compiere/model/X_C_BankStatementLoader.java +++ b/base/src/org/compiere/model/X_C_BankStatementLoader.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BankStatementLoader * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_BankStatementLoader extends PO implements I_C_BankStatementLoader, I_Persistent { @@ -109,7 +109,7 @@ public class X_C_BankStatementLoader extends PO implements I_C_BankStatementLoad return (String)get_Value(COLUMNNAME_BranchID); } - public I_C_BankAccount getC_BankAccount() throws Exception + public I_C_BankAccount getC_BankAccount() throws RuntimeException { Class clazz = MTable.getClass(I_C_BankAccount.Table_Name); I_C_BankAccount result = null; @@ -120,7 +120,7 @@ public class X_C_BankStatementLoader extends PO implements I_C_BankStatementLoad } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_BankStatementMatcher.java b/base/src/org/compiere/model/X_C_BankStatementMatcher.java index c5cc5f2f8b..98a1db61a6 100644 --- a/base/src/org/compiere/model/X_C_BankStatementMatcher.java +++ b/base/src/org/compiere/model/X_C_BankStatementMatcher.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_BankStatementMatcher * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_BankStatementMatcher extends PO implements I_C_BankStatementMatcher, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_Calendar.java b/base/src/org/compiere/model/X_C_Calendar.java index b38ab8aa04..e318d94fd6 100644 --- a/base/src/org/compiere/model/X_C_Calendar.java +++ b/base/src/org/compiere/model/X_C_Calendar.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Calendar * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Calendar extends PO implements I_C_Calendar, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_Campaign.java b/base/src/org/compiere/model/X_C_Campaign.java index 8fa0f1b22c..86172c193b 100644 --- a/base/src/org/compiere/model/X_C_Campaign.java +++ b/base/src/org/compiere/model/X_C_Campaign.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Campaign * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Campaign extends PO implements I_C_Campaign, I_Persistent { @@ -101,7 +101,7 @@ public class X_C_Campaign extends PO implements I_C_Campaign, I_Persistent return ii.intValue(); } - public I_C_Channel getC_Channel() throws Exception + public I_C_Channel getC_Channel() throws RuntimeException { Class clazz = MTable.getClass(I_C_Channel.Table_Name); I_C_Channel result = null; @@ -112,7 +112,7 @@ public class X_C_Campaign extends PO implements I_C_Campaign, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_Cash.java b/base/src/org/compiere/model/X_C_Cash.java index 6b96743806..5560746fcb 100644 --- a/base/src/org/compiere/model/X_C_Cash.java +++ b/base/src/org/compiere/model/X_C_Cash.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Cash * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent { @@ -92,8 +92,6 @@ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent return sb.toString(); } - /** AD_OrgTrx_ID AD_Reference_ID=130 */ - public static final int AD_ORGTRX_ID_AD_Reference_ID=130; /** Set Trx Organization. @param AD_OrgTrx_ID Performing or initiating organization @@ -139,7 +137,7 @@ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent return bd; } - public I_C_Activity getC_Activity() throws Exception + public I_C_Activity getC_Activity() throws RuntimeException { Class clazz = MTable.getClass(I_C_Activity.Table_Name); I_C_Activity result = null; @@ -150,7 +148,7 @@ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -178,7 +176,7 @@ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent return ii.intValue(); } - public I_C_Campaign getC_Campaign() throws Exception + public I_C_Campaign getC_Campaign() throws RuntimeException { Class clazz = MTable.getClass(I_C_Campaign.Table_Name); I_C_Campaign result = null; @@ -189,7 +187,7 @@ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -217,7 +215,7 @@ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent return ii.intValue(); } - public I_C_CashBook getC_CashBook() throws Exception + public I_C_CashBook getC_CashBook() throws RuntimeException { Class clazz = MTable.getClass(I_C_CashBook.Table_Name); I_C_CashBook result = null; @@ -228,7 +226,7 @@ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -277,7 +275,7 @@ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent return ii.intValue(); } - public I_C_Project getC_Project() throws Exception + public I_C_Project getC_Project() throws RuntimeException { Class clazz = MTable.getClass(I_C_Project.Table_Name); I_C_Project result = null; @@ -288,7 +286,7 @@ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -625,8 +623,6 @@ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent return bd; } - /** User1_ID AD_Reference_ID=134 */ - public static final int USER1_ID_AD_Reference_ID=134; /** Set User List 1. @param User1_ID User defined list element #1 @@ -650,8 +646,6 @@ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent return ii.intValue(); } - /** User2_ID AD_Reference_ID=137 */ - public static final int USER2_ID_AD_Reference_ID=137; /** Set User List 2. @param User2_ID User defined list element #2 diff --git a/base/src/org/compiere/model/X_C_CashBook.java b/base/src/org/compiere/model/X_C_CashBook.java index bcd569730f..5656c6f5c6 100644 --- a/base/src/org/compiere/model/X_C_CashBook.java +++ b/base/src/org/compiere/model/X_C_CashBook.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_CashBook * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_CashBook extends PO implements I_C_CashBook, I_Persistent { @@ -97,7 +97,7 @@ public class X_C_CashBook extends PO implements I_C_CashBook, I_Persistent return ii.intValue(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -108,7 +108,7 @@ public class X_C_CashBook extends PO implements I_C_CashBook, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_CashBook_Acct.java b/base/src/org/compiere/model/X_C_CashBook_Acct.java index fdf4cada1a..6d49be55c6 100644 --- a/base/src/org/compiere/model/X_C_CashBook_Acct.java +++ b/base/src/org/compiere/model/X_C_CashBook_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_CashBook_Acct * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_CashBook_Acct extends PO implements I_C_CashBook_Acct, I_Persistent { @@ -77,7 +77,7 @@ public class X_C_CashBook_Acct extends PO implements I_C_CashBook_Acct, I_Persis return sb.toString(); } - public I_C_AcctSchema getC_AcctSchema() throws Exception + public I_C_AcctSchema getC_AcctSchema() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); I_C_AcctSchema result = null; @@ -88,7 +88,7 @@ public class X_C_CashBook_Acct extends PO implements I_C_CashBook_Acct, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -215,7 +215,7 @@ public class X_C_CashBook_Acct extends PO implements I_C_CashBook_Acct, I_Persis return ii.intValue(); } - public I_C_CashBook getC_CashBook() throws Exception + public I_C_CashBook getC_CashBook() throws RuntimeException { Class clazz = MTable.getClass(I_C_CashBook.Table_Name); I_C_CashBook result = null; @@ -226,7 +226,7 @@ public class X_C_CashBook_Acct extends PO implements I_C_CashBook_Acct, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_CashLine.java b/base/src/org/compiere/model/X_C_CashLine.java index 8e57a7f5cc..b17237f356 100644 --- a/base/src/org/compiere/model/X_C_CashLine.java +++ b/base/src/org/compiere/model/X_C_CashLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_CashLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent { @@ -135,7 +135,7 @@ public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent return (String)get_Value(COLUMNNAME_CashType); } - public I_C_BankAccount getC_BankAccount() throws Exception + public I_C_BankAccount getC_BankAccount() throws RuntimeException { Class clazz = MTable.getClass(I_C_BankAccount.Table_Name); I_C_BankAccount result = null; @@ -146,7 +146,7 @@ public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -174,7 +174,7 @@ public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent return ii.intValue(); } - public I_C_Cash getC_Cash() throws Exception + public I_C_Cash getC_Cash() throws RuntimeException { Class clazz = MTable.getClass(I_C_Cash.Table_Name); I_C_Cash result = null; @@ -185,7 +185,7 @@ public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -242,7 +242,7 @@ public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent return ii.intValue(); } - public I_C_Charge getC_Charge() throws Exception + public I_C_Charge getC_Charge() throws RuntimeException { Class clazz = MTable.getClass(I_C_Charge.Table_Name); I_C_Charge result = null; @@ -253,7 +253,7 @@ public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -281,7 +281,7 @@ public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent return ii.intValue(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -292,7 +292,7 @@ public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -320,7 +320,7 @@ public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent return ii.intValue(); } - public I_C_Invoice getC_Invoice() throws Exception + public I_C_Invoice getC_Invoice() throws RuntimeException { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); I_C_Invoice result = null; @@ -331,7 +331,7 @@ public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -359,7 +359,7 @@ public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent return ii.intValue(); } - public I_C_Payment getC_Payment() throws Exception + public I_C_Payment getC_Payment() throws RuntimeException { Class clazz = MTable.getClass(I_C_Payment.Table_Name); I_C_Payment result = null; @@ -370,7 +370,7 @@ public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_Channel.java b/base/src/org/compiere/model/X_C_Channel.java index 8766b46d2c..8e65f0936b 100644 --- a/base/src/org/compiere/model/X_C_Channel.java +++ b/base/src/org/compiere/model/X_C_Channel.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Channel * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Channel extends PO implements I_C_Channel, I_Persistent { @@ -73,7 +73,7 @@ public class X_C_Channel extends PO implements I_C_Channel, I_Persistent return sb.toString(); } - public I_AD_PrintColor getAD_PrintColor() throws Exception + public I_AD_PrintColor getAD_PrintColor() throws RuntimeException { Class clazz = MTable.getClass(I_AD_PrintColor.Table_Name); I_AD_PrintColor result = null; @@ -84,7 +84,7 @@ public class X_C_Channel extends PO implements I_C_Channel, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_Charge.java b/base/src/org/compiere/model/X_C_Charge.java index 581587d5ce..6d8975c070 100644 --- a/base/src/org/compiere/model/X_C_Charge.java +++ b/base/src/org/compiere/model/X_C_Charge.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Charge * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Charge extends PO implements I_C_Charge, I_Persistent { @@ -81,7 +81,7 @@ public class X_C_Charge extends PO implements I_C_Charge, I_Persistent return sb.toString(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -92,7 +92,7 @@ public class X_C_Charge extends PO implements I_C_Charge, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -164,7 +164,7 @@ public class X_C_Charge extends PO implements I_C_Charge, I_Persistent return bd; } - public I_C_TaxCategory getC_TaxCategory() throws Exception + public I_C_TaxCategory getC_TaxCategory() throws RuntimeException { Class clazz = MTable.getClass(I_C_TaxCategory.Table_Name); I_C_TaxCategory result = null; @@ -175,7 +175,7 @@ public class X_C_Charge extends PO implements I_C_Charge, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_Charge_Acct.java b/base/src/org/compiere/model/X_C_Charge_Acct.java index c862ddee10..6b91ab607c 100644 --- a/base/src/org/compiere/model/X_C_Charge_Acct.java +++ b/base/src/org/compiere/model/X_C_Charge_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_Charge_Acct * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Charge_Acct extends PO implements I_C_Charge_Acct, I_Persistent { @@ -74,7 +74,7 @@ public class X_C_Charge_Acct extends PO implements I_C_Charge_Acct, I_Persistent return sb.toString(); } - public I_C_AcctSchema getC_AcctSchema() throws Exception + public I_C_AcctSchema getC_AcctSchema() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); I_C_AcctSchema result = null; @@ -85,7 +85,7 @@ public class X_C_Charge_Acct extends PO implements I_C_Charge_Acct, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -112,7 +112,7 @@ public class X_C_Charge_Acct extends PO implements I_C_Charge_Acct, I_Persistent return ii.intValue(); } - public I_C_Charge getC_Charge() throws Exception + public I_C_Charge getC_Charge() throws RuntimeException { Class clazz = MTable.getClass(I_C_Charge.Table_Name); I_C_Charge result = null; @@ -123,7 +123,7 @@ public class X_C_Charge_Acct extends PO implements I_C_Charge_Acct, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_City.java b/base/src/org/compiere/model/X_C_City.java index f0aac2f614..3484bb0b7d 100644 --- a/base/src/org/compiere/model/X_C_City.java +++ b/base/src/org/compiere/model/X_C_City.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_City * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_City extends PO implements I_C_City, I_Persistent { @@ -112,7 +112,7 @@ public class X_C_City extends PO implements I_C_City, I_Persistent return ii.intValue(); } - public I_C_Country getC_Country() throws Exception + public I_C_Country getC_Country() throws RuntimeException { Class clazz = MTable.getClass(I_C_Country.Table_Name); I_C_Country result = null; @@ -123,7 +123,7 @@ public class X_C_City extends PO implements I_C_City, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -168,8 +168,6 @@ public class X_C_City extends PO implements I_C_City, I_Persistent return (String)get_Value(COLUMNNAME_Coordinates); } - /** C_Region_ID AD_Reference_ID=157 */ - public static final int C_REGION_ID_AD_Reference_ID=157; /** Set Region. @param C_Region_ID Identifies a geographical Region diff --git a/base/src/org/compiere/model/X_C_Commission.java b/base/src/org/compiere/model/X_C_Commission.java index 104b1b1edb..4cff9e93f1 100644 --- a/base/src/org/compiere/model/X_C_Commission.java +++ b/base/src/org/compiere/model/X_C_Commission.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Commission * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Commission extends PO implements I_C_Commission, I_Persistent { @@ -82,8 +82,6 @@ public class X_C_Commission extends PO implements I_C_Commission, I_Persistent return sb.toString(); } - /** C_BPartner_ID AD_Reference_ID=232 */ - public static final int C_BPARTNER_ID_AD_Reference_ID=232; /** Set Business Partner . @param C_BPartner_ID Identifies a Business Partner @@ -106,7 +104,7 @@ public class X_C_Commission extends PO implements I_C_Commission, I_Persistent return ii.intValue(); } - public I_C_Charge getC_Charge() throws Exception + public I_C_Charge getC_Charge() throws RuntimeException { Class clazz = MTable.getClass(I_C_Charge.Table_Name); I_C_Charge result = null; @@ -117,7 +115,7 @@ public class X_C_Commission extends PO implements I_C_Commission, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -166,7 +164,7 @@ public class X_C_Commission extends PO implements I_C_Commission, I_Persistent return ii.intValue(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -177,7 +175,7 @@ public class X_C_Commission extends PO implements I_C_Commission, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_CommissionAmt.java b/base/src/org/compiere/model/X_C_CommissionAmt.java index 598fdd852a..4803ffffe4 100644 --- a/base/src/org/compiere/model/X_C_CommissionAmt.java +++ b/base/src/org/compiere/model/X_C_CommissionAmt.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_CommissionAmt * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_CommissionAmt extends PO implements I_C_CommissionAmt, I_Persistent { @@ -123,7 +123,7 @@ public class X_C_CommissionAmt extends PO implements I_C_CommissionAmt, I_Persis return ii.intValue(); } - public I_C_CommissionLine getC_CommissionLine() throws Exception + public I_C_CommissionLine getC_CommissionLine() throws RuntimeException { Class clazz = MTable.getClass(I_C_CommissionLine.Table_Name); I_C_CommissionLine result = null; @@ -134,7 +134,7 @@ public class X_C_CommissionAmt extends PO implements I_C_CommissionAmt, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -161,7 +161,7 @@ public class X_C_CommissionAmt extends PO implements I_C_CommissionAmt, I_Persis return ii.intValue(); } - public I_C_CommissionRun getC_CommissionRun() throws Exception + public I_C_CommissionRun getC_CommissionRun() throws RuntimeException { Class clazz = MTable.getClass(I_C_CommissionRun.Table_Name); I_C_CommissionRun result = null; @@ -172,7 +172,7 @@ public class X_C_CommissionAmt extends PO implements I_C_CommissionAmt, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_CommissionDetail.java b/base/src/org/compiere/model/X_C_CommissionDetail.java index 83e4f5e21d..ea0487b781 100644 --- a/base/src/org/compiere/model/X_C_CommissionDetail.java +++ b/base/src/org/compiere/model/X_C_CommissionDetail.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_CommissionDetail * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_CommissionDetail extends PO implements I_C_CommissionDetail, I_Persistent { @@ -123,7 +123,7 @@ public class X_C_CommissionDetail extends PO implements I_C_CommissionDetail, I_ return bd; } - public I_C_CommissionAmt getC_CommissionAmt() throws Exception + public I_C_CommissionAmt getC_CommissionAmt() throws RuntimeException { Class clazz = MTable.getClass(I_C_CommissionAmt.Table_Name); I_C_CommissionAmt result = null; @@ -134,7 +134,7 @@ public class X_C_CommissionDetail extends PO implements I_C_CommissionDetail, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -183,7 +183,7 @@ public class X_C_CommissionDetail extends PO implements I_C_CommissionDetail, I_ return ii.intValue(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -194,7 +194,7 @@ public class X_C_CommissionDetail extends PO implements I_C_CommissionDetail, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -221,7 +221,7 @@ public class X_C_CommissionDetail extends PO implements I_C_CommissionDetail, I_ return ii.intValue(); } - public I_C_InvoiceLine getC_InvoiceLine() throws Exception + public I_C_InvoiceLine getC_InvoiceLine() throws RuntimeException { Class clazz = MTable.getClass(I_C_InvoiceLine.Table_Name); I_C_InvoiceLine result = null; @@ -232,7 +232,7 @@ public class X_C_CommissionDetail extends PO implements I_C_CommissionDetail, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -282,7 +282,7 @@ public class X_C_CommissionDetail extends PO implements I_C_CommissionDetail, I_ return bd; } - public I_C_OrderLine getC_OrderLine() throws Exception + public I_C_OrderLine getC_OrderLine() throws RuntimeException { Class clazz = MTable.getClass(I_C_OrderLine.Table_Name); I_C_OrderLine result = null; @@ -293,7 +293,7 @@ public class X_C_CommissionDetail extends PO implements I_C_CommissionDetail, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_CommissionLine.java b/base/src/org/compiere/model/X_C_CommissionLine.java index 2001afafdf..1770a58106 100644 --- a/base/src/org/compiere/model/X_C_CommissionLine.java +++ b/base/src/org/compiere/model/X_C_CommissionLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_CommissionLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Persistent { @@ -127,7 +127,7 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers return bd; } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -138,7 +138,7 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -166,7 +166,7 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers return ii.intValue(); } - public I_C_BP_Group getC_BP_Group() throws Exception + 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; @@ -177,7 +177,7 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -205,7 +205,7 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers return ii.intValue(); } - public I_C_Commission getC_Commission() throws Exception + public I_C_Commission getC_Commission() throws RuntimeException { Class clazz = MTable.getClass(I_C_Commission.Table_Name); I_C_Commission result = null; @@ -216,7 +216,7 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -297,7 +297,7 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers return false; } - public I_C_SalesRegion getC_SalesRegion() throws Exception + public I_C_SalesRegion getC_SalesRegion() throws RuntimeException { Class clazz = MTable.getClass(I_C_SalesRegion.Table_Name); I_C_SalesRegion result = null; @@ -308,7 +308,7 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -397,7 +397,7 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers return ii.intValue(); } - public I_M_Product_Category getM_Product_Category() throws Exception + 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; @@ -408,7 +408,7 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -436,7 +436,7 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers return ii.intValue(); } - public I_M_Product getM_Product() throws Exception + public I_M_Product getM_Product() throws RuntimeException { Class clazz = MTable.getClass(I_M_Product.Table_Name); I_M_Product result = null; @@ -447,7 +447,7 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -475,8 +475,6 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers return ii.intValue(); } - /** Org_ID AD_Reference_ID=130 */ - public static final int ORG_ID_AD_Reference_ID=130; /** Set Organization. @param Org_ID Organizational entity within client @@ -514,6 +512,8 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers public static final String PAYMENTRULE_OnCredit = "P"; /** Direct Debit = D */ public static final String PAYMENTRULE_DirectDebit = "D"; + /** Mixed = M */ + public static final String PAYMENTRULE_Mixed = "M"; /** Set Payment Rule. @param PaymentRule How you pay the invoice @@ -521,7 +521,7 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers public void setPaymentRule (String PaymentRule) { - if (PaymentRule == null || PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D"); set_Value (COLUMNNAME_PaymentRule, PaymentRule); + if (PaymentRule == null || PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D") || PaymentRule.equals("M")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D - M"); set_Value (COLUMNNAME_PaymentRule, PaymentRule); } /** Get Payment Rule. diff --git a/base/src/org/compiere/model/X_C_CommissionRun.java b/base/src/org/compiere/model/X_C_CommissionRun.java index 9c609e8a8f..348320192d 100644 --- a/base/src/org/compiere/model/X_C_CommissionRun.java +++ b/base/src/org/compiere/model/X_C_CommissionRun.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_CommissionRun * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_CommissionRun extends PO implements I_C_CommissionRun, I_Persistent { @@ -80,7 +80,7 @@ public class X_C_CommissionRun extends PO implements I_C_CommissionRun, I_Persis return sb.toString(); } - public I_C_Commission getC_Commission() throws Exception + public I_C_Commission getC_Commission() throws RuntimeException { Class clazz = MTable.getClass(I_C_Commission.Table_Name); I_C_Commission result = null; @@ -91,7 +91,7 @@ public class X_C_CommissionRun extends PO implements I_C_CommissionRun, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_ConversionType.java b/base/src/org/compiere/model/X_C_ConversionType.java index f0b3104bad..f5f53a49d6 100644 --- a/base/src/org/compiere/model/X_C_ConversionType.java +++ b/base/src/org/compiere/model/X_C_ConversionType.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_ConversionType * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_ConversionType extends PO implements I_C_ConversionType, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_Conversion_Rate.java b/base/src/org/compiere/model/X_C_Conversion_Rate.java index 4f5a5b0cef..503198eeae 100644 --- a/base/src/org/compiere/model/X_C_Conversion_Rate.java +++ b/base/src/org/compiere/model/X_C_Conversion_Rate.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Conversion_Rate * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Conversion_Rate extends PO implements I_C_Conversion_Rate, I_Persistent { @@ -111,7 +111,7 @@ public class X_C_Conversion_Rate extends PO implements I_C_Conversion_Rate, I_Pe return new KeyNamePair(get_ID(), String.valueOf(getC_Conversion_Rate_ID())); } - public I_C_ConversionType getC_ConversionType() throws Exception + public I_C_ConversionType getC_ConversionType() throws RuntimeException { Class clazz = MTable.getClass(I_C_ConversionType.Table_Name); I_C_ConversionType result = null; @@ -122,7 +122,7 @@ public class X_C_Conversion_Rate extends PO implements I_C_Conversion_Rate, I_Pe } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -149,8 +149,6 @@ public class X_C_Conversion_Rate extends PO implements I_C_Conversion_Rate, I_Pe return ii.intValue(); } - /** C_Currency_ID AD_Reference_ID=112 */ - public static final int C_CURRENCY_ID_AD_Reference_ID=112; /** Set Currency. @param C_Currency_ID The Currency for this record @@ -173,8 +171,6 @@ public class X_C_Conversion_Rate extends PO implements I_C_Conversion_Rate, I_Pe return ii.intValue(); } - /** C_Currency_ID_To AD_Reference_ID=112 */ - public static final int C_CURRENCY_ID_TO_AD_Reference_ID=112; /** Set Currency To. @param C_Currency_ID_To Target currency diff --git a/base/src/org/compiere/model/X_C_Country.java b/base/src/org/compiere/model/X_C_Country.java index 0df01603ac..824222318e 100644 --- a/base/src/org/compiere/model/X_C_Country.java +++ b/base/src/org/compiere/model/X_C_Country.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Country * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Country extends PO implements I_C_Country, I_Persistent { @@ -121,7 +121,7 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent return ii.intValue(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -132,7 +132,7 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_Currency.java b/base/src/org/compiere/model/X_C_Currency.java index a8690341ba..a15ad51766 100644 --- a/base/src/org/compiere/model/X_C_Currency.java +++ b/base/src/org/compiere/model/X_C_Currency.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Currency * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Currency extends PO implements I_C_Currency, I_Persistent { @@ -275,7 +275,7 @@ public class X_C_Currency extends PO implements I_C_Currency, I_Persistent return new KeyNamePair(get_ID(), getISO_Code()); } - /** Set RoundOffFactor. + /** Set Round Off Factor. @param RoundOffFactor Used to Round Off Payment Amount */ @@ -286,7 +286,7 @@ public class X_C_Currency extends PO implements I_C_Currency, I_Persistent set_Value (COLUMNNAME_RoundOffFactor, RoundOffFactor); } - /** Get RoundOffFactor. + /** Get Round Off Factor. @return Used to Round Off Payment Amount */ public BigDecimal getRoundOffFactor () diff --git a/base/src/org/compiere/model/X_C_Currency_Acct.java b/base/src/org/compiere/model/X_C_Currency_Acct.java index 41be140148..72eee8a94d 100644 --- a/base/src/org/compiere/model/X_C_Currency_Acct.java +++ b/base/src/org/compiere/model/X_C_Currency_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_Currency_Acct * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Currency_Acct extends PO implements I_C_Currency_Acct, I_Persistent { @@ -76,7 +76,7 @@ public class X_C_Currency_Acct extends PO implements I_C_Currency_Acct, I_Persis return sb.toString(); } - public I_C_AcctSchema getC_AcctSchema() throws Exception + public I_C_AcctSchema getC_AcctSchema() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); I_C_AcctSchema result = null; @@ -87,7 +87,7 @@ public class X_C_Currency_Acct extends PO implements I_C_Currency_Acct, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -114,7 +114,7 @@ public class X_C_Currency_Acct extends PO implements I_C_Currency_Acct, I_Persis return ii.intValue(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -125,7 +125,7 @@ public class X_C_Currency_Acct extends PO implements I_C_Currency_Acct, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_Cycle.java b/base/src/org/compiere/model/X_C_Cycle.java index 30b0fdac97..275f688b15 100644 --- a/base/src/org/compiere/model/X_C_Cycle.java +++ b/base/src/org/compiere/model/X_C_Cycle.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Cycle * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Cycle extends PO implements I_C_Cycle, I_Persistent { @@ -74,7 +74,7 @@ public class X_C_Cycle extends PO implements I_C_Cycle, I_Persistent return sb.toString(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -85,7 +85,7 @@ public class X_C_Cycle extends PO implements I_C_Cycle, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_CyclePhase.java b/base/src/org/compiere/model/X_C_CyclePhase.java index 4aa374d749..d664db4c1e 100644 --- a/base/src/org/compiere/model/X_C_CyclePhase.java +++ b/base/src/org/compiere/model/X_C_CyclePhase.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_CyclePhase * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_CyclePhase extends PO implements I_C_CyclePhase, I_Persistent { @@ -72,7 +72,7 @@ public class X_C_CyclePhase extends PO implements I_C_CyclePhase, I_Persistent return sb.toString(); } - public I_C_CycleStep getC_CycleStep() throws Exception + public I_C_CycleStep getC_CycleStep() throws RuntimeException { Class clazz = MTable.getClass(I_C_CycleStep.Table_Name); I_C_CycleStep result = null; @@ -83,7 +83,7 @@ public class X_C_CyclePhase extends PO implements I_C_CyclePhase, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -110,7 +110,7 @@ public class X_C_CyclePhase extends PO implements I_C_CyclePhase, I_Persistent return ii.intValue(); } - public I_C_Phase getC_Phase() throws Exception + public I_C_Phase getC_Phase() throws RuntimeException { Class clazz = MTable.getClass(I_C_Phase.Table_Name); I_C_Phase result = null; @@ -121,7 +121,7 @@ public class X_C_CyclePhase extends PO implements I_C_CyclePhase, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_CycleStep.java b/base/src/org/compiere/model/X_C_CycleStep.java index b08c8ebcb7..05f6e0a507 100644 --- a/base/src/org/compiere/model/X_C_CycleStep.java +++ b/base/src/org/compiere/model/X_C_CycleStep.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_CycleStep * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_CycleStep extends PO implements I_C_CycleStep, I_Persistent { @@ -80,7 +80,7 @@ public class X_C_CycleStep extends PO implements I_C_CycleStep, I_Persistent return sb.toString(); } - public I_C_Cycle getC_Cycle() throws Exception + public I_C_Cycle getC_Cycle() throws RuntimeException { Class clazz = MTable.getClass(I_C_Cycle.Table_Name); I_C_Cycle result = null; @@ -91,7 +91,7 @@ public class X_C_CycleStep extends PO implements I_C_CycleStep, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_DocType.java b/base/src/org/compiere/model/X_C_DocType.java index 834cd8ed2e..bef32901eb 100644 --- a/base/src/org/compiere/model/X_C_DocType.java +++ b/base/src/org/compiere/model/X_C_DocType.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_DocType * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent { @@ -52,11 +52,11 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent setIsDefaultCounterDoc (false); setIsDocNoControlled (true); // Y - setIsInTransit (false); setIsIndexed (false); + setIsInTransit (false); setIsPickQAConfirm (false); - setIsSOTrx (false); setIsShipConfirm (false); + setIsSOTrx (false); setIsSplitWhenDifference (false); // N setName (null); @@ -154,6 +154,28 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent return ii.intValue(); } + /** Set Document Type. + @param C_DocType_ID + Document type or rules + */ + public void setC_DocType_ID (int C_DocType_ID) + { + if (C_DocType_ID < 0) + throw new IllegalArgumentException ("C_DocType_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_C_DocType_ID, Integer.valueOf(C_DocType_ID)); + } + + /** Get Document Type. + @return Document type or rules + */ + public int getC_DocType_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_DocType_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Document Type for Invoice. @param C_DocTypeInvoice_ID Document type used for invoices generated from this sales document @@ -223,28 +245,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent return ii.intValue(); } - /** Set Document Type. - @param C_DocType_ID - Document type or rules - */ - public void setC_DocType_ID (int C_DocType_ID) - { - if (C_DocType_ID < 0) - throw new IllegalArgumentException ("C_DocType_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_C_DocType_ID, Integer.valueOf(C_DocType_ID)); - } - - /** Get Document Type. - @return Document type or rules - */ - public int getC_DocType_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_DocType_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Definite Sequence. @param DefiniteSequence_ID Definite Sequence */ public void setDefiniteSequence_ID (int DefiniteSequence_ID) @@ -636,30 +636,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent return false; } - /** Set In Transit. - @param IsInTransit - Movement is in transit - */ - public void setIsInTransit (boolean IsInTransit) - { - set_Value (COLUMNNAME_IsInTransit, Boolean.valueOf(IsInTransit)); - } - - /** Get In Transit. - @return Movement is in transit - */ - public boolean isInTransit () - { - Object oo = get_Value(COLUMNNAME_IsInTransit); - if (oo != null) - { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); - return "Y".equals(oo); - } - return false; - } - /** Set Indexed. @param IsIndexed Index the document for the internal search engine @@ -684,6 +660,30 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent return false; } + /** Set In Transit. + @param IsInTransit + Movement is in transit + */ + public void setIsInTransit (boolean IsInTransit) + { + set_Value (COLUMNNAME_IsInTransit, Boolean.valueOf(IsInTransit)); + } + + /** Get In Transit. + @return Movement is in transit + */ + public boolean isInTransit () + { + Object oo = get_Value(COLUMNNAME_IsInTransit); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + /** Set Overwrite Date on Complete. @param IsOverwriteDateOnComplete Overwrite Date on Complete */ public void setIsOverwriteDateOnComplete (boolean IsOverwriteDateOnComplete) @@ -750,30 +750,6 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent return false; } - /** Set Sales Transaction. - @param IsSOTrx - This is a Sales Transaction - */ - public void setIsSOTrx (boolean IsSOTrx) - { - set_Value (COLUMNNAME_IsSOTrx, Boolean.valueOf(IsSOTrx)); - } - - /** Get Sales Transaction. - @return This is a Sales Transaction - */ - public boolean isSOTrx () - { - Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) - { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); - return "Y".equals(oo); - } - return false; - } - /** Set Ship/Receipt Confirmation. @param IsShipConfirm Require Ship or Receipt Confirmation before processing @@ -798,6 +774,30 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent return false; } + /** Set Sales Transaction. + @param IsSOTrx + This is a Sales Transaction + */ + public void setIsSOTrx (boolean IsSOTrx) + { + set_Value (COLUMNNAME_IsSOTrx, Boolean.valueOf(IsSOTrx)); + } + + /** Get Sales Transaction. + @return This is a Sales Transaction + */ + public boolean isSOTrx () + { + Object oo = get_Value(COLUMNNAME_IsSOTrx); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + /** Set Split when Difference. @param IsSplitWhenDifference Split document when there is a difference diff --git a/base/src/org/compiere/model/X_C_DocTypeCounter.java b/base/src/org/compiere/model/X_C_DocTypeCounter.java index 862dc68c49..469bc6ed91 100644 --- a/base/src/org/compiere/model/X_C_DocTypeCounter.java +++ b/base/src/org/compiere/model/X_C_DocTypeCounter.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_DocTypeCounter * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_DocTypeCounter extends PO implements I_C_DocTypeCounter, I_Persistent { @@ -100,7 +100,7 @@ public class X_C_DocTypeCounter extends PO implements I_C_DocTypeCounter, I_Pers return ii.intValue(); } - public I_C_DocType getC_DocType() throws Exception + public I_C_DocType getC_DocType() throws RuntimeException { Class clazz = MTable.getClass(I_C_DocType.Table_Name); I_C_DocType result = null; @@ -111,7 +111,7 @@ public class X_C_DocTypeCounter extends PO implements I_C_DocTypeCounter, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -138,8 +138,6 @@ public class X_C_DocTypeCounter extends PO implements I_C_DocTypeCounter, I_Pers return ii.intValue(); } - /** Counter_C_DocType_ID AD_Reference_ID=170 */ - public static final int COUNTER_C_DOCTYPE_ID_AD_Reference_ID=170; /** Set Counter Document Type. @param Counter_C_DocType_ID Generated Counter Document Type (To) diff --git a/base/src/org/compiere/model/X_C_Dunning.java b/base/src/org/compiere/model/X_C_Dunning.java index 93c176a1ae..25e4656843 100644 --- a/base/src/org/compiere/model/X_C_Dunning.java +++ b/base/src/org/compiere/model/X_C_Dunning.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Dunning * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Dunning extends PO implements I_C_Dunning, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_DunningLevel.java b/base/src/org/compiere/model/X_C_DunningLevel.java index b85347f492..02c3c19d8f 100644 --- a/base/src/org/compiere/model/X_C_DunningLevel.java +++ b/base/src/org/compiere/model/X_C_DunningLevel.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_DunningLevel * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persistent { @@ -85,7 +85,7 @@ public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persiste return sb.toString(); } - public I_C_Dunning getC_Dunning() throws Exception + public I_C_Dunning getC_Dunning() throws RuntimeException { Class clazz = MTable.getClass(I_C_Dunning.Table_Name); I_C_Dunning result = null; @@ -96,7 +96,7 @@ public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -190,7 +190,7 @@ public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persiste return false; } - public I_C_PaymentTerm getC_PaymentTerm() throws Exception + public I_C_PaymentTerm getC_PaymentTerm() throws RuntimeException { Class clazz = MTable.getClass(I_C_PaymentTerm.Table_Name); I_C_PaymentTerm result = null; @@ -201,7 +201,7 @@ public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -288,8 +288,6 @@ public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persiste return (String)get_Value(COLUMNNAME_Description); } - /** Dunning_PrintFormat_ID AD_Reference_ID=259 */ - public static final int DUNNING_PRINTFORMAT_ID_AD_Reference_ID=259; /** Set Dunning Print Format. @param Dunning_PrintFormat_ID Print Format for printing Dunning Letters diff --git a/base/src/org/compiere/model/X_C_DunningRun.java b/base/src/org/compiere/model/X_C_DunningRun.java index 3bdd7a52c0..9e0a6ea616 100644 --- a/base/src/org/compiere/model/X_C_DunningRun.java +++ b/base/src/org/compiere/model/X_C_DunningRun.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_DunningRun * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_DunningRun extends PO implements I_C_DunningRun, I_Persistent { @@ -77,7 +77,7 @@ public class X_C_DunningRun extends PO implements I_C_DunningRun, I_Persistent return sb.toString(); } - public I_C_DunningLevel getC_DunningLevel() throws Exception + public I_C_DunningLevel getC_DunningLevel() throws RuntimeException { Class clazz = MTable.getClass(I_C_DunningLevel.Table_Name); I_C_DunningLevel result = null; @@ -88,7 +88,7 @@ public class X_C_DunningRun extends PO implements I_C_DunningRun, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_DunningRunEntry.java b/base/src/org/compiere/model/X_C_DunningRunEntry.java index c484fadbb6..f71747a1fd 100644 --- a/base/src/org/compiere/model/X_C_DunningRunEntry.java +++ b/base/src/org/compiere/model/X_C_DunningRunEntry.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_DunningRunEntry * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_DunningRunEntry extends PO implements I_C_DunningRunEntry, I_Persistent { @@ -82,7 +82,7 @@ public class X_C_DunningRunEntry extends PO implements I_C_DunningRunEntry, I_Pe return sb.toString(); } - public I_AD_User getAD_User() throws Exception + public I_AD_User getAD_User() throws RuntimeException { Class clazz = MTable.getClass(I_AD_User.Table_Name); I_AD_User result = null; @@ -93,7 +93,7 @@ public class X_C_DunningRunEntry extends PO implements I_C_DunningRunEntry, I_Pe } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -143,7 +143,7 @@ public class X_C_DunningRunEntry extends PO implements I_C_DunningRunEntry, I_Pe return bd; } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -154,7 +154,7 @@ public class X_C_DunningRunEntry extends PO implements I_C_DunningRunEntry, I_Pe } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -181,7 +181,7 @@ public class X_C_DunningRunEntry extends PO implements I_C_DunningRunEntry, I_Pe return ii.intValue(); } - public I_C_BPartner_Location getC_BPartner_Location() throws Exception + 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; @@ -192,7 +192,7 @@ public class X_C_DunningRunEntry extends PO implements I_C_DunningRunEntry, I_Pe } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -219,7 +219,7 @@ public class X_C_DunningRunEntry extends PO implements I_C_DunningRunEntry, I_Pe return ii.intValue(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -230,7 +230,7 @@ public class X_C_DunningRunEntry extends PO implements I_C_DunningRunEntry, I_Pe } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -279,7 +279,7 @@ public class X_C_DunningRunEntry extends PO implements I_C_DunningRunEntry, I_Pe return ii.intValue(); } - public I_C_DunningRun getC_DunningRun() throws Exception + public I_C_DunningRun getC_DunningRun() throws RuntimeException { Class clazz = MTable.getClass(I_C_DunningRun.Table_Name); I_C_DunningRun result = null; @@ -290,7 +290,7 @@ public class X_C_DunningRunEntry extends PO implements I_C_DunningRunEntry, I_Pe } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -388,8 +388,6 @@ public class X_C_DunningRunEntry extends PO implements I_C_DunningRunEntry, I_Pe return bd; } - /** SalesRep_ID AD_Reference_ID=190 */ - public static final int SALESREP_ID_AD_Reference_ID=190; /** Set Sales Representative. @param SalesRep_ID Sales Representative or Company Agent diff --git a/base/src/org/compiere/model/X_C_DunningRunLine.java b/base/src/org/compiere/model/X_C_DunningRunLine.java index 7a73e1e763..eb5b3c5acd 100644 --- a/base/src/org/compiere/model/X_C_DunningRunLine.java +++ b/base/src/org/compiere/model/X_C_DunningRunLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_DunningRunLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_DunningRunLine extends PO implements I_C_DunningRunLine, I_Persistent { @@ -107,7 +107,7 @@ public class X_C_DunningRunLine extends PO implements I_C_DunningRunLine, I_Pers return bd; } - public I_C_DunningRunEntry getC_DunningRunEntry() throws Exception + public I_C_DunningRunEntry getC_DunningRunEntry() throws RuntimeException { Class clazz = MTable.getClass(I_C_DunningRunEntry.Table_Name); I_C_DunningRunEntry result = null; @@ -118,7 +118,7 @@ public class X_C_DunningRunLine extends PO implements I_C_DunningRunLine, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -167,7 +167,7 @@ public class X_C_DunningRunLine extends PO implements I_C_DunningRunLine, I_Pers return ii.intValue(); } - public I_C_Invoice getC_Invoice() throws Exception + public I_C_Invoice getC_Invoice() throws RuntimeException { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); I_C_Invoice result = null; @@ -178,7 +178,7 @@ public class X_C_DunningRunLine extends PO implements I_C_DunningRunLine, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -214,7 +214,7 @@ public class X_C_DunningRunLine extends PO implements I_C_DunningRunLine, I_Pers return new KeyNamePair(get_ID(), String.valueOf(getC_Invoice_ID())); } - public I_C_InvoicePaySchedule getC_InvoicePaySchedule() throws Exception + public I_C_InvoicePaySchedule getC_InvoicePaySchedule() throws RuntimeException { Class clazz = MTable.getClass(I_C_InvoicePaySchedule.Table_Name); I_C_InvoicePaySchedule result = null; @@ -225,7 +225,7 @@ public class X_C_DunningRunLine extends PO implements I_C_DunningRunLine, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -275,7 +275,7 @@ public class X_C_DunningRunLine extends PO implements I_C_DunningRunLine, I_Pers return bd; } - public I_C_Payment getC_Payment() throws Exception + public I_C_Payment getC_Payment() throws RuntimeException { Class clazz = MTable.getClass(I_C_Payment.Table_Name); I_C_Payment result = null; @@ -286,7 +286,7 @@ public class X_C_DunningRunLine extends PO implements I_C_DunningRunLine, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_Element.java b/base/src/org/compiere/model/X_C_Element.java index 73168d502e..8b6def2951 100644 --- a/base/src/org/compiere/model/X_C_Element.java +++ b/base/src/org/compiere/model/X_C_Element.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Element * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Element extends PO implements I_C_Element, I_Persistent { @@ -78,7 +78,7 @@ public class X_C_Element extends PO implements I_C_Element, I_Persistent return sb.toString(); } - public I_AD_Tree getAD_Tree() throws Exception + public I_AD_Tree getAD_Tree() throws RuntimeException { Class clazz = MTable.getClass(I_AD_Tree.Table_Name); I_AD_Tree result = null; @@ -89,7 +89,7 @@ public class X_C_Element extends PO implements I_C_Element, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_ElementValue.java b/base/src/org/compiere/model/X_C_ElementValue.java index 798d5ee46a..b37e532266 100644 --- a/base/src/org/compiere/model/X_C_ElementValue.java +++ b/base/src/org/compiere/model/X_C_ElementValue.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_ElementValue * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persistent { @@ -147,7 +147,7 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste return (String)get_Value(COLUMNNAME_AccountType); } - public I_C_BankAccount getC_BankAccount() throws Exception + public I_C_BankAccount getC_BankAccount() throws RuntimeException { Class clazz = MTable.getClass(I_C_BankAccount.Table_Name); I_C_BankAccount result = null; @@ -158,7 +158,7 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -186,7 +186,7 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste return ii.intValue(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -197,7 +197,7 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -225,7 +225,7 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste return ii.intValue(); } - public I_C_Element getC_Element() throws Exception + public I_C_Element getC_Element() throws RuntimeException { Class clazz = MTable.getClass(I_C_Element.Table_Name); I_C_Element result = null; @@ -236,7 +236,7 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_Greeting.java b/base/src/org/compiere/model/X_C_Greeting.java index f04bf86a0e..8261d1f5d4 100644 --- a/base/src/org/compiere/model/X_C_Greeting.java +++ b/base/src/org/compiere/model/X_C_Greeting.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Greeting * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Greeting extends PO implements I_C_Greeting, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_InterOrg_Acct.java b/base/src/org/compiere/model/X_C_InterOrg_Acct.java index aa0ab67ed4..f5c1c506ce 100644 --- a/base/src/org/compiere/model/X_C_InterOrg_Acct.java +++ b/base/src/org/compiere/model/X_C_InterOrg_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_InterOrg_Acct * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_InterOrg_Acct extends PO implements I_C_InterOrg_Acct, I_Persistent { @@ -74,8 +74,6 @@ public class X_C_InterOrg_Acct extends PO implements I_C_InterOrg_Acct, I_Persis return sb.toString(); } - /** AD_OrgTo_ID AD_Reference_ID=130 */ - public static final int AD_ORGTO_ID_AD_Reference_ID=130; /** Set Inter-Organization. @param AD_OrgTo_ID Organization valid for intercompany documents @@ -98,7 +96,7 @@ public class X_C_InterOrg_Acct extends PO implements I_C_InterOrg_Acct, I_Persis return ii.intValue(); } - public I_C_AcctSchema getC_AcctSchema() throws Exception + public I_C_AcctSchema getC_AcctSchema() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); I_C_AcctSchema result = null; @@ -109,7 +107,7 @@ public class X_C_InterOrg_Acct extends PO implements I_C_InterOrg_Acct, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_Invoice.java b/base/src/org/compiere/model/X_C_Invoice.java index 8188bda791..cb31516135 100644 --- a/base/src/org/compiere/model/X_C_Invoice.java +++ b/base/src/org/compiere/model/X_C_Invoice.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Invoice * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent { @@ -114,8 +114,6 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return sb.toString(); } - /** AD_OrgTrx_ID AD_Reference_ID=130 */ - public static final int AD_ORGTRX_ID_AD_Reference_ID=130; /** Set Trx Organization. @param AD_OrgTrx_ID Performing or initiating organization @@ -139,7 +137,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } - public I_AD_User getAD_User() throws Exception + public I_AD_User getAD_User() throws RuntimeException { Class clazz = MTable.getClass(I_AD_User.Table_Name); I_AD_User result = null; @@ -150,7 +148,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -178,7 +176,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } - public I_C_Activity getC_Activity() throws Exception + public I_C_Activity getC_Activity() throws RuntimeException { Class clazz = MTable.getClass(I_C_Activity.Table_Name); I_C_Activity result = null; @@ -189,7 +187,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -217,7 +215,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -228,7 +226,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -255,7 +253,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } - public I_C_BPartner_Location getC_BPartner_Location() throws Exception + 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; @@ -266,7 +264,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -293,7 +291,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } - public I_C_Campaign getC_Campaign() throws Exception + public I_C_Campaign getC_Campaign() throws RuntimeException { Class clazz = MTable.getClass(I_C_Campaign.Table_Name); I_C_Campaign result = null; @@ -304,7 +302,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -332,7 +330,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } - public I_C_CashLine getC_CashLine() throws Exception + public I_C_CashLine getC_CashLine() throws RuntimeException { Class clazz = MTable.getClass(I_C_CashLine.Table_Name); I_C_CashLine result = null; @@ -343,7 +341,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -371,8 +369,6 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } - /** C_Charge_ID AD_Reference_ID=200 */ - public static final int C_CHARGE_ID_AD_Reference_ID=200; /** Set Charge. @param C_Charge_ID Additional document charges @@ -396,7 +392,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } - public I_C_ConversionType getC_ConversionType() throws Exception + public I_C_ConversionType getC_ConversionType() throws RuntimeException { Class clazz = MTable.getClass(I_C_ConversionType.Table_Name); I_C_ConversionType result = null; @@ -407,7 +403,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -435,7 +431,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -446,7 +442,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -473,7 +469,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } - public I_C_DocType getC_DocType() throws Exception + public I_C_DocType getC_DocType() throws RuntimeException { Class clazz = MTable.getClass(I_C_DocType.Table_Name); I_C_DocType result = null; @@ -484,7 +480,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -511,8 +507,6 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } - /** C_DocTypeTarget_ID AD_Reference_ID=170 */ - public static final int C_DOCTYPETARGET_ID_AD_Reference_ID=170; /** Set Target Document Type. @param C_DocTypeTarget_ID Target document type for conversing documents @@ -535,7 +529,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } - public I_C_DunningLevel getC_DunningLevel() throws Exception + public I_C_DunningLevel getC_DunningLevel() throws RuntimeException { Class clazz = MTable.getClass(I_C_DunningLevel.Table_Name); I_C_DunningLevel result = null; @@ -546,7 +540,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -630,7 +624,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return (String)get_Value(COLUMNNAME_CopyFrom); } - public I_C_Order getC_Order() throws Exception + public I_C_Order getC_Order() throws RuntimeException { Class clazz = MTable.getClass(I_C_Order.Table_Name); I_C_Order result = null; @@ -641,7 +635,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -669,7 +663,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } - public I_C_Payment getC_Payment() throws Exception + public I_C_Payment getC_Payment() throws RuntimeException { Class clazz = MTable.getClass(I_C_Payment.Table_Name); I_C_Payment result = null; @@ -680,7 +674,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -708,7 +702,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } - public I_C_PaymentTerm getC_PaymentTerm() throws Exception + public I_C_PaymentTerm getC_PaymentTerm() throws RuntimeException { Class clazz = MTable.getClass(I_C_PaymentTerm.Table_Name); I_C_PaymentTerm result = null; @@ -719,7 +713,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -746,7 +740,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } - public I_C_Project getC_Project() throws Exception + public I_C_Project getC_Project() throws RuntimeException { Class clazz = MTable.getClass(I_C_Project.Table_Name); I_C_Project result = null; @@ -757,7 +751,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -1331,7 +1325,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return false; } - public I_M_PriceList getM_PriceList() throws Exception + public I_M_PriceList getM_PriceList() throws RuntimeException { Class clazz = MTable.getClass(I_M_PriceList.Table_Name); I_M_PriceList result = null; @@ -1342,7 +1336,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -1369,7 +1363,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } - public I_M_RMA getM_RMA() throws Exception + public I_M_RMA getM_RMA() throws RuntimeException { Class clazz = MTable.getClass(I_M_RMA.Table_Name); I_M_RMA result = null; @@ -1380,7 +1374,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -1548,8 +1542,6 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } - /** Reversal_ID AD_Reference_ID=336 */ - public static final int REVERSAL_ID_AD_Reference_ID=336; /** Set Reversal ID. @param Reversal_ID ID of document reversal @@ -1573,8 +1565,6 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } - /** SalesRep_ID AD_Reference_ID=190 */ - public static final int SALESREP_ID_AD_Reference_ID=190; /** Set Sales Representative. @param SalesRep_ID Sales Representative or Company Agent @@ -1644,8 +1634,6 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return bd; } - /** User1_ID AD_Reference_ID=134 */ - public static final int USER1_ID_AD_Reference_ID=134; /** Set User List 1. @param User1_ID User defined list element #1 @@ -1669,8 +1657,6 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent return ii.intValue(); } - /** User2_ID AD_Reference_ID=137 */ - public static final int USER2_ID_AD_Reference_ID=137; /** Set User List 2. @param User2_ID User defined list element #2 diff --git a/base/src/org/compiere/model/X_C_InvoiceBatch.java b/base/src/org/compiere/model/X_C_InvoiceBatch.java index 7e65e08f6f..0084cd374f 100644 --- a/base/src/org/compiere/model/X_C_InvoiceBatch.java +++ b/base/src/org/compiere/model/X_C_InvoiceBatch.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_InvoiceBatch * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_InvoiceBatch extends PO implements I_C_InvoiceBatch, I_Persistent { @@ -87,7 +87,7 @@ public class X_C_InvoiceBatch extends PO implements I_C_InvoiceBatch, I_Persiste return sb.toString(); } - public I_C_ConversionType getC_ConversionType() throws Exception + public I_C_ConversionType getC_ConversionType() throws RuntimeException { Class clazz = MTable.getClass(I_C_ConversionType.Table_Name); I_C_ConversionType result = null; @@ -98,7 +98,7 @@ public class X_C_InvoiceBatch extends PO implements I_C_InvoiceBatch, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -126,7 +126,7 @@ public class X_C_InvoiceBatch extends PO implements I_C_InvoiceBatch, I_Persiste return ii.intValue(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -137,7 +137,7 @@ public class X_C_InvoiceBatch extends PO implements I_C_InvoiceBatch, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -362,8 +362,6 @@ public class X_C_InvoiceBatch extends PO implements I_C_InvoiceBatch, I_Persiste return false; } - /** SalesRep_ID AD_Reference_ID=190 */ - public static final int SALESREP_ID_AD_Reference_ID=190; /** Set Sales Representative. @param SalesRep_ID Sales Representative or Company Agent diff --git a/base/src/org/compiere/model/X_C_InvoiceBatchLine.java b/base/src/org/compiere/model/X_C_InvoiceBatchLine.java index 65a46d7036..0f26f4b01a 100644 --- a/base/src/org/compiere/model/X_C_InvoiceBatchLine.java +++ b/base/src/org/compiere/model/X_C_InvoiceBatchLine.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_InvoiceBatchLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_Persistent { @@ -101,8 +101,6 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ return sb.toString(); } - /** AD_OrgTrx_ID AD_Reference_ID=130 */ - public static final int AD_ORGTRX_ID_AD_Reference_ID=130; /** Set Trx Organization. @param AD_OrgTrx_ID Performing or initiating organization @@ -126,7 +124,7 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ return ii.intValue(); } - public I_AD_User getAD_User() throws Exception + public I_AD_User getAD_User() throws RuntimeException { Class clazz = MTable.getClass(I_AD_User.Table_Name); I_AD_User result = null; @@ -137,7 +135,7 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -165,7 +163,7 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ return ii.intValue(); } - public I_C_Activity getC_Activity() throws Exception + public I_C_Activity getC_Activity() throws RuntimeException { Class clazz = MTable.getClass(I_C_Activity.Table_Name); I_C_Activity result = null; @@ -176,7 +174,7 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -204,7 +202,7 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ return ii.intValue(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -215,7 +213,7 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -242,7 +240,7 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ return ii.intValue(); } - public I_C_BPartner_Location getC_BPartner_Location() throws Exception + 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; @@ -253,7 +251,7 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -280,7 +278,7 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ return ii.intValue(); } - public I_C_Charge getC_Charge() throws Exception + public I_C_Charge getC_Charge() throws RuntimeException { Class clazz = MTable.getClass(I_C_Charge.Table_Name); I_C_Charge result = null; @@ -291,7 +289,7 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -318,7 +316,7 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ return ii.intValue(); } - public I_C_DocType getC_DocType() throws Exception + public I_C_DocType getC_DocType() throws RuntimeException { Class clazz = MTable.getClass(I_C_DocType.Table_Name); I_C_DocType result = null; @@ -329,7 +327,7 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -356,7 +354,7 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ return ii.intValue(); } - public I_C_InvoiceBatch getC_InvoiceBatch() throws Exception + public I_C_InvoiceBatch getC_InvoiceBatch() throws RuntimeException { Class clazz = MTable.getClass(I_C_InvoiceBatch.Table_Name); I_C_InvoiceBatch result = null; @@ -367,7 +365,7 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -416,7 +414,7 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ return ii.intValue(); } - public I_C_Invoice getC_Invoice() throws Exception + public I_C_Invoice getC_Invoice() throws RuntimeException { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); I_C_Invoice result = null; @@ -427,7 +425,7 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -455,7 +453,7 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ return ii.intValue(); } - public I_C_InvoiceLine getC_InvoiceLine() throws Exception + public I_C_InvoiceLine getC_InvoiceLine() throws RuntimeException { Class clazz = MTable.getClass(I_C_InvoiceLine.Table_Name); I_C_InvoiceLine result = null; @@ -466,7 +464,7 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -494,7 +492,7 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ return ii.intValue(); } - public I_C_Project getC_Project() throws Exception + public I_C_Project getC_Project() throws RuntimeException { Class clazz = MTable.getClass(I_C_Project.Table_Name); I_C_Project result = null; @@ -505,7 +503,7 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -533,7 +531,7 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ return ii.intValue(); } - public I_C_Tax getC_Tax() throws Exception + public I_C_Tax getC_Tax() throws RuntimeException { Class clazz = MTable.getClass(I_C_Tax.Table_Name); I_C_Tax result = null; @@ -544,7 +542,7 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -831,8 +829,6 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ return bd; } - /** User1_ID AD_Reference_ID=134 */ - public static final int USER1_ID_AD_Reference_ID=134; /** Set User List 1. @param User1_ID User defined list element #1 @@ -856,8 +852,6 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ return ii.intValue(); } - /** User2_ID AD_Reference_ID=137 */ - public static final int USER2_ID_AD_Reference_ID=137; /** Set User List 2. @param User2_ID User defined list element #2 diff --git a/base/src/org/compiere/model/X_C_InvoiceLine.java b/base/src/org/compiere/model/X_C_InvoiceLine.java index 3fdb3a23c8..24b6b1a88e 100644 --- a/base/src/org/compiere/model/X_C_InvoiceLine.java +++ b/base/src/org/compiere/model/X_C_InvoiceLine.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_InvoiceLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent { @@ -94,7 +94,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return sb.toString(); } - public I_A_Asset_Group getA_Asset_Group() throws Exception + public I_A_Asset_Group getA_Asset_Group() throws RuntimeException { Class clazz = MTable.getClass(I_A_Asset_Group.Table_Name); I_A_Asset_Group result = null; @@ -105,7 +105,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -133,7 +133,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return ii.intValue(); } - public I_A_Asset getA_Asset() throws Exception + public I_A_Asset getA_Asset() throws RuntimeException { Class clazz = MTable.getClass(I_A_Asset.Table_Name); I_A_Asset result = null; @@ -144,7 +144,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -178,30 +178,30 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent public static final String A_CAPVSEXP_Capital = "Cap"; /** Expense = Exp */ public static final String A_CAPVSEXP_Expense = "Exp"; - /** Set A_CapvsExp. - @param A_CapvsExp A_CapvsExp */ + /** Set Capital vs Expense. + @param A_CapvsExp Capital vs Expense */ public void setA_CapvsExp (String A_CapvsExp) { if (A_CapvsExp == null || A_CapvsExp.equals("Cap") || A_CapvsExp.equals("Exp")); else throw new IllegalArgumentException ("A_CapvsExp Invalid value - " + A_CapvsExp + " - Reference_ID=53277 - Cap - Exp"); set_Value (COLUMNNAME_A_CapvsExp, A_CapvsExp); } - /** Get A_CapvsExp. - @return A_CapvsExp */ + /** Get Capital vs Expense. + @return Capital vs Expense */ public String getA_CapvsExp () { return (String)get_Value(COLUMNNAME_A_CapvsExp); } - /** Set A_CreateAsset. - @param A_CreateAsset A_CreateAsset */ + /** Set Asset Related?. + @param A_CreateAsset Asset Related? */ public void setA_CreateAsset (boolean A_CreateAsset) { set_Value (COLUMNNAME_A_CreateAsset, Boolean.valueOf(A_CreateAsset)); } - /** Get A_CreateAsset. - @return A_CreateAsset */ + /** Get Asset Related?. + @return Asset Related? */ public boolean isA_CreateAsset () { Object oo = get_Value(COLUMNNAME_A_CreateAsset); @@ -214,8 +214,6 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return false; } - /** AD_OrgTrx_ID AD_Reference_ID=130 */ - public static final int AD_ORGTRX_ID_AD_Reference_ID=130; /** Set Trx Organization. @param AD_OrgTrx_ID Performing or initiating organization @@ -260,7 +258,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return false; } - public I_C_Activity getC_Activity() throws Exception + public I_C_Activity getC_Activity() throws RuntimeException { Class clazz = MTable.getClass(I_C_Activity.Table_Name); I_C_Activity result = null; @@ -271,7 +269,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -299,7 +297,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return ii.intValue(); } - public I_C_Campaign getC_Campaign() throws Exception + public I_C_Campaign getC_Campaign() throws RuntimeException { Class clazz = MTable.getClass(I_C_Campaign.Table_Name); I_C_Campaign result = null; @@ -310,7 +308,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -338,7 +336,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return ii.intValue(); } - public I_C_Charge getC_Charge() throws Exception + public I_C_Charge getC_Charge() throws RuntimeException { Class clazz = MTable.getClass(I_C_Charge.Table_Name); I_C_Charge result = null; @@ -349,7 +347,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -377,7 +375,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return ii.intValue(); } - public I_C_Invoice getC_Invoice() throws Exception + public I_C_Invoice getC_Invoice() throws RuntimeException { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); I_C_Invoice result = null; @@ -388,7 +386,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -445,7 +443,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return ii.intValue(); } - public I_C_OrderLine getC_OrderLine() throws Exception + public I_C_OrderLine getC_OrderLine() throws RuntimeException { Class clazz = MTable.getClass(I_C_OrderLine.Table_Name); I_C_OrderLine result = null; @@ -456,7 +454,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -484,7 +482,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return ii.intValue(); } - public I_C_Project getC_Project() throws Exception + public I_C_Project getC_Project() throws RuntimeException { Class clazz = MTable.getClass(I_C_Project.Table_Name); I_C_Project result = null; @@ -495,7 +493,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -523,7 +521,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return ii.intValue(); } - public I_C_ProjectPhase getC_ProjectPhase() throws Exception + public I_C_ProjectPhase getC_ProjectPhase() throws RuntimeException { Class clazz = MTable.getClass(I_C_ProjectPhase.Table_Name); I_C_ProjectPhase result = null; @@ -534,7 +532,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -562,7 +560,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return ii.intValue(); } - public I_C_ProjectTask getC_ProjectTask() throws Exception + public I_C_ProjectTask getC_ProjectTask() throws RuntimeException { Class clazz = MTable.getClass(I_C_ProjectTask.Table_Name); I_C_ProjectTask result = null; @@ -573,7 +571,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -601,7 +599,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return ii.intValue(); } - public I_C_Tax getC_Tax() throws Exception + public I_C_Tax getC_Tax() throws RuntimeException { Class clazz = MTable.getClass(I_C_Tax.Table_Name); I_C_Tax result = null; @@ -612,7 +610,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -639,7 +637,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return ii.intValue(); } - public I_C_UOM getC_UOM() throws Exception + public I_C_UOM getC_UOM() throws RuntimeException { Class clazz = MTable.getClass(I_C_UOM.Table_Name); I_C_UOM result = null; @@ -650,7 +648,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -827,7 +825,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return ii.intValue(); } - public I_M_InOutLine getM_InOutLine() throws Exception + public I_M_InOutLine getM_InOutLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_InOutLine.Table_Name); I_M_InOutLine result = null; @@ -838,7 +836,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -866,7 +864,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return ii.intValue(); } - public I_M_Product getM_Product() throws Exception + public I_M_Product getM_Product() throws RuntimeException { Class clazz = MTable.getClass(I_M_Product.Table_Name); I_M_Product result = null; @@ -877,7 +875,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -905,7 +903,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return ii.intValue(); } - public I_M_RMALine getM_RMALine() throws Exception + public I_M_RMALine getM_RMALine() throws RuntimeException { Class clazz = MTable.getClass(I_M_RMALine.Table_Name); I_M_RMALine result = null; @@ -916,7 +914,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -1200,8 +1198,6 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return bd; } - /** User1_ID AD_Reference_ID=134 */ - public static final int USER1_ID_AD_Reference_ID=134; /** Set User List 1. @param User1_ID User defined list element #1 @@ -1225,8 +1221,6 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent return ii.intValue(); } - /** User2_ID AD_Reference_ID=137 */ - public static final int USER2_ID_AD_Reference_ID=137; /** Set User List 2. @param User2_ID User defined list element #2 diff --git a/base/src/org/compiere/model/X_C_InvoicePaySchedule.java b/base/src/org/compiere/model/X_C_InvoicePaySchedule.java index 160df87e9e..78cb4a08fb 100644 --- a/base/src/org/compiere/model/X_C_InvoicePaySchedule.java +++ b/base/src/org/compiere/model/X_C_InvoicePaySchedule.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_InvoicePaySchedule * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_InvoicePaySchedule extends PO implements I_C_InvoicePaySchedule, I_Persistent { @@ -82,7 +82,7 @@ public class X_C_InvoicePaySchedule extends PO implements I_C_InvoicePaySchedule return sb.toString(); } - public I_C_Invoice getC_Invoice() throws Exception + public I_C_Invoice getC_Invoice() throws RuntimeException { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); I_C_Invoice result = null; @@ -93,7 +93,7 @@ public class X_C_InvoicePaySchedule extends PO implements I_C_InvoicePaySchedule } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -142,7 +142,7 @@ public class X_C_InvoicePaySchedule extends PO implements I_C_InvoicePaySchedule return ii.intValue(); } - public I_C_PaySchedule getC_PaySchedule() throws Exception + public I_C_PaySchedule getC_PaySchedule() throws RuntimeException { Class clazz = MTable.getClass(I_C_PaySchedule.Table_Name); I_C_PaySchedule result = null; @@ -153,7 +153,7 @@ public class X_C_InvoicePaySchedule extends PO implements I_C_InvoicePaySchedule } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_InvoiceSchedule.java b/base/src/org/compiere/model/X_C_InvoiceSchedule.java index dc23d97dd2..76a8f4a410 100644 --- a/base/src/org/compiere/model/X_C_InvoiceSchedule.java +++ b/base/src/org/compiere/model/X_C_InvoiceSchedule.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_InvoiceSchedule * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_InvoiceSchedule extends PO implements I_C_InvoiceSchedule, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_InvoiceTax.java b/base/src/org/compiere/model/X_C_InvoiceTax.java index 05a711613b..b4e2f0a2c2 100644 --- a/base/src/org/compiere/model/X_C_InvoiceTax.java +++ b/base/src/org/compiere/model/X_C_InvoiceTax.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for C_InvoiceTax * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_InvoiceTax extends PO implements I_C_InvoiceTax, I_Persistent { @@ -78,7 +78,7 @@ public class X_C_InvoiceTax extends PO implements I_C_InvoiceTax, I_Persistent return sb.toString(); } - public I_C_Invoice getC_Invoice() throws Exception + public I_C_Invoice getC_Invoice() throws RuntimeException { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); I_C_Invoice result = null; @@ -89,7 +89,7 @@ public class X_C_InvoiceTax extends PO implements I_C_InvoiceTax, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -116,7 +116,7 @@ public class X_C_InvoiceTax extends PO implements I_C_InvoiceTax, I_Persistent return ii.intValue(); } - public I_C_Tax getC_Tax() throws Exception + public I_C_Tax getC_Tax() throws RuntimeException { Class clazz = MTable.getClass(I_C_Tax.Table_Name); I_C_Tax result = null; @@ -127,7 +127,7 @@ public class X_C_InvoiceTax extends PO implements I_C_InvoiceTax, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_Job.java b/base/src/org/compiere/model/X_C_Job.java index d20076e672..46c2eddcee 100644 --- a/base/src/org/compiere/model/X_C_Job.java +++ b/base/src/org/compiere/model/X_C_Job.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Job * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Job extends PO implements I_C_Job, I_Persistent { @@ -76,7 +76,7 @@ public class X_C_Job extends PO implements I_C_Job, I_Persistent return sb.toString(); } - public I_C_JobCategory getC_JobCategory() throws Exception + public I_C_JobCategory getC_JobCategory() throws RuntimeException { Class clazz = MTable.getClass(I_C_JobCategory.Table_Name); I_C_JobCategory result = null; @@ -87,7 +87,7 @@ public class X_C_Job extends PO implements I_C_Job, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_JobAssignment.java b/base/src/org/compiere/model/X_C_JobAssignment.java index 70c0010a09..1ef0389d5d 100644 --- a/base/src/org/compiere/model/X_C_JobAssignment.java +++ b/base/src/org/compiere/model/X_C_JobAssignment.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_JobAssignment * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_JobAssignment extends PO implements I_C_JobAssignment, I_Persistent { @@ -76,7 +76,7 @@ public class X_C_JobAssignment extends PO implements I_C_JobAssignment, I_Persis return sb.toString(); } - public I_AD_User getAD_User() throws Exception + public I_AD_User getAD_User() throws RuntimeException { Class clazz = MTable.getClass(I_AD_User.Table_Name); I_AD_User result = null; @@ -87,7 +87,7 @@ public class X_C_JobAssignment extends PO implements I_C_JobAssignment, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -136,7 +136,7 @@ public class X_C_JobAssignment extends PO implements I_C_JobAssignment, I_Persis return ii.intValue(); } - public I_C_Job getC_Job() throws Exception + public I_C_Job getC_Job() throws RuntimeException { Class clazz = MTable.getClass(I_C_Job.Table_Name); I_C_Job result = null; @@ -147,7 +147,7 @@ public class X_C_JobAssignment extends PO implements I_C_JobAssignment, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_JobCategory.java b/base/src/org/compiere/model/X_C_JobCategory.java index 71ece64d8c..dc590adbb3 100644 --- a/base/src/org/compiere/model/X_C_JobCategory.java +++ b/base/src/org/compiere/model/X_C_JobCategory.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_JobCategory * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_JobCategory extends PO implements I_C_JobCategory, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_JobRemuneration.java b/base/src/org/compiere/model/X_C_JobRemuneration.java index 5fd74acb22..cf8194a3c8 100644 --- a/base/src/org/compiere/model/X_C_JobRemuneration.java +++ b/base/src/org/compiere/model/X_C_JobRemuneration.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_JobRemuneration * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_JobRemuneration extends PO implements I_C_JobRemuneration, I_Persistent { @@ -76,7 +76,7 @@ public class X_C_JobRemuneration extends PO implements I_C_JobRemuneration, I_Pe return sb.toString(); } - public I_C_Job getC_Job() throws Exception + public I_C_Job getC_Job() throws RuntimeException { Class clazz = MTable.getClass(I_C_Job.Table_Name); I_C_Job result = null; @@ -87,7 +87,7 @@ public class X_C_JobRemuneration extends PO implements I_C_JobRemuneration, I_Pe } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -144,7 +144,7 @@ public class X_C_JobRemuneration extends PO implements I_C_JobRemuneration, I_Pe return ii.intValue(); } - public I_C_Remuneration getC_Remuneration() throws Exception + public I_C_Remuneration getC_Remuneration() throws RuntimeException { Class clazz = MTable.getClass(I_C_Remuneration.Table_Name); I_C_Remuneration result = null; @@ -155,7 +155,7 @@ public class X_C_JobRemuneration extends PO implements I_C_JobRemuneration, I_Pe } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_LandedCost.java b/base/src/org/compiere/model/X_C_LandedCost.java index a5e9c1d291..c4220cdd99 100644 --- a/base/src/org/compiere/model/X_C_LandedCost.java +++ b/base/src/org/compiere/model/X_C_LandedCost.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_LandedCost * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_LandedCost extends PO implements I_C_LandedCost, I_Persistent { @@ -76,7 +76,7 @@ public class X_C_LandedCost extends PO implements I_C_LandedCost, I_Persistent return sb.toString(); } - public I_C_InvoiceLine getC_InvoiceLine() throws Exception + public I_C_InvoiceLine getC_InvoiceLine() throws RuntimeException { Class clazz = MTable.getClass(I_C_InvoiceLine.Table_Name); I_C_InvoiceLine result = null; @@ -87,7 +87,7 @@ public class X_C_LandedCost extends PO implements I_C_LandedCost, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -191,7 +191,7 @@ public class X_C_LandedCost extends PO implements I_C_LandedCost, I_Persistent return (String)get_Value(COLUMNNAME_LandedCostDistribution); } - public I_M_CostElement getM_CostElement() throws Exception + public I_M_CostElement getM_CostElement() throws RuntimeException { Class clazz = MTable.getClass(I_M_CostElement.Table_Name); I_M_CostElement result = null; @@ -202,7 +202,7 @@ public class X_C_LandedCost extends PO implements I_C_LandedCost, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -229,7 +229,7 @@ public class X_C_LandedCost extends PO implements I_C_LandedCost, I_Persistent return ii.intValue(); } - public I_M_InOut getM_InOut() throws Exception + public I_M_InOut getM_InOut() throws RuntimeException { Class clazz = MTable.getClass(I_M_InOut.Table_Name); I_M_InOut result = null; @@ -240,7 +240,7 @@ public class X_C_LandedCost extends PO implements I_C_LandedCost, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -268,7 +268,7 @@ public class X_C_LandedCost extends PO implements I_C_LandedCost, I_Persistent return ii.intValue(); } - public I_M_InOutLine getM_InOutLine() throws Exception + public I_M_InOutLine getM_InOutLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_InOutLine.Table_Name); I_M_InOutLine result = null; @@ -279,7 +279,7 @@ public class X_C_LandedCost extends PO implements I_C_LandedCost, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -307,7 +307,7 @@ public class X_C_LandedCost extends PO implements I_C_LandedCost, I_Persistent return ii.intValue(); } - public I_M_Product getM_Product() throws Exception + public I_M_Product getM_Product() throws RuntimeException { Class clazz = MTable.getClass(I_M_Product.Table_Name); I_M_Product result = null; @@ -318,7 +318,7 @@ public class X_C_LandedCost extends PO implements I_C_LandedCost, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_LandedCostAllocation.java b/base/src/org/compiere/model/X_C_LandedCostAllocation.java index 6e11f7ab07..c21b88de3c 100644 --- a/base/src/org/compiere/model/X_C_LandedCostAllocation.java +++ b/base/src/org/compiere/model/X_C_LandedCostAllocation.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_LandedCostAllocation * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_LandedCostAllocation extends PO implements I_C_LandedCostAllocation, I_Persistent { @@ -124,7 +124,7 @@ public class X_C_LandedCostAllocation extends PO implements I_C_LandedCostAlloca return bd; } - public I_C_InvoiceLine getC_InvoiceLine() throws Exception + public I_C_InvoiceLine getC_InvoiceLine() throws RuntimeException { Class clazz = MTable.getClass(I_C_InvoiceLine.Table_Name); I_C_InvoiceLine result = null; @@ -135,7 +135,7 @@ public class X_C_LandedCostAllocation extends PO implements I_C_LandedCostAlloca } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -215,7 +215,7 @@ public class X_C_LandedCostAllocation extends PO implements I_C_LandedCostAlloca return ii.intValue(); } - public I_M_CostElement getM_CostElement() throws Exception + public I_M_CostElement getM_CostElement() throws RuntimeException { Class clazz = MTable.getClass(I_M_CostElement.Table_Name); I_M_CostElement result = null; @@ -226,7 +226,7 @@ public class X_C_LandedCostAllocation extends PO implements I_C_LandedCostAlloca } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -253,7 +253,7 @@ public class X_C_LandedCostAllocation extends PO implements I_C_LandedCostAlloca return ii.intValue(); } - public I_M_Product getM_Product() throws Exception + public I_M_Product getM_Product() throws RuntimeException { Class clazz = MTable.getClass(I_M_Product.Table_Name); I_M_Product result = null; @@ -264,7 +264,7 @@ public class X_C_LandedCostAllocation extends PO implements I_C_LandedCostAlloca } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_Location.java b/base/src/org/compiere/model/X_C_Location.java index 6737559106..2e246ac9db 100644 --- a/base/src/org/compiere/model/X_C_Location.java +++ b/base/src/org/compiere/model/X_C_Location.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Location * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Location extends PO implements I_C_Location, I_Persistent { @@ -141,7 +141,7 @@ public class X_C_Location extends PO implements I_C_Location, I_Persistent return (String)get_Value(COLUMNNAME_Address4); } - public I_C_City getC_City() throws Exception + public I_C_City getC_City() throws RuntimeException { Class clazz = MTable.getClass(I_C_City.Table_Name); I_C_City result = null; @@ -152,7 +152,7 @@ public class X_C_Location extends PO implements I_C_Location, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -180,7 +180,7 @@ public class X_C_Location extends PO implements I_C_Location, I_Persistent return ii.intValue(); } - public I_C_Country getC_Country() throws Exception + public I_C_Country getC_Country() throws RuntimeException { Class clazz = MTable.getClass(I_C_Country.Table_Name); I_C_Country result = null; @@ -191,7 +191,7 @@ public class X_C_Location extends PO implements I_C_Location, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -265,7 +265,7 @@ public class X_C_Location extends PO implements I_C_Location, I_Persistent return ii.intValue(); } - public I_C_Region getC_Region() throws Exception + public I_C_Region getC_Region() throws RuntimeException { Class clazz = MTable.getClass(I_C_Region.Table_Name); I_C_Region result = null; @@ -276,7 +276,7 @@ public class X_C_Location extends PO implements I_C_Location, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_NonBusinessDay.java b/base/src/org/compiere/model/X_C_NonBusinessDay.java index 2f8311decf..8c76784547 100644 --- a/base/src/org/compiere/model/X_C_NonBusinessDay.java +++ b/base/src/org/compiere/model/X_C_NonBusinessDay.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_NonBusinessDay * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_NonBusinessDay extends PO implements I_C_NonBusinessDay, I_Persistent { @@ -75,7 +75,7 @@ public class X_C_NonBusinessDay extends PO implements I_C_NonBusinessDay, I_Pers return sb.toString(); } - public I_C_Calendar getC_Calendar() throws Exception + public I_C_Calendar getC_Calendar() throws RuntimeException { Class clazz = MTable.getClass(I_C_Calendar.Table_Name); I_C_Calendar result = null; @@ -86,7 +86,7 @@ public class X_C_NonBusinessDay extends PO implements I_C_NonBusinessDay, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_Order.java b/base/src/org/compiere/model/X_C_Order.java index 8de1d6e8f0..a8b0d42049 100644 --- a/base/src/org/compiere/model/X_C_Order.java +++ b/base/src/org/compiere/model/X_C_Order.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Order * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Order extends PO implements I_C_Order, I_Persistent { @@ -47,9 +47,9 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent setC_BPartner_Location_ID (0); setC_Currency_ID (0); // @C_Currency_ID@ - setC_DocTypeTarget_ID (0); setC_DocType_ID (0); // 0 + setC_DocTypeTarget_ID (0); setC_Order_ID (0); setC_PaymentTerm_ID (0); setDateAcct (new Timestamp( System.currentTimeMillis() )); @@ -82,10 +82,10 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent // N setIsInvoiced (false); setIsPrinted (false); - setIsSOTrx (false); -// @IsSOTrx@ setIsSelected (false); setIsSelfService (false); + setIsSOTrx (false); +// @IsSOTrx@ setIsTaxIncluded (false); setIsTransferred (false); setM_PriceList_ID (0); @@ -589,28 +589,6 @@ public class X_C_Order extends PO implements I_C_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) - 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 { Class clazz = MTable.getClass(I_C_DocType.Table_Name); @@ -649,6 +627,65 @@ public class X_C_Order extends PO implements I_C_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) + 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(); + } + + /** Set Charge amount. + @param ChargeAmt + Charge Amount + */ + public void setChargeAmt (BigDecimal ChargeAmt) + { + set_Value (COLUMNNAME_ChargeAmt, ChargeAmt); + } + + /** Get Charge amount. + @return Charge Amount + */ + public BigDecimal getChargeAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Copy From. + @param CopyFrom + Copy From Record + */ + public void setCopyFrom (String CopyFrom) + { + set_Value (COLUMNNAME_CopyFrom, CopyFrom); + } + + /** Get Copy From. + @return Copy From Record + */ + public String getCopyFrom () + { + return (String)get_Value(COLUMNNAME_CopyFrom); + } + /** Set Order. @param C_Order_ID Order @@ -671,83 +708,6 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent return ii.intValue(); } - public I_C_POS getC_POS() throws RuntimeException - { - Class clazz = MTable.getClass(I_C_POS.Table_Name); - I_C_POS result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_POS)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_POS_ID()), get_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 POS Terminal. - @param C_POS_ID - Point of Sales Terminal - */ - public void setC_POS_ID (int C_POS_ID) - { - if (C_POS_ID < 1) - set_Value (COLUMNNAME_C_POS_ID, null); - else - set_Value (COLUMNNAME_C_POS_ID, Integer.valueOf(C_POS_ID)); - } - - /** Get POS Terminal. - @return Point of Sales Terminal - */ - public int getC_POS_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_POS_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - public I_C_PaymentTerm getC_PaymentTerm() throws RuntimeException - { - Class clazz = MTable.getClass(I_C_PaymentTerm.Table_Name); - I_C_PaymentTerm result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_PaymentTerm)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_PaymentTerm_ID()), get_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 Payment Term. - @param C_PaymentTerm_ID - The terms of Payment (timing, discount) - */ - public void setC_PaymentTerm_ID (int C_PaymentTerm_ID) - { - if (C_PaymentTerm_ID < 1) - throw new IllegalArgumentException ("C_PaymentTerm_ID is mandatory."); - set_Value (COLUMNNAME_C_PaymentTerm_ID, Integer.valueOf(C_PaymentTerm_ID)); - } - - /** Get Payment Term. - @return The terms of Payment (timing, discount) - */ - public int getC_PaymentTerm_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_PaymentTerm_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - public I_C_Payment getC_Payment() throws RuntimeException { Class clazz = MTable.getClass(I_C_Payment.Table_Name); @@ -787,6 +747,83 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent return ii.intValue(); } + public I_C_PaymentTerm getC_PaymentTerm() throws RuntimeException + { + Class clazz = MTable.getClass(I_C_PaymentTerm.Table_Name); + I_C_PaymentTerm result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_PaymentTerm)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_PaymentTerm_ID()), get_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 Payment Term. + @param C_PaymentTerm_ID + The terms of Payment (timing, discount) + */ + public void setC_PaymentTerm_ID (int C_PaymentTerm_ID) + { + if (C_PaymentTerm_ID < 1) + throw new IllegalArgumentException ("C_PaymentTerm_ID is mandatory."); + set_Value (COLUMNNAME_C_PaymentTerm_ID, Integer.valueOf(C_PaymentTerm_ID)); + } + + /** Get Payment Term. + @return The terms of Payment (timing, discount) + */ + public int getC_PaymentTerm_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_PaymentTerm_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public I_C_POS getC_POS() throws RuntimeException + { + Class clazz = MTable.getClass(I_C_POS.Table_Name); + I_C_POS result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_POS)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_POS_ID()), get_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 POS Terminal. + @param C_POS_ID + Point of Sales Terminal + */ + public void setC_POS_ID (int C_POS_ID) + { + if (C_POS_ID < 1) + set_Value (COLUMNNAME_C_POS_ID, null); + else + set_Value (COLUMNNAME_C_POS_ID, Integer.valueOf(C_POS_ID)); + } + + /** Get POS Terminal. + @return Point of Sales Terminal + */ + public int getC_POS_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_POS_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_C_Project getC_Project() throws RuntimeException { Class clazz = MTable.getClass(I_C_Project.Table_Name); @@ -826,43 +863,6 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent return ii.intValue(); } - /** Set Charge amount. - @param ChargeAmt - Charge Amount - */ - public void setChargeAmt (BigDecimal ChargeAmt) - { - set_Value (COLUMNNAME_ChargeAmt, ChargeAmt); - } - - /** Get Charge amount. - @return Charge Amount - */ - public BigDecimal getChargeAmt () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt); - if (bd == null) - return Env.ZERO; - return bd; - } - - /** Set Copy From. - @param CopyFrom - Copy From Record - */ - public void setCopyFrom (String CopyFrom) - { - set_Value (COLUMNNAME_CopyFrom, CopyFrom); - } - - /** Get Copy From. - @return Copy From Record - */ - public String getCopyFrom () - { - return (String)get_Value(COLUMNNAME_CopyFrom); - } - /** Set Account Date. @param DateAcct Accounting Date @@ -1465,30 +1465,6 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent return false; } - /** Set Sales Transaction. - @param IsSOTrx - This is a Sales Transaction - */ - public void setIsSOTrx (boolean IsSOTrx) - { - set_Value (COLUMNNAME_IsSOTrx, Boolean.valueOf(IsSOTrx)); - } - - /** Get Sales Transaction. - @return This is a Sales Transaction - */ - public boolean isSOTrx () - { - Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) - { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); - return "Y".equals(oo); - } - return false; - } - /** Set Selected. @param IsSelected Selected */ public void setIsSelected (boolean IsSelected) @@ -1534,6 +1510,30 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent return false; } + /** Set Sales Transaction. + @param IsSOTrx + This is a Sales Transaction + */ + public void setIsSOTrx (boolean IsSOTrx) + { + set_Value (COLUMNNAME_IsSOTrx, Boolean.valueOf(IsSOTrx)); + } + + /** Get Sales Transaction. + @return This is a Sales Transaction + */ + public boolean isSOTrx () + { + Object oo = get_Value(COLUMNNAME_IsSOTrx); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + /** Set Price includes Tax. @param IsTaxIncluded Tax is included in the price @@ -1773,23 +1773,6 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent return (String)get_Value(COLUMNNAME_OrderType); } - /** 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 Payment BPartner. @param Pay_BPartner_ID Business Partner responsible for the payment @@ -1870,6 +1853,23 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent return (String)get_Value(COLUMNNAME_PaymentRule); } + /** 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 diff --git a/base/src/org/compiere/model/X_C_OrderLine.java b/base/src/org/compiere/model/X_C_OrderLine.java index 34c73706f0..5a93d2e812 100644 --- a/base/src/org/compiere/model/X_C_OrderLine.java +++ b/base/src/org/compiere/model/X_C_OrderLine.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_OrderLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_OrderLine extends PO implements I_C_OrderLine, I_Persistent { @@ -47,8 +47,8 @@ public class X_C_OrderLine extends PO implements I_C_OrderLine, I_Persistent // @C_BPartner_Location_ID@ setC_Currency_ID (0); // @C_Currency_ID@ - setC_OrderLine_ID (0); setC_Order_ID (0); + setC_OrderLine_ID (0); setC_Tax_ID (0); setC_UOM_ID (0); // @#C_UOM_ID@ @@ -362,28 +362,6 @@ public class X_C_OrderLine extends PO implements I_C_OrderLine, I_Persistent return ii.intValue(); } - /** 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) - throw new IllegalArgumentException ("C_OrderLine_ID is mandatory."); - set_ValueNoCheck (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); @@ -430,6 +408,67 @@ public class X_C_OrderLine extends PO implements I_C_OrderLine, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getC_Order_ID())); } + /** 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) + throw new IllegalArgumentException ("C_OrderLine_ID is mandatory."); + set_ValueNoCheck (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_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(); + } + public I_C_ProjectPhase getC_ProjectPhase() throws RuntimeException { Class clazz = MTable.getClass(I_C_ProjectPhase.Table_Name); @@ -508,45 +547,6 @@ public class X_C_OrderLine extends PO implements I_C_OrderLine, 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(); - } - public I_C_Tax getC_Tax() throws RuntimeException { Class clazz = MTable.getClass(I_C_Tax.Table_Name); @@ -1263,6 +1263,29 @@ public class X_C_OrderLine extends PO implements I_C_OrderLine, I_Persistent return bd; } + /** Set Referenced Order Line. + @param Ref_OrderLine_ID + Reference to corresponding Sales/Purchase Order + */ + public void setRef_OrderLine_ID (int Ref_OrderLine_ID) + { + if (Ref_OrderLine_ID < 1) + set_Value (COLUMNNAME_Ref_OrderLine_ID, null); + else + set_Value (COLUMNNAME_Ref_OrderLine_ID, Integer.valueOf(Ref_OrderLine_ID)); + } + + /** Get Referenced Order Line. + @return Reference to corresponding Sales/Purchase Order + */ + public int getRef_OrderLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_Ref_OrderLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Revenue Recognition Amt. @param RRAmt Revenue Recognition Amount @@ -1300,29 +1323,6 @@ public class X_C_OrderLine extends PO implements I_C_OrderLine, I_Persistent return (Timestamp)get_Value(COLUMNNAME_RRStartDate); } - /** Set Referenced Order Line. - @param Ref_OrderLine_ID - Reference to corresponding Sales/Purchase Order - */ - public void setRef_OrderLine_ID (int Ref_OrderLine_ID) - { - if (Ref_OrderLine_ID < 1) - set_Value (COLUMNNAME_Ref_OrderLine_ID, null); - else - set_Value (COLUMNNAME_Ref_OrderLine_ID, Integer.valueOf(Ref_OrderLine_ID)); - } - - /** Get Referenced Order Line. - @return Reference to corresponding Sales/Purchase Order - */ - public int getRef_OrderLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_Ref_OrderLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Resource Assignment. @param S_ResourceAssignment_ID Resource Assignment diff --git a/base/src/org/compiere/model/X_C_OrderTax.java b/base/src/org/compiere/model/X_C_OrderTax.java index f291ed840b..602226a223 100644 --- a/base/src/org/compiere/model/X_C_OrderTax.java +++ b/base/src/org/compiere/model/X_C_OrderTax.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for C_OrderTax * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_OrderTax extends PO implements I_C_OrderTax, I_Persistent { @@ -78,7 +78,7 @@ public class X_C_OrderTax extends PO implements I_C_OrderTax, I_Persistent return sb.toString(); } - public I_C_Order getC_Order() throws Exception + public I_C_Order getC_Order() throws RuntimeException { Class clazz = MTable.getClass(I_C_Order.Table_Name); I_C_Order result = null; @@ -89,7 +89,7 @@ public class X_C_OrderTax extends PO implements I_C_OrderTax, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -116,7 +116,7 @@ public class X_C_OrderTax extends PO implements I_C_OrderTax, I_Persistent return ii.intValue(); } - public I_C_Tax getC_Tax() throws Exception + public I_C_Tax getC_Tax() throws RuntimeException { Class clazz = MTable.getClass(I_C_Tax.Table_Name); I_C_Tax result = null; @@ -127,7 +127,7 @@ public class X_C_OrderTax extends PO implements I_C_OrderTax, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_OrgAssignment.java b/base/src/org/compiere/model/X_C_OrgAssignment.java index 317eb7fe8a..0b9db3cc54 100644 --- a/base/src/org/compiere/model/X_C_OrgAssignment.java +++ b/base/src/org/compiere/model/X_C_OrgAssignment.java @@ -25,7 +25,7 @@ import java.util.logging.Level; /** Generated Model for C_OrgAssignment * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_OrgAssignment extends PO implements I_C_OrgAssignment, I_Persistent { @@ -74,7 +74,7 @@ public class X_C_OrgAssignment extends PO implements I_C_OrgAssignment, I_Persis return sb.toString(); } - public I_AD_User getAD_User() throws Exception + public I_AD_User getAD_User() throws RuntimeException { Class clazz = MTable.getClass(I_AD_User.Table_Name); I_AD_User result = null; @@ -85,7 +85,7 @@ public class X_C_OrgAssignment extends PO implements I_C_OrgAssignment, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_POS.java b/base/src/org/compiere/model/X_C_POS.java index 69af69d767..d8376a717e 100644 --- a/base/src/org/compiere/model/X_C_POS.java +++ b/base/src/org/compiere/model/X_C_POS.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_POS * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_POS extends PO implements I_C_POS, I_Persistent { @@ -93,7 +93,7 @@ public class X_C_POS extends PO implements I_C_POS, I_Persistent return (String)get_Value(COLUMNNAME_CashDrawer); } - public I_C_BankAccount getC_BankAccount() throws Exception + public I_C_BankAccount getC_BankAccount() throws RuntimeException { Class clazz = MTable.getClass(I_C_BankAccount.Table_Name); I_C_BankAccount result = null; @@ -104,7 +104,7 @@ public class X_C_POS extends PO implements I_C_POS, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -132,8 +132,6 @@ public class X_C_POS extends PO implements I_C_POS, I_Persistent return ii.intValue(); } - /** C_BPartnerCashTrx_ID AD_Reference_ID=173 */ - public static final int C_BPARTNERCASHTRX_ID_AD_Reference_ID=173; /** Set Template B.Partner. @param C_BPartnerCashTrx_ID Business Partner used for creating new Business Partners on the fly @@ -157,7 +155,7 @@ public class X_C_POS extends PO implements I_C_POS, I_Persistent return ii.intValue(); } - public I_C_CashBook getC_CashBook() throws Exception + public I_C_CashBook getC_CashBook() throws RuntimeException { Class clazz = MTable.getClass(I_C_CashBook.Table_Name); I_C_CashBook result = null; @@ -168,7 +166,7 @@ public class X_C_POS extends PO implements I_C_POS, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -195,7 +193,7 @@ public class X_C_POS extends PO implements I_C_POS, I_Persistent return ii.intValue(); } - public I_C_DocType getC_DocType() throws Exception + public I_C_DocType getC_DocType() throws RuntimeException { Class clazz = MTable.getClass(I_C_DocType.Table_Name); I_C_DocType result = null; @@ -206,7 +204,7 @@ public class X_C_POS extends PO implements I_C_POS, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -256,7 +254,7 @@ public class X_C_POS extends PO implements I_C_POS, I_Persistent return ii.intValue(); } - public I_C_POSKeyLayout getC_POSKeyLayout() throws Exception + public I_C_POSKeyLayout getC_POSKeyLayout() throws RuntimeException { Class clazz = MTable.getClass(I_C_POSKeyLayout.Table_Name); I_C_POSKeyLayout result = null; @@ -267,7 +265,7 @@ public class X_C_POS extends PO implements I_C_POS, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -353,7 +351,7 @@ public class X_C_POS extends PO implements I_C_POS, I_Persistent return false; } - public I_M_PriceList getM_PriceList() throws Exception + public I_M_PriceList getM_PriceList() throws RuntimeException { Class clazz = MTable.getClass(I_M_PriceList.Table_Name); I_M_PriceList result = null; @@ -364,7 +362,7 @@ public class X_C_POS extends PO implements I_C_POS, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -391,7 +389,7 @@ public class X_C_POS extends PO implements I_C_POS, I_Persistent return ii.intValue(); } - public I_M_Warehouse getM_Warehouse() throws Exception + public I_M_Warehouse getM_Warehouse() throws RuntimeException { Class clazz = MTable.getClass(I_M_Warehouse.Table_Name); I_M_Warehouse result = null; @@ -402,7 +400,7 @@ public class X_C_POS extends PO implements I_C_POS, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -473,8 +471,6 @@ public class X_C_POS extends PO implements I_C_POS, I_Persistent return (String)get_Value(COLUMNNAME_PrinterName); } - /** SalesRep_ID AD_Reference_ID=190 */ - public static final int SALESREP_ID_AD_Reference_ID=190; /** Set Sales Representative. @param SalesRep_ID Sales Representative or Company Agent diff --git a/base/src/org/compiere/model/X_C_POSKey.java b/base/src/org/compiere/model/X_C_POSKey.java index d885ed2888..4e2dc4cccb 100644 --- a/base/src/org/compiere/model/X_C_POSKey.java +++ b/base/src/org/compiere/model/X_C_POSKey.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_POSKey * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_POSKey extends PO implements I_C_POSKey, I_Persistent { @@ -79,7 +79,7 @@ public class X_C_POSKey extends PO implements I_C_POSKey, I_Persistent return sb.toString(); } - public I_AD_PrintColor getAD_PrintColor() throws Exception + public I_AD_PrintColor getAD_PrintColor() throws RuntimeException { Class clazz = MTable.getClass(I_AD_PrintColor.Table_Name); I_AD_PrintColor result = null; @@ -90,7 +90,7 @@ public class X_C_POSKey extends PO implements I_C_POSKey, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -140,7 +140,7 @@ public class X_C_POSKey extends PO implements I_C_POSKey, I_Persistent return ii.intValue(); } - public I_C_POSKeyLayout getC_POSKeyLayout() throws Exception + public I_C_POSKeyLayout getC_POSKeyLayout() throws RuntimeException { Class clazz = MTable.getClass(I_C_POSKeyLayout.Table_Name); I_C_POSKeyLayout result = null; @@ -151,7 +151,7 @@ public class X_C_POSKey extends PO implements I_C_POSKey, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -195,7 +195,7 @@ public class X_C_POSKey extends PO implements I_C_POSKey, I_Persistent return (String)get_Value(COLUMNNAME_Description); } - public I_M_Product getM_Product() throws Exception + public I_M_Product getM_Product() throws RuntimeException { Class clazz = MTable.getClass(I_M_Product.Table_Name); I_M_Product result = null; @@ -206,7 +206,7 @@ public class X_C_POSKey extends PO implements I_C_POSKey, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_POSKeyLayout.java b/base/src/org/compiere/model/X_C_POSKeyLayout.java index ab0980dc9a..40688fb0ee 100644 --- a/base/src/org/compiere/model/X_C_POSKeyLayout.java +++ b/base/src/org/compiere/model/X_C_POSKeyLayout.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_POSKeyLayout * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_POSKeyLayout extends PO implements I_C_POSKeyLayout, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_PaySchedule.java b/base/src/org/compiere/model/X_C_PaySchedule.java index 66a22a0ccd..f7634791ce 100644 --- a/base/src/org/compiere/model/X_C_PaySchedule.java +++ b/base/src/org/compiere/model/X_C_PaySchedule.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_PaySchedule * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_PaySchedule extends PO implements I_C_PaySchedule, I_Persistent { @@ -81,7 +81,7 @@ public class X_C_PaySchedule extends PO implements I_C_PaySchedule, I_Persistent return sb.toString(); } - public I_C_PaymentTerm getC_PaymentTerm() throws Exception + public I_C_PaymentTerm getC_PaymentTerm() throws RuntimeException { Class clazz = MTable.getClass(I_C_PaymentTerm.Table_Name); I_C_PaymentTerm result = null; @@ -92,7 +92,7 @@ public class X_C_PaySchedule extends PO implements I_C_PaySchedule, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_PaySelection.java b/base/src/org/compiere/model/X_C_PaySelection.java index d6c47825df..60d27ca34d 100644 --- a/base/src/org/compiere/model/X_C_PaySelection.java +++ b/base/src/org/compiere/model/X_C_PaySelection.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_PaySelection * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_PaySelection extends PO implements I_C_PaySelection, I_Persistent { @@ -84,7 +84,7 @@ public class X_C_PaySelection extends PO implements I_C_PaySelection, I_Persiste return sb.toString(); } - public I_C_BankAccount getC_BankAccount() throws Exception + public I_C_BankAccount getC_BankAccount() throws RuntimeException { Class clazz = MTable.getClass(I_C_BankAccount.Table_Name); I_C_BankAccount result = null; @@ -95,7 +95,7 @@ public class X_C_PaySelection extends PO implements I_C_PaySelection, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_PaySelectionCheck.java b/base/src/org/compiere/model/X_C_PaySelectionCheck.java index a9f3079bf5..cb32597da5 100644 --- a/base/src/org/compiere/model/X_C_PaySelectionCheck.java +++ b/base/src/org/compiere/model/X_C_PaySelectionCheck.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for C_PaySelectionCheck * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck, I_Persistent { @@ -85,7 +85,7 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck, return sb.toString(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -96,7 +96,7 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck, } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -123,7 +123,7 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck, return ii.intValue(); } - public I_C_BP_BankAccount getC_BP_BankAccount() throws Exception + public I_C_BP_BankAccount getC_BP_BankAccount() throws RuntimeException { Class clazz = MTable.getClass(I_C_BP_BankAccount.Table_Name); I_C_BP_BankAccount result = null; @@ -134,7 +134,7 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck, } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -162,8 +162,6 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck, return ii.intValue(); } - /** C_Payment_ID AD_Reference_ID=343 */ - public static final int C_PAYMENT_ID_AD_Reference_ID=343; /** Set Payment. @param C_Payment_ID Payment identifier @@ -209,7 +207,7 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck, return ii.intValue(); } - public I_C_PaySelection getC_PaySelection() throws Exception + public I_C_PaySelection getC_PaySelection() throws RuntimeException { Class clazz = MTable.getClass(I_C_PaySelection.Table_Name); I_C_PaySelection result = null; @@ -220,7 +218,7 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck, } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -391,6 +389,8 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck, public static final String PAYMENTRULE_OnCredit = "P"; /** Direct Debit = D */ public static final String PAYMENTRULE_DirectDebit = "D"; + /** Mixed = M */ + public static final String PAYMENTRULE_Mixed = "M"; /** Set Payment Rule. @param PaymentRule How you pay the invoice @@ -398,7 +398,7 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck, public void setPaymentRule (String PaymentRule) { if (PaymentRule == null) throw new IllegalArgumentException ("PaymentRule is mandatory"); - if (PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D"); set_Value (COLUMNNAME_PaymentRule, PaymentRule); + if (PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D") || PaymentRule.equals("M")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D - M"); set_Value (COLUMNNAME_PaymentRule, PaymentRule); } /** Get Payment Rule. diff --git a/base/src/org/compiere/model/X_C_PaySelectionLine.java b/base/src/org/compiere/model/X_C_PaySelectionLine.java index 9f7b313793..8d65fcfbb1 100644 --- a/base/src/org/compiere/model/X_C_PaySelectionLine.java +++ b/base/src/org/compiere/model/X_C_PaySelectionLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_PaySelectionLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_Persistent { @@ -88,7 +88,7 @@ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_ return sb.toString(); } - public I_C_Invoice getC_Invoice() throws Exception + public I_C_Invoice getC_Invoice() throws RuntimeException { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); I_C_Invoice result = null; @@ -99,7 +99,7 @@ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -126,7 +126,7 @@ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_ return ii.intValue(); } - public I_C_PaySelectionCheck getC_PaySelectionCheck() throws Exception + public I_C_PaySelectionCheck getC_PaySelectionCheck() throws RuntimeException { Class clazz = MTable.getClass(I_C_PaySelectionCheck.Table_Name); I_C_PaySelectionCheck result = null; @@ -137,7 +137,7 @@ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -165,7 +165,7 @@ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_ return ii.intValue(); } - public I_C_PaySelection getC_PaySelection() throws Exception + public I_C_PaySelection getC_PaySelection() throws RuntimeException { Class clazz = MTable.getClass(I_C_PaySelection.Table_Name); I_C_PaySelection result = null; @@ -176,7 +176,7 @@ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -420,6 +420,8 @@ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_ public static final String PAYMENTRULE_OnCredit = "P"; /** Direct Debit = D */ public static final String PAYMENTRULE_DirectDebit = "D"; + /** Mixed = M */ + public static final String PAYMENTRULE_Mixed = "M"; /** Set Payment Rule. @param PaymentRule How you pay the invoice @@ -427,7 +429,7 @@ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_ public void setPaymentRule (String PaymentRule) { if (PaymentRule == null) throw new IllegalArgumentException ("PaymentRule is mandatory"); - if (PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D"); set_Value (COLUMNNAME_PaymentRule, PaymentRule); + if (PaymentRule.equals("B") || PaymentRule.equals("K") || PaymentRule.equals("T") || PaymentRule.equals("S") || PaymentRule.equals("P") || PaymentRule.equals("D") || PaymentRule.equals("M")); else throw new IllegalArgumentException ("PaymentRule Invalid value - " + PaymentRule + " - Reference_ID=195 - B - K - T - S - P - D - M"); set_Value (COLUMNNAME_PaymentRule, PaymentRule); } /** Get Payment Rule. diff --git a/base/src/org/compiere/model/X_C_Payment.java b/base/src/org/compiere/model/X_C_Payment.java index 984f90ce4b..6f34a1b6ea 100644 --- a/base/src/org/compiere/model/X_C_Payment.java +++ b/base/src/org/compiere/model/X_C_Payment.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Payment * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent { @@ -158,8 +158,6 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return (String)get_Value(COLUMNNAME_A_Country); } - /** AD_OrgTrx_ID AD_Reference_ID=130 */ - public static final int AD_ORGTRX_ID_AD_Reference_ID=130; /** Set Trx Organization. @param AD_OrgTrx_ID Performing or initiating organization @@ -302,7 +300,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return (String)get_Value(COLUMNNAME_A_Zip); } - public I_C_Activity getC_Activity() throws Exception + public I_C_Activity getC_Activity() throws RuntimeException { Class clazz = MTable.getClass(I_C_Activity.Table_Name); I_C_Activity result = null; @@ -313,7 +311,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -341,7 +339,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return ii.intValue(); } - public I_C_BankAccount getC_BankAccount() throws Exception + public I_C_BankAccount getC_BankAccount() throws RuntimeException { Class clazz = MTable.getClass(I_C_BankAccount.Table_Name); I_C_BankAccount result = null; @@ -352,7 +350,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -380,7 +378,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return ii.intValue(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -391,7 +389,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -418,7 +416,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return ii.intValue(); } - public I_C_BP_BankAccount getC_BP_BankAccount() throws Exception + public I_C_BP_BankAccount getC_BP_BankAccount() throws RuntimeException { Class clazz = MTable.getClass(I_C_BP_BankAccount.Table_Name); I_C_BP_BankAccount result = null; @@ -429,7 +427,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -457,7 +455,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return ii.intValue(); } - public I_C_Campaign getC_Campaign() throws Exception + public I_C_Campaign getC_Campaign() throws RuntimeException { Class clazz = MTable.getClass(I_C_Campaign.Table_Name); I_C_Campaign result = null; @@ -468,7 +466,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -496,7 +494,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return ii.intValue(); } - public I_C_CashBook getC_CashBook() throws Exception + public I_C_CashBook getC_CashBook() throws RuntimeException { Class clazz = MTable.getClass(I_C_CashBook.Table_Name); I_C_CashBook result = null; @@ -507,7 +505,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -535,7 +533,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return ii.intValue(); } - public I_C_Charge getC_Charge() throws Exception + public I_C_Charge getC_Charge() throws RuntimeException { Class clazz = MTable.getClass(I_C_Charge.Table_Name); I_C_Charge result = null; @@ -546,7 +544,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -574,7 +572,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return ii.intValue(); } - public I_C_ConversionType getC_ConversionType() throws Exception + public I_C_ConversionType getC_ConversionType() throws RuntimeException { Class clazz = MTable.getClass(I_C_ConversionType.Table_Name); I_C_ConversionType result = null; @@ -585,7 +583,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -613,7 +611,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return ii.intValue(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -624,7 +622,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -651,7 +649,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return ii.intValue(); } - public I_C_DocType getC_DocType() throws Exception + public I_C_DocType getC_DocType() throws RuntimeException { Class clazz = MTable.getClass(I_C_DocType.Table_Name); I_C_DocType result = null; @@ -662,7 +660,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -726,7 +724,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return (String)get_Value(COLUMNNAME_CheckNo); } - public I_C_Invoice getC_Invoice() throws Exception + public I_C_Invoice getC_Invoice() throws RuntimeException { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); I_C_Invoice result = null; @@ -737,7 +735,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -765,7 +763,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return ii.intValue(); } - public I_C_Order getC_Order() throws Exception + public I_C_Order getC_Order() throws RuntimeException { Class clazz = MTable.getClass(I_C_Order.Table_Name); I_C_Order result = null; @@ -776,7 +774,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -804,7 +802,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return ii.intValue(); } - public I_C_PaymentBatch getC_PaymentBatch() throws Exception + public I_C_PaymentBatch getC_PaymentBatch() throws RuntimeException { Class clazz = MTable.getClass(I_C_PaymentBatch.Table_Name); I_C_PaymentBatch result = null; @@ -815,7 +813,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -865,7 +863,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return ii.intValue(); } - public I_C_Project getC_Project() throws Exception + public I_C_Project getC_Project() throws RuntimeException { Class clazz = MTable.getClass(I_C_Project.Table_Name); I_C_Project result = null; @@ -876,7 +874,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -1711,8 +1709,6 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return false; } - /** Ref_Payment_ID AD_Reference_ID=343 */ - public static final int REF_PAYMENT_ID_AD_Reference_ID=343; /** Set Referenced Payment. @param Ref_Payment_ID Referenced Payment */ public void setRef_Payment_ID (int Ref_Payment_ID) @@ -1733,8 +1729,6 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return ii.intValue(); } - /** Reversal_ID AD_Reference_ID=343 */ - public static final int REVERSAL_ID_AD_Reference_ID=343; /** Set Reversal ID. @param Reversal_ID ID of document reversal @@ -1961,8 +1955,6 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return (String)get_Value(COLUMNNAME_TrxType); } - /** User1_ID AD_Reference_ID=134 */ - public static final int USER1_ID_AD_Reference_ID=134; /** Set User List 1. @param User1_ID User defined list element #1 @@ -1986,8 +1978,6 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent return ii.intValue(); } - /** User2_ID AD_Reference_ID=137 */ - public static final int USER2_ID_AD_Reference_ID=137; /** Set User List 2. @param User2_ID User defined list element #2 diff --git a/base/src/org/compiere/model/X_C_PaymentAllocate.java b/base/src/org/compiere/model/X_C_PaymentAllocate.java index 16bb95ef44..036271f053 100644 --- a/base/src/org/compiere/model/X_C_PaymentAllocate.java +++ b/base/src/org/compiere/model/X_C_PaymentAllocate.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_PaymentAllocate * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_PaymentAllocate extends PO implements I_C_PaymentAllocate, I_Persistent { @@ -102,7 +102,7 @@ public class X_C_PaymentAllocate extends PO implements I_C_PaymentAllocate, I_Pe return bd; } - public I_C_AllocationLine getC_AllocationLine() throws Exception + public I_C_AllocationLine getC_AllocationLine() throws RuntimeException { Class clazz = MTable.getClass(I_C_AllocationLine.Table_Name); I_C_AllocationLine result = null; @@ -113,7 +113,7 @@ public class X_C_PaymentAllocate extends PO implements I_C_PaymentAllocate, I_Pe } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -141,7 +141,7 @@ public class X_C_PaymentAllocate extends PO implements I_C_PaymentAllocate, I_Pe return ii.intValue(); } - public I_C_Invoice getC_Invoice() throws Exception + public I_C_Invoice getC_Invoice() throws RuntimeException { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); I_C_Invoice result = null; @@ -152,7 +152,7 @@ public class X_C_PaymentAllocate extends PO implements I_C_PaymentAllocate, I_Pe } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -209,7 +209,7 @@ public class X_C_PaymentAllocate extends PO implements I_C_PaymentAllocate, I_Pe return ii.intValue(); } - public I_C_Payment getC_Payment() throws Exception + public I_C_Payment getC_Payment() throws RuntimeException { Class clazz = MTable.getClass(I_C_Payment.Table_Name); I_C_Payment result = null; @@ -220,7 +220,7 @@ public class X_C_PaymentAllocate extends PO implements I_C_PaymentAllocate, I_Pe } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_PaymentBatch.java b/base/src/org/compiere/model/X_C_PaymentBatch.java index 36fbe4bb49..fdcdae83f9 100644 --- a/base/src/org/compiere/model/X_C_PaymentBatch.java +++ b/base/src/org/compiere/model/X_C_PaymentBatch.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_PaymentBatch * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_PaymentBatch extends PO implements I_C_PaymentBatch, I_Persistent { @@ -99,7 +99,7 @@ public class X_C_PaymentBatch extends PO implements I_C_PaymentBatch, I_Persiste return ii.intValue(); } - public I_C_PaymentProcessor getC_PaymentProcessor() throws Exception + public I_C_PaymentProcessor getC_PaymentProcessor() throws RuntimeException { Class clazz = MTable.getClass(I_C_PaymentProcessor.Table_Name); I_C_PaymentProcessor result = null; @@ -110,7 +110,7 @@ public class X_C_PaymentBatch extends PO implements I_C_PaymentBatch, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_PaymentProcessor.java b/base/src/org/compiere/model/X_C_PaymentProcessor.java index 31fa700c93..7197069364 100644 --- a/base/src/org/compiere/model/X_C_PaymentProcessor.java +++ b/base/src/org/compiere/model/X_C_PaymentProcessor.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_PaymentProcessor * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_Persistent { @@ -333,8 +333,6 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ return false; } - /** AD_Sequence_ID AD_Reference_ID=128 */ - public static final int AD_SEQUENCE_ID_AD_Reference_ID=128; /** Set Sequence. @param AD_Sequence_ID Document Sequence @@ -358,7 +356,7 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ return ii.intValue(); } - public I_C_BankAccount getC_BankAccount() throws Exception + public I_C_BankAccount getC_BankAccount() throws RuntimeException { Class clazz = MTable.getClass(I_C_BankAccount.Table_Name); I_C_BankAccount result = null; @@ -369,7 +367,7 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -396,7 +394,7 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ return ii.intValue(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -407,7 +405,7 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_PaymentTerm.java b/base/src/org/compiere/model/X_C_PaymentTerm.java index d4b8b9cd04..a6361be70c 100644 --- a/base/src/org/compiere/model/X_C_PaymentTerm.java +++ b/base/src/org/compiere/model/X_C_PaymentTerm.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_PaymentTerm * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_PaymentTerm extends PO implements I_C_PaymentTerm, I_Persistent { @@ -43,9 +43,9 @@ public class X_C_PaymentTerm extends PO implements I_C_PaymentTerm, I_Persistent setAfterDelivery (false); setC_PaymentTerm_ID (0); setDiscount (Env.ZERO); + setDiscount2 (Env.ZERO); setDiscountDays (0); setDiscountDays2 (0); - setDiscount2 (Env.ZERO); setGraceDays (0); setIsDueFixed (false); setIsValid (false); @@ -168,6 +168,28 @@ public class X_C_PaymentTerm extends PO implements I_C_PaymentTerm, I_Persistent return bd; } + /** Set Discount 2 %. + @param Discount2 + Discount in percent + */ + public void setDiscount2 (BigDecimal Discount2) + { + if (Discount2 == null) + throw new IllegalArgumentException ("Discount2 is mandatory."); + set_Value (COLUMNNAME_Discount2, Discount2); + } + + /** Get Discount 2 %. + @return Discount in percent + */ + public BigDecimal getDiscount2 () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Discount2); + if (bd == null) + return Env.ZERO; + return bd; + } + /** Set Discount Days. @param DiscountDays Number of days from invoice date to be eligible for discount @@ -208,28 +230,6 @@ public class X_C_PaymentTerm extends PO implements I_C_PaymentTerm, I_Persistent return ii.intValue(); } - /** Set Discount 2 %. - @param Discount2 - Discount in percent - */ - public void setDiscount2 (BigDecimal Discount2) - { - if (Discount2 == null) - throw new IllegalArgumentException ("Discount2 is mandatory."); - set_Value (COLUMNNAME_Discount2, Discount2); - } - - /** Get Discount 2 %. - @return Discount in percent - */ - public BigDecimal getDiscount2 () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Discount2); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Document Note. @param DocumentNote Additional information for a Document diff --git a/base/src/org/compiere/model/X_C_Period.java b/base/src/org/compiere/model/X_C_Period.java index 450c37d630..277b44ca43 100644 --- a/base/src/org/compiere/model/X_C_Period.java +++ b/base/src/org/compiere/model/X_C_Period.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Period * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Period extends PO implements I_C_Period, I_Persistent { @@ -101,7 +101,7 @@ public class X_C_Period extends PO implements I_C_Period, I_Persistent return ii.intValue(); } - public I_C_Year getC_Year() throws Exception + public I_C_Year getC_Year() throws RuntimeException { Class clazz = MTable.getClass(I_C_Year.Table_Name); I_C_Year result = null; @@ -112,7 +112,7 @@ public class X_C_Period extends PO implements I_C_Period, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_PeriodControl.java b/base/src/org/compiere/model/X_C_PeriodControl.java index bf4ef2d847..d449b0b631 100644 --- a/base/src/org/compiere/model/X_C_PeriodControl.java +++ b/base/src/org/compiere/model/X_C_PeriodControl.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_PeriodControl * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_PeriodControl extends PO implements I_C_PeriodControl, I_Persistent { @@ -103,7 +103,7 @@ public class X_C_PeriodControl extends PO implements I_C_PeriodControl, I_Persis return new KeyNamePair(get_ID(), String.valueOf(getC_PeriodControl_ID())); } - public I_C_Period getC_Period() throws Exception + public I_C_Period getC_Period() throws RuntimeException { Class clazz = MTable.getClass(I_C_Period.Table_Name); I_C_Period result = null; @@ -114,7 +114,7 @@ public class X_C_PeriodControl extends PO implements I_C_PeriodControl, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -189,22 +189,10 @@ public class X_C_PeriodControl extends PO implements I_C_PeriodControl, I_Persis public static final String DOCBASETYPE_MatchPO = "MXP"; /** Project Issue = PJI */ public static final String DOCBASETYPE_ProjectIssue = "PJI"; - /** Manufacturing Operation Activity = MOA */ - public static final String DOCBASETYPE_ManufacturingOperationActivity = "MOA"; /** Maintenance Order = MOF */ public static final String DOCBASETYPE_MaintenanceOrder = "MOF"; - /** Manufacturing Order Issue = MOI */ - public static final String DOCBASETYPE_ManufacturingOrderIssue = "MOI"; - /** Manufacturing Order Method Variation = MOM */ - public static final String DOCBASETYPE_ManufacturingOrderMethodVariation = "MOM"; /** Manufacturing Order = MOP */ public static final String DOCBASETYPE_ManufacturingOrder = "MOP"; - /** Manufacturing Order Receipt = MOR */ - public static final String DOCBASETYPE_ManufacturingOrderReceipt = "MOR"; - /** Manufacturing Order Use Variation = MOU */ - public static final String DOCBASETYPE_ManufacturingOrderUseVariation = "MOU"; - /** Manufacturing Order Rate Variation = MOV */ - public static final String DOCBASETYPE_ManufacturingOrderRateVariation = "MOV"; /** Quality Order = MQO */ public static final String DOCBASETYPE_QualityOrder = "MQO"; /** Payroll = HRP */ @@ -218,7 +206,7 @@ public class X_C_PeriodControl extends PO implements I_C_PeriodControl, I_Persis public void setDocBaseType (String DocBaseType) { if (DocBaseType == null) throw new IllegalArgumentException ("DocBaseType is mandatory"); - if (DocBaseType.equals("GLJ") || DocBaseType.equals("GLD") || DocBaseType.equals("API") || DocBaseType.equals("APP") || DocBaseType.equals("ARI") || DocBaseType.equals("ARR") || DocBaseType.equals("SOO") || DocBaseType.equals("ARF") || DocBaseType.equals("MMS") || DocBaseType.equals("MMR") || DocBaseType.equals("MMM") || DocBaseType.equals("POO") || DocBaseType.equals("POR") || DocBaseType.equals("MMI") || DocBaseType.equals("APC") || DocBaseType.equals("ARC") || DocBaseType.equals("CMB") || DocBaseType.equals("CMC") || DocBaseType.equals("CMA") || DocBaseType.equals("MMP") || DocBaseType.equals("MXI") || DocBaseType.equals("MXP") || DocBaseType.equals("PJI") || DocBaseType.equals("MOA") || DocBaseType.equals("MOF") || DocBaseType.equals("MOI") || DocBaseType.equals("MOM") || DocBaseType.equals("MOP") || DocBaseType.equals("MOR") || DocBaseType.equals("MOU") || DocBaseType.equals("MOV") || DocBaseType.equals("MQO") || DocBaseType.equals("HRP") || DocBaseType.equals("DOO")); else throw new IllegalArgumentException ("DocBaseType Invalid value - " + DocBaseType + " - Reference_ID=183 - GLJ - GLD - API - APP - ARI - ARR - SOO - ARF - MMS - MMR - MMM - POO - POR - MMI - APC - ARC - CMB - CMC - CMA - MMP - MXI - MXP - PJI - MOA - MOF - MOI - MOM - MOP - MOR - MOU - MOV - MQO - HRP - DOO"); set_ValueNoCheck (COLUMNNAME_DocBaseType, DocBaseType); + if (DocBaseType.equals("GLJ") || DocBaseType.equals("GLD") || DocBaseType.equals("API") || DocBaseType.equals("APP") || DocBaseType.equals("ARI") || DocBaseType.equals("ARR") || DocBaseType.equals("SOO") || DocBaseType.equals("ARF") || DocBaseType.equals("MMS") || DocBaseType.equals("MMR") || DocBaseType.equals("MMM") || DocBaseType.equals("POO") || DocBaseType.equals("POR") || DocBaseType.equals("MMI") || DocBaseType.equals("APC") || DocBaseType.equals("ARC") || DocBaseType.equals("CMB") || DocBaseType.equals("CMC") || DocBaseType.equals("CMA") || DocBaseType.equals("MMP") || DocBaseType.equals("MXI") || DocBaseType.equals("MXP") || DocBaseType.equals("PJI") || DocBaseType.equals("MOF") || DocBaseType.equals("MOP") || DocBaseType.equals("MQO") || DocBaseType.equals("HRP") || DocBaseType.equals("DOO")); else throw new IllegalArgumentException ("DocBaseType Invalid value - " + DocBaseType + " - Reference_ID=183 - GLJ - GLD - API - APP - ARI - ARR - SOO - ARF - MMS - MMR - MMM - POO - POR - MMI - APC - ARC - CMB - CMC - CMA - MMP - MXI - MXP - PJI - MOF - MOP - MQO - HRP - DOO"); set_ValueNoCheck (COLUMNNAME_DocBaseType, DocBaseType); } /** Get Document BaseType. diff --git a/base/src/org/compiere/model/X_C_Phase.java b/base/src/org/compiere/model/X_C_Phase.java index a2c3c5f02f..7316fe86ca 100644 --- a/base/src/org/compiere/model/X_C_Phase.java +++ b/base/src/org/compiere/model/X_C_Phase.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Phase * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Phase extends PO implements I_C_Phase, I_Persistent { @@ -102,7 +102,7 @@ public class X_C_Phase extends PO implements I_C_Phase, I_Persistent return ii.intValue(); } - public I_C_ProjectType getC_ProjectType() throws Exception + public I_C_ProjectType getC_ProjectType() throws RuntimeException { Class clazz = MTable.getClass(I_C_ProjectType.Table_Name); I_C_ProjectType result = null; @@ -113,7 +113,7 @@ public class X_C_Phase extends PO implements I_C_Phase, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -174,7 +174,7 @@ public class X_C_Phase extends PO implements I_C_Phase, I_Persistent return (String)get_Value(COLUMNNAME_Help); } - public I_M_Product getM_Product() throws Exception + public I_M_Product getM_Product() throws RuntimeException { Class clazz = MTable.getClass(I_M_Product.Table_Name); I_M_Product result = null; @@ -185,7 +185,7 @@ public class X_C_Phase extends PO implements I_C_Phase, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_Project.java b/base/src/org/compiere/model/X_C_Project.java index 3c4318645e..4d7824293b 100644 --- a/base/src/org/compiere/model/X_C_Project.java +++ b/base/src/org/compiere/model/X_C_Project.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Project * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Project extends PO implements I_C_Project, I_Persistent { @@ -94,7 +94,7 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent return sb.toString(); } - public I_AD_User getAD_User() throws Exception + public I_AD_User getAD_User() throws RuntimeException { Class clazz = MTable.getClass(I_AD_User.Table_Name); I_AD_User result = null; @@ -105,7 +105,7 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -133,7 +133,7 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent return ii.intValue(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -144,7 +144,7 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -172,7 +172,7 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent return ii.intValue(); } - public I_C_BPartner_Location getC_BPartner_Location() throws Exception + 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; @@ -183,7 +183,7 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -211,8 +211,6 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent return ii.intValue(); } - /** C_BPartnerSR_ID AD_Reference_ID=353 */ - public static final int C_BPARTNERSR_ID_AD_Reference_ID=353; /** Set BPartner (Agent). @param C_BPartnerSR_ID Business Partner (Agent or Sales Rep) @@ -236,7 +234,7 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent return ii.intValue(); } - public I_C_Campaign getC_Campaign() throws Exception + public I_C_Campaign getC_Campaign() throws RuntimeException { Class clazz = MTable.getClass(I_C_Campaign.Table_Name); I_C_Campaign result = null; @@ -247,7 +245,7 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -275,7 +273,7 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent return ii.intValue(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -286,7 +284,7 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -374,7 +372,7 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent return (String)get_Value(COLUMNNAME_CopyFrom); } - public I_C_PaymentTerm getC_PaymentTerm() throws Exception + public I_C_PaymentTerm getC_PaymentTerm() throws RuntimeException { Class clazz = MTable.getClass(I_C_PaymentTerm.Table_Name); I_C_PaymentTerm result = null; @@ -385,7 +383,7 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -413,7 +411,7 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent return ii.intValue(); } - public I_C_Phase getC_Phase() throws Exception + public I_C_Phase getC_Phase() throws RuntimeException { Class clazz = MTable.getClass(I_C_Phase.Table_Name); I_C_Phase result = null; @@ -424,7 +422,7 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -675,7 +673,7 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent return false; } - public I_M_PriceList_Version getM_PriceList_Version() throws Exception + public I_M_PriceList_Version getM_PriceList_Version() throws RuntimeException { Class clazz = MTable.getClass(I_M_PriceList_Version.Table_Name); I_M_PriceList_Version result = null; @@ -686,7 +684,7 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -714,7 +712,7 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent return ii.intValue(); } - public I_M_Warehouse getM_Warehouse() throws Exception + public I_M_Warehouse getM_Warehouse() throws RuntimeException { Class clazz = MTable.getClass(I_M_Warehouse.Table_Name); I_M_Warehouse result = null; @@ -725,7 +723,7 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -1023,8 +1021,6 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent return (String)get_Value(COLUMNNAME_ProjInvoiceRule); } - /** SalesRep_ID AD_Reference_ID=190 */ - public static final int SALESREP_ID_AD_Reference_ID=190; /** Set Sales Representative. @param SalesRep_ID Sales Representative or Company Agent diff --git a/base/src/org/compiere/model/X_C_ProjectIssue.java b/base/src/org/compiere/model/X_C_ProjectIssue.java index 6c6183dfba..ed56861882 100644 --- a/base/src/org/compiere/model/X_C_ProjectIssue.java +++ b/base/src/org/compiere/model/X_C_ProjectIssue.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_ProjectIssue * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_ProjectIssue extends PO implements I_C_ProjectIssue, I_Persistent { @@ -86,7 +86,7 @@ public class X_C_ProjectIssue extends PO implements I_C_ProjectIssue, I_Persiste return sb.toString(); } - public I_C_Project getC_Project() throws Exception + public I_C_Project getC_Project() throws RuntimeException { Class clazz = MTable.getClass(I_C_Project.Table_Name); I_C_Project result = null; @@ -97,7 +97,7 @@ public class X_C_ProjectIssue extends PO implements I_C_ProjectIssue, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -213,7 +213,7 @@ public class X_C_ProjectIssue extends PO implements I_C_ProjectIssue, I_Persiste return ii.intValue(); } - public I_M_InOutLine getM_InOutLine() throws Exception + public I_M_InOutLine getM_InOutLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_InOutLine.Table_Name); I_M_InOutLine result = null; @@ -224,7 +224,7 @@ public class X_C_ProjectIssue extends PO implements I_C_ProjectIssue, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -315,7 +315,7 @@ public class X_C_ProjectIssue extends PO implements I_C_ProjectIssue, I_Persiste return bd; } - public I_M_Product getM_Product() throws Exception + public I_M_Product getM_Product() throws RuntimeException { Class clazz = MTable.getClass(I_M_Product.Table_Name); I_M_Product result = null; @@ -326,7 +326,7 @@ public class X_C_ProjectIssue extends PO implements I_C_ProjectIssue, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -422,7 +422,7 @@ public class X_C_ProjectIssue extends PO implements I_C_ProjectIssue, I_Persiste return false; } - public I_S_TimeExpenseLine getS_TimeExpenseLine() throws Exception + public I_S_TimeExpenseLine getS_TimeExpenseLine() throws RuntimeException { Class clazz = MTable.getClass(I_S_TimeExpenseLine.Table_Name); I_S_TimeExpenseLine result = null; @@ -433,7 +433,7 @@ public class X_C_ProjectIssue extends PO implements I_C_ProjectIssue, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_ProjectIssueMA.java b/base/src/org/compiere/model/X_C_ProjectIssueMA.java index 101dcae77f..ad787e7507 100644 --- a/base/src/org/compiere/model/X_C_ProjectIssueMA.java +++ b/base/src/org/compiere/model/X_C_ProjectIssueMA.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_ProjectIssueMA * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_ProjectIssueMA extends PO implements I_C_ProjectIssueMA, I_Persistent { @@ -76,7 +76,7 @@ public class X_C_ProjectIssueMA extends PO implements I_C_ProjectIssueMA, I_Pers return sb.toString(); } - public I_C_ProjectIssue getC_ProjectIssue() throws Exception + public I_C_ProjectIssue getC_ProjectIssue() throws RuntimeException { Class clazz = MTable.getClass(I_C_ProjectIssue.Table_Name); I_C_ProjectIssue result = null; @@ -87,7 +87,7 @@ public class X_C_ProjectIssueMA extends PO implements I_C_ProjectIssueMA, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_ProjectLine.java b/base/src/org/compiere/model/X_C_ProjectLine.java index c22de7a22e..19fde3ebe1 100644 --- a/base/src/org/compiere/model/X_C_ProjectLine.java +++ b/base/src/org/compiere/model/X_C_ProjectLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_ProjectLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent { @@ -129,7 +129,7 @@ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent return bd; } - public I_C_Order getC_Order() throws Exception + public I_C_Order getC_Order() throws RuntimeException { Class clazz = MTable.getClass(I_C_Order.Table_Name); I_C_Order result = null; @@ -140,7 +140,7 @@ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -168,8 +168,6 @@ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent return ii.intValue(); } - /** C_OrderPO_ID AD_Reference_ID=290 */ - public static final int C_ORDERPO_ID_AD_Reference_ID=290; /** Set Purchase Order. @param C_OrderPO_ID Purchase Order @@ -193,7 +191,7 @@ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent return ii.intValue(); } - public I_C_Project getC_Project() throws Exception + public I_C_Project getC_Project() throws RuntimeException { Class clazz = MTable.getClass(I_C_Project.Table_Name); I_C_Project result = null; @@ -204,7 +202,7 @@ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -231,7 +229,7 @@ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent return ii.intValue(); } - public I_C_ProjectIssue getC_ProjectIssue() throws Exception + public I_C_ProjectIssue getC_ProjectIssue() throws RuntimeException { Class clazz = MTable.getClass(I_C_ProjectIssue.Table_Name); I_C_ProjectIssue result = null; @@ -242,7 +240,7 @@ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -292,7 +290,7 @@ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent return ii.intValue(); } - public I_C_ProjectPhase getC_ProjectPhase() throws Exception + public I_C_ProjectPhase getC_ProjectPhase() throws RuntimeException { Class clazz = MTable.getClass(I_C_ProjectPhase.Table_Name); I_C_ProjectPhase result = null; @@ -303,7 +301,7 @@ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -331,7 +329,7 @@ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent return ii.intValue(); } - public I_C_ProjectTask getC_ProjectTask() throws Exception + public I_C_ProjectTask getC_ProjectTask() throws RuntimeException { Class clazz = MTable.getClass(I_C_ProjectTask.Table_Name); I_C_ProjectTask result = null; @@ -342,7 +340,7 @@ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -497,7 +495,7 @@ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getLine())); } - public I_M_Product_Category getM_Product_Category() throws Exception + 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; @@ -508,7 +506,7 @@ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -536,7 +534,7 @@ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent return ii.intValue(); } - public I_M_Product getM_Product() throws Exception + public I_M_Product getM_Product() throws RuntimeException { Class clazz = MTable.getClass(I_M_Product.Table_Name); I_M_Product result = null; @@ -547,7 +545,7 @@ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_ProjectPhase.java b/base/src/org/compiere/model/X_C_ProjectPhase.java index d89f166b8d..bda7da1b46 100644 --- a/base/src/org/compiere/model/X_C_ProjectPhase.java +++ b/base/src/org/compiere/model/X_C_ProjectPhase.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_ProjectPhase * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persistent { @@ -107,7 +107,7 @@ public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persiste return bd; } - public I_C_Order getC_Order() throws Exception + public I_C_Order getC_Order() throws RuntimeException { Class clazz = MTable.getClass(I_C_Order.Table_Name); I_C_Order result = null; @@ -118,7 +118,7 @@ public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -146,7 +146,7 @@ public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persiste return ii.intValue(); } - public I_C_Phase getC_Phase() throws Exception + public I_C_Phase getC_Phase() throws RuntimeException { Class clazz = MTable.getClass(I_C_Phase.Table_Name); I_C_Phase result = null; @@ -157,7 +157,7 @@ public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -185,7 +185,7 @@ public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persiste return ii.intValue(); } - public I_C_Project getC_Project() throws Exception + public I_C_Project getC_Project() throws RuntimeException { Class clazz = MTable.getClass(I_C_Project.Table_Name); I_C_Project result = null; @@ -196,7 +196,7 @@ public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -361,7 +361,7 @@ public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persiste return false; } - public I_M_Product getM_Product() throws Exception + public I_M_Product getM_Product() throws RuntimeException { Class clazz = MTable.getClass(I_M_Product.Table_Name); I_M_Product result = null; @@ -372,7 +372,7 @@ public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_ProjectTask.java b/base/src/org/compiere/model/X_C_ProjectTask.java index 18c8f9c11f..d1f7ae1f7e 100644 --- a/base/src/org/compiere/model/X_C_ProjectTask.java +++ b/base/src/org/compiere/model/X_C_ProjectTask.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_ProjectTask * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_ProjectTask extends PO implements I_C_ProjectTask, I_Persistent { @@ -104,7 +104,7 @@ public class X_C_ProjectTask extends PO implements I_C_ProjectTask, I_Persistent return bd; } - public I_C_ProjectPhase getC_ProjectPhase() throws Exception + public I_C_ProjectPhase getC_ProjectPhase() throws RuntimeException { Class clazz = MTable.getClass(I_C_ProjectPhase.Table_Name); I_C_ProjectPhase result = null; @@ -115,7 +115,7 @@ public class X_C_ProjectTask extends PO implements I_C_ProjectTask, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -164,7 +164,7 @@ public class X_C_ProjectTask extends PO implements I_C_ProjectTask, I_Persistent return ii.intValue(); } - public I_C_Task getC_Task() throws Exception + public I_C_Task getC_Task() throws RuntimeException { Class clazz = MTable.getClass(I_C_Task.Table_Name); I_C_Task result = null; @@ -175,7 +175,7 @@ public class X_C_ProjectTask extends PO implements I_C_ProjectTask, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -237,7 +237,7 @@ public class X_C_ProjectTask extends PO implements I_C_ProjectTask, I_Persistent return (String)get_Value(COLUMNNAME_Help); } - public I_M_Product getM_Product() throws Exception + public I_M_Product getM_Product() throws RuntimeException { Class clazz = MTable.getClass(I_M_Product.Table_Name); I_M_Product result = null; @@ -248,7 +248,7 @@ public class X_C_ProjectTask extends PO implements I_C_ProjectTask, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_ProjectType.java b/base/src/org/compiere/model/X_C_ProjectType.java index 268a4a28f6..46fe69408a 100644 --- a/base/src/org/compiere/model/X_C_ProjectType.java +++ b/base/src/org/compiere/model/X_C_ProjectType.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_ProjectType * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_ProjectType extends PO implements I_C_ProjectType, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_Project_Acct.java b/base/src/org/compiere/model/X_C_Project_Acct.java index 7ab3e01bd2..f583f53221 100644 --- a/base/src/org/compiere/model/X_C_Project_Acct.java +++ b/base/src/org/compiere/model/X_C_Project_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_Project_Acct * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Project_Acct extends PO implements I_C_Project_Acct, I_Persistent { @@ -74,7 +74,7 @@ public class X_C_Project_Acct extends PO implements I_C_Project_Acct, I_Persiste return sb.toString(); } - public I_C_AcctSchema getC_AcctSchema() throws Exception + public I_C_AcctSchema getC_AcctSchema() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); I_C_AcctSchema result = null; @@ -85,7 +85,7 @@ public class X_C_Project_Acct extends PO implements I_C_Project_Acct, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -112,7 +112,7 @@ public class X_C_Project_Acct extends PO implements I_C_Project_Acct, I_Persiste return ii.intValue(); } - public I_C_Project getC_Project() throws Exception + public I_C_Project getC_Project() throws RuntimeException { Class clazz = MTable.getClass(I_C_Project.Table_Name); I_C_Project result = null; @@ -123,7 +123,7 @@ public class X_C_Project_Acct extends PO implements I_C_Project_Acct, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_Recurring.java b/base/src/org/compiere/model/X_C_Recurring.java index 1a9719229d..92f40e5aad 100644 --- a/base/src/org/compiere/model/X_C_Recurring.java +++ b/base/src/org/compiere/model/X_C_Recurring.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Recurring * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Recurring extends PO implements I_C_Recurring, I_Persistent { @@ -80,7 +80,7 @@ public class X_C_Recurring extends PO implements I_C_Recurring, I_Persistent return sb.toString(); } - public I_C_Invoice getC_Invoice() throws Exception + public I_C_Invoice getC_Invoice() throws RuntimeException { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); I_C_Invoice result = null; @@ -91,7 +91,7 @@ public class X_C_Recurring extends PO implements I_C_Recurring, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -119,7 +119,7 @@ public class X_C_Recurring extends PO implements I_C_Recurring, I_Persistent return ii.intValue(); } - public I_C_Order getC_Order() throws Exception + public I_C_Order getC_Order() throws RuntimeException { Class clazz = MTable.getClass(I_C_Order.Table_Name); I_C_Order result = null; @@ -130,7 +130,7 @@ public class X_C_Recurring extends PO implements I_C_Recurring, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -158,7 +158,7 @@ public class X_C_Recurring extends PO implements I_C_Recurring, I_Persistent return ii.intValue(); } - public I_C_Payment getC_Payment() throws Exception + public I_C_Payment getC_Payment() throws RuntimeException { Class clazz = MTable.getClass(I_C_Payment.Table_Name); I_C_Payment result = null; @@ -169,7 +169,7 @@ public class X_C_Recurring extends PO implements I_C_Recurring, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -197,7 +197,7 @@ public class X_C_Recurring extends PO implements I_C_Recurring, I_Persistent return ii.intValue(); } - public I_C_Project getC_Project() throws Exception + public I_C_Project getC_Project() throws RuntimeException { Class clazz = MTable.getClass(I_C_Project.Table_Name); I_C_Project result = null; @@ -208,7 +208,7 @@ public class X_C_Recurring extends PO implements I_C_Recurring, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -359,7 +359,7 @@ public class X_C_Recurring extends PO implements I_C_Recurring, I_Persistent return (String)get_Value(COLUMNNAME_FrequencyType); } - public I_GL_JournalBatch getGL_JournalBatch() throws Exception + public I_GL_JournalBatch getGL_JournalBatch() throws RuntimeException { Class clazz = MTable.getClass(I_GL_JournalBatch.Table_Name); I_GL_JournalBatch result = null; @@ -370,7 +370,7 @@ public class X_C_Recurring extends PO implements I_C_Recurring, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_Recurring_Run.java b/base/src/org/compiere/model/X_C_Recurring_Run.java index 2b2e2044ea..373c28734e 100644 --- a/base/src/org/compiere/model/X_C_Recurring_Run.java +++ b/base/src/org/compiere/model/X_C_Recurring_Run.java @@ -25,7 +25,7 @@ import java.util.logging.Level; /** Generated Model for C_Recurring_Run * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Recurring_Run extends PO implements I_C_Recurring_Run, I_Persistent { @@ -73,7 +73,7 @@ public class X_C_Recurring_Run extends PO implements I_C_Recurring_Run, I_Persis return sb.toString(); } - public I_C_Invoice getC_Invoice() throws Exception + public I_C_Invoice getC_Invoice() throws RuntimeException { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); I_C_Invoice result = null; @@ -84,7 +84,7 @@ public class X_C_Recurring_Run extends PO implements I_C_Recurring_Run, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -112,7 +112,7 @@ public class X_C_Recurring_Run extends PO implements I_C_Recurring_Run, I_Persis return ii.intValue(); } - public I_C_Order getC_Order() throws Exception + public I_C_Order getC_Order() throws RuntimeException { Class clazz = MTable.getClass(I_C_Order.Table_Name); I_C_Order result = null; @@ -123,7 +123,7 @@ public class X_C_Recurring_Run extends PO implements I_C_Recurring_Run, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -151,7 +151,7 @@ public class X_C_Recurring_Run extends PO implements I_C_Recurring_Run, I_Persis return ii.intValue(); } - public I_C_Payment getC_Payment() throws Exception + public I_C_Payment getC_Payment() throws RuntimeException { Class clazz = MTable.getClass(I_C_Payment.Table_Name); I_C_Payment result = null; @@ -162,7 +162,7 @@ public class X_C_Recurring_Run extends PO implements I_C_Recurring_Run, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -190,7 +190,7 @@ public class X_C_Recurring_Run extends PO implements I_C_Recurring_Run, I_Persis return ii.intValue(); } - public I_C_Project getC_Project() throws Exception + public I_C_Project getC_Project() throws RuntimeException { Class clazz = MTable.getClass(I_C_Project.Table_Name); I_C_Project result = null; @@ -201,7 +201,7 @@ public class X_C_Recurring_Run extends PO implements I_C_Recurring_Run, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -229,7 +229,7 @@ public class X_C_Recurring_Run extends PO implements I_C_Recurring_Run, I_Persis return ii.intValue(); } - public I_C_Recurring getC_Recurring() throws Exception + public I_C_Recurring getC_Recurring() throws RuntimeException { Class clazz = MTable.getClass(I_C_Recurring.Table_Name); I_C_Recurring result = null; @@ -240,7 +240,7 @@ public class X_C_Recurring_Run extends PO implements I_C_Recurring_Run, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -306,7 +306,7 @@ public class X_C_Recurring_Run extends PO implements I_C_Recurring_Run, I_Persis return (Timestamp)get_Value(COLUMNNAME_DateDoc); } - public I_GL_JournalBatch getGL_JournalBatch() throws Exception + public I_GL_JournalBatch getGL_JournalBatch() throws RuntimeException { Class clazz = MTable.getClass(I_GL_JournalBatch.Table_Name); I_GL_JournalBatch result = null; @@ -317,7 +317,7 @@ public class X_C_Recurring_Run extends PO implements I_C_Recurring_Run, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_Region.java b/base/src/org/compiere/model/X_C_Region.java index 71c0d86044..fee6a55491 100644 --- a/base/src/org/compiere/model/X_C_Region.java +++ b/base/src/org/compiere/model/X_C_Region.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Region * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Region extends PO implements I_C_Region, I_Persistent { @@ -74,7 +74,7 @@ public class X_C_Region extends PO implements I_C_Region, I_Persistent return sb.toString(); } - public I_C_Country getC_Country() throws Exception + public I_C_Country getC_Country() throws RuntimeException { Class clazz = MTable.getClass(I_C_Country.Table_Name); I_C_Country result = null; @@ -85,7 +85,7 @@ public class X_C_Region extends PO implements I_C_Region, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_Remuneration.java b/base/src/org/compiere/model/X_C_Remuneration.java index ddbf56ba94..75e76260d6 100644 --- a/base/src/org/compiere/model/X_C_Remuneration.java +++ b/base/src/org/compiere/model/X_C_Remuneration.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Remuneration * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Remuneration extends PO implements I_C_Remuneration, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_RevenueRecognition.java b/base/src/org/compiere/model/X_C_RevenueRecognition.java index 7f7ef9f264..c3c1868e18 100644 --- a/base/src/org/compiere/model/X_C_RevenueRecognition.java +++ b/base/src/org/compiere/model/X_C_RevenueRecognition.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_RevenueRecognition * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_RevenueRecognition extends PO implements I_C_RevenueRecognition, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_RevenueRecognition_Plan.java b/base/src/org/compiere/model/X_C_RevenueRecognition_Plan.java index 3335c0041a..6661d36731 100644 --- a/base/src/org/compiere/model/X_C_RevenueRecognition_Plan.java +++ b/base/src/org/compiere/model/X_C_RevenueRecognition_Plan.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_RevenueRecognition_Plan * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_RevenueRecognition_Plan extends PO implements I_C_RevenueRecognition_Plan, I_Persistent { @@ -82,7 +82,7 @@ public class X_C_RevenueRecognition_Plan extends PO implements I_C_RevenueRecogn return sb.toString(); } - public I_C_AcctSchema getC_AcctSchema() throws Exception + public I_C_AcctSchema getC_AcctSchema() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); I_C_AcctSchema result = null; @@ -93,7 +93,7 @@ public class X_C_RevenueRecognition_Plan extends PO implements I_C_RevenueRecogn } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -120,7 +120,7 @@ public class X_C_RevenueRecognition_Plan extends PO implements I_C_RevenueRecogn return ii.intValue(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -131,7 +131,7 @@ public class X_C_RevenueRecognition_Plan extends PO implements I_C_RevenueRecogn } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -158,7 +158,7 @@ public class X_C_RevenueRecognition_Plan extends PO implements I_C_RevenueRecogn return ii.intValue(); } - public I_C_InvoiceLine getC_InvoiceLine() throws Exception + public I_C_InvoiceLine getC_InvoiceLine() throws RuntimeException { Class clazz = MTable.getClass(I_C_InvoiceLine.Table_Name); I_C_InvoiceLine result = null; @@ -169,7 +169,7 @@ public class X_C_RevenueRecognition_Plan extends PO implements I_C_RevenueRecogn } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -196,7 +196,7 @@ public class X_C_RevenueRecognition_Plan extends PO implements I_C_RevenueRecogn return ii.intValue(); } - public I_C_RevenueRecognition getC_RevenueRecognition() throws Exception + public I_C_RevenueRecognition getC_RevenueRecognition() throws RuntimeException { Class clazz = MTable.getClass(I_C_RevenueRecognition.Table_Name); I_C_RevenueRecognition result = null; @@ -207,7 +207,7 @@ public class X_C_RevenueRecognition_Plan extends PO implements I_C_RevenueRecogn } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_RevenueRecognition_Run.java b/base/src/org/compiere/model/X_C_RevenueRecognition_Run.java index e0fa45489e..1e60e5f435 100644 --- a/base/src/org/compiere/model/X_C_RevenueRecognition_Run.java +++ b/base/src/org/compiere/model/X_C_RevenueRecognition_Run.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_RevenueRecognition_Run * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_RevenueRecognition_Run extends PO implements I_C_RevenueRecognition_Run, I_Persistent { @@ -77,7 +77,7 @@ public class X_C_RevenueRecognition_Run extends PO implements I_C_RevenueRecogni return sb.toString(); } - public I_C_RevenueRecognition_Plan getC_RevenueRecognition_Plan() throws Exception + public I_C_RevenueRecognition_Plan getC_RevenueRecognition_Plan() throws RuntimeException { Class clazz = MTable.getClass(I_C_RevenueRecognition_Plan.Table_Name); I_C_RevenueRecognition_Plan result = null; @@ -88,7 +88,7 @@ public class X_C_RevenueRecognition_Run extends PO implements I_C_RevenueRecogni } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -145,7 +145,7 @@ public class X_C_RevenueRecognition_Run extends PO implements I_C_RevenueRecogni return ii.intValue(); } - public I_GL_Journal getGL_Journal() throws Exception + public I_GL_Journal getGL_Journal() throws RuntimeException { Class clazz = MTable.getClass(I_GL_Journal.Table_Name); I_GL_Journal result = null; @@ -156,7 +156,7 @@ public class X_C_RevenueRecognition_Run extends PO implements I_C_RevenueRecogni } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_RfQ.java b/base/src/org/compiere/model/X_C_RfQ.java index 03b59e1e42..da6c09a3cc 100644 --- a/base/src/org/compiere/model/X_C_RfQ.java +++ b/base/src/org/compiere/model/X_C_RfQ.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_RfQ * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent { @@ -92,7 +92,7 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent return sb.toString(); } - public I_AD_User getAD_User() throws Exception + public I_AD_User getAD_User() throws RuntimeException { Class clazz = MTable.getClass(I_AD_User.Table_Name); I_AD_User result = null; @@ -103,7 +103,7 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -131,7 +131,7 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent return ii.intValue(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -142,7 +142,7 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -170,7 +170,7 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent return ii.intValue(); } - public I_C_BPartner_Location getC_BPartner_Location() throws Exception + 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; @@ -181,7 +181,7 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -209,7 +209,7 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent return ii.intValue(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -220,7 +220,7 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -261,7 +261,7 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent return (String)get_Value(COLUMNNAME_CopyLines); } - public I_C_Order getC_Order() throws Exception + public I_C_Order getC_Order() throws RuntimeException { Class clazz = MTable.getClass(I_C_Order.Table_Name); I_C_Order result = null; @@ -272,7 +272,7 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -353,7 +353,7 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent return ii.intValue(); } - public I_C_RfQ_Topic getC_RfQ_Topic() throws Exception + public I_C_RfQ_Topic getC_RfQ_Topic() throws RuntimeException { Class clazz = MTable.getClass(I_C_RfQ_Topic.Table_Name); I_C_RfQ_Topic result = null; @@ -364,7 +364,7 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -783,8 +783,6 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent return (String)get_Value(COLUMNNAME_RankRfQ); } - /** SalesRep_ID AD_Reference_ID=190 */ - public static final int SALESREP_ID_AD_Reference_ID=190; /** Set Sales Representative. @param SalesRep_ID Sales Representative or Company Agent diff --git a/base/src/org/compiere/model/X_C_RfQLine.java b/base/src/org/compiere/model/X_C_RfQLine.java index 57e59b599a..2d9349065f 100644 --- a/base/src/org/compiere/model/X_C_RfQLine.java +++ b/base/src/org/compiere/model/X_C_RfQLine.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_RfQLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_RfQLine extends PO implements I_C_RfQLine, I_Persistent { @@ -77,7 +77,7 @@ public class X_C_RfQLine extends PO implements I_C_RfQLine, I_Persistent return sb.toString(); } - public I_C_RfQ getC_RfQ() throws Exception + public I_C_RfQ getC_RfQ() throws RuntimeException { Class clazz = MTable.getClass(I_C_RfQ.Table_Name); I_C_RfQ result = null; @@ -88,7 +88,7 @@ public class X_C_RfQLine extends PO implements I_C_RfQLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -275,7 +275,7 @@ public class X_C_RfQLine extends PO implements I_C_RfQLine, I_Persistent return ii.intValue(); } - public I_M_Product getM_Product() throws Exception + public I_M_Product getM_Product() throws RuntimeException { Class clazz = MTable.getClass(I_M_Product.Table_Name); I_M_Product result = null; @@ -286,7 +286,7 @@ public class X_C_RfQLine extends PO implements I_C_RfQLine, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_RfQLineQty.java b/base/src/org/compiere/model/X_C_RfQLineQty.java index fb85f8e160..d3d68d159a 100644 --- a/base/src/org/compiere/model/X_C_RfQLineQty.java +++ b/base/src/org/compiere/model/X_C_RfQLineQty.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_RfQLineQty * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_RfQLineQty extends PO implements I_C_RfQLineQty, I_Persistent { @@ -125,7 +125,7 @@ public class X_C_RfQLineQty extends PO implements I_C_RfQLineQty, I_Persistent return bd; } - public I_C_RfQLine getC_RfQLine() throws Exception + public I_C_RfQLine getC_RfQLine() throws RuntimeException { Class clazz = MTable.getClass(I_C_RfQLine.Table_Name); I_C_RfQLine result = null; @@ -136,7 +136,7 @@ public class X_C_RfQLineQty extends PO implements I_C_RfQLineQty, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -185,7 +185,7 @@ public class X_C_RfQLineQty extends PO implements I_C_RfQLineQty, I_Persistent return ii.intValue(); } - public I_C_UOM getC_UOM() throws Exception + public I_C_UOM getC_UOM() throws RuntimeException { Class clazz = MTable.getClass(I_C_UOM.Table_Name); I_C_UOM result = null; @@ -196,7 +196,7 @@ public class X_C_RfQLineQty extends PO implements I_C_RfQLineQty, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_RfQResponse.java b/base/src/org/compiere/model/X_C_RfQResponse.java index 77925972f6..1a58810e07 100644 --- a/base/src/org/compiere/model/X_C_RfQResponse.java +++ b/base/src/org/compiere/model/X_C_RfQResponse.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_RfQResponse * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent { @@ -86,7 +86,7 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent return sb.toString(); } - public I_AD_User getAD_User() throws Exception + public I_AD_User getAD_User() throws RuntimeException { Class clazz = MTable.getClass(I_AD_User.Table_Name); I_AD_User result = null; @@ -97,7 +97,7 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -125,7 +125,7 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent return ii.intValue(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -136,7 +136,7 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -163,7 +163,7 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent return ii.intValue(); } - public I_C_BPartner_Location getC_BPartner_Location() throws Exception + 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; @@ -174,7 +174,7 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -201,7 +201,7 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent return ii.intValue(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -212,7 +212,7 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -253,7 +253,7 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent return (String)get_Value(COLUMNNAME_CheckComplete); } - public I_C_Order getC_Order() throws Exception + public I_C_Order getC_Order() throws RuntimeException { Class clazz = MTable.getClass(I_C_Order.Table_Name); I_C_Order result = null; @@ -264,7 +264,7 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -292,7 +292,7 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent return ii.intValue(); } - public I_C_RfQ getC_RfQ() throws Exception + public I_C_RfQ getC_RfQ() throws RuntimeException { Class clazz = MTable.getClass(I_C_RfQ.Table_Name); I_C_RfQ result = null; @@ -303,7 +303,7 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_RfQResponseLine.java b/base/src/org/compiere/model/X_C_RfQResponseLine.java index d88ea5123a..4c9a4d0f90 100644 --- a/base/src/org/compiere/model/X_C_RfQResponseLine.java +++ b/base/src/org/compiere/model/X_C_RfQResponseLine.java @@ -25,7 +25,7 @@ import java.util.logging.Level; /** Generated Model for C_RfQResponseLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_RfQResponseLine extends PO implements I_C_RfQResponseLine, I_Persistent { @@ -76,7 +76,7 @@ public class X_C_RfQResponseLine extends PO implements I_C_RfQResponseLine, I_Pe return sb.toString(); } - public I_C_RfQLine getC_RfQLine() throws Exception + public I_C_RfQLine getC_RfQLine() throws RuntimeException { Class clazz = MTable.getClass(I_C_RfQLine.Table_Name); I_C_RfQLine result = null; @@ -87,7 +87,7 @@ public class X_C_RfQResponseLine extends PO implements I_C_RfQResponseLine, I_Pe } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -114,7 +114,7 @@ public class X_C_RfQResponseLine extends PO implements I_C_RfQResponseLine, I_Pe return ii.intValue(); } - public I_C_RfQResponse getC_RfQResponse() throws Exception + public I_C_RfQResponse getC_RfQResponse() throws RuntimeException { Class clazz = MTable.getClass(I_C_RfQResponse.Table_Name); I_C_RfQResponse result = null; @@ -125,7 +125,7 @@ public class X_C_RfQResponseLine extends PO implements I_C_RfQResponseLine, I_Pe } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_RfQResponseLineQty.java b/base/src/org/compiere/model/X_C_RfQResponseLineQty.java index 84eeba0e0e..ab34f5b5cd 100644 --- a/base/src/org/compiere/model/X_C_RfQResponseLineQty.java +++ b/base/src/org/compiere/model/X_C_RfQResponseLineQty.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_RfQResponseLineQty * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_RfQResponseLineQty extends PO implements I_C_RfQResponseLineQty, I_Persistent { @@ -77,7 +77,7 @@ public class X_C_RfQResponseLineQty extends PO implements I_C_RfQResponseLineQty return sb.toString(); } - public I_C_RfQLineQty getC_RfQLineQty() throws Exception + public I_C_RfQLineQty getC_RfQLineQty() throws RuntimeException { Class clazz = MTable.getClass(I_C_RfQLineQty.Table_Name); I_C_RfQLineQty result = null; @@ -88,7 +88,7 @@ public class X_C_RfQResponseLineQty extends PO implements I_C_RfQResponseLineQty } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -115,7 +115,7 @@ public class X_C_RfQResponseLineQty extends PO implements I_C_RfQResponseLineQty return ii.intValue(); } - public I_C_RfQResponseLine getC_RfQResponseLine() throws Exception + public I_C_RfQResponseLine getC_RfQResponseLine() throws RuntimeException { Class clazz = MTable.getClass(I_C_RfQResponseLine.Table_Name); I_C_RfQResponseLine result = null; @@ -126,7 +126,7 @@ public class X_C_RfQResponseLineQty extends PO implements I_C_RfQResponseLineQty } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_RfQ_Topic.java b/base/src/org/compiere/model/X_C_RfQ_Topic.java index 8f79c0710a..d86441aeab 100644 --- a/base/src/org/compiere/model/X_C_RfQ_Topic.java +++ b/base/src/org/compiere/model/X_C_RfQ_Topic.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_RfQ_Topic * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_RfQ_Topic extends PO implements I_C_RfQ_Topic, I_Persistent { @@ -74,7 +74,7 @@ public class X_C_RfQ_Topic extends PO implements I_C_RfQ_Topic, I_Persistent return sb.toString(); } - public I_AD_PrintFormat getAD_PrintFormat() throws Exception + public I_AD_PrintFormat getAD_PrintFormat() throws RuntimeException { Class clazz = MTable.getClass(I_AD_PrintFormat.Table_Name); I_AD_PrintFormat result = null; @@ -85,7 +85,7 @@ public class X_C_RfQ_Topic extends PO implements I_C_RfQ_Topic, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_RfQ_TopicSubscriber.java b/base/src/org/compiere/model/X_C_RfQ_TopicSubscriber.java index cf7a4c2a45..0e65e9ab7c 100644 --- a/base/src/org/compiere/model/X_C_RfQ_TopicSubscriber.java +++ b/base/src/org/compiere/model/X_C_RfQ_TopicSubscriber.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_RfQ_TopicSubscriber * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_RfQ_TopicSubscriber extends PO implements I_C_RfQ_TopicSubscriber, I_Persistent { @@ -76,7 +76,7 @@ public class X_C_RfQ_TopicSubscriber extends PO implements I_C_RfQ_TopicSubscrib return sb.toString(); } - public I_AD_User getAD_User() throws Exception + public I_AD_User getAD_User() throws RuntimeException { Class clazz = MTable.getClass(I_AD_User.Table_Name); I_AD_User result = null; @@ -87,7 +87,7 @@ public class X_C_RfQ_TopicSubscriber extends PO implements I_C_RfQ_TopicSubscrib } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -115,7 +115,7 @@ public class X_C_RfQ_TopicSubscriber extends PO implements I_C_RfQ_TopicSubscrib return ii.intValue(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -126,7 +126,7 @@ public class X_C_RfQ_TopicSubscriber extends PO implements I_C_RfQ_TopicSubscrib } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -153,7 +153,7 @@ public class X_C_RfQ_TopicSubscriber extends PO implements I_C_RfQ_TopicSubscrib return ii.intValue(); } - public I_C_BPartner_Location getC_BPartner_Location() throws Exception + 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; @@ -164,7 +164,7 @@ public class X_C_RfQ_TopicSubscriber extends PO implements I_C_RfQ_TopicSubscrib } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -191,7 +191,7 @@ public class X_C_RfQ_TopicSubscriber extends PO implements I_C_RfQ_TopicSubscrib return ii.intValue(); } - public I_C_RfQ_Topic getC_RfQ_Topic() throws Exception + public I_C_RfQ_Topic getC_RfQ_Topic() throws RuntimeException { Class clazz = MTable.getClass(I_C_RfQ_Topic.Table_Name); I_C_RfQ_Topic result = null; @@ -202,7 +202,7 @@ public class X_C_RfQ_TopicSubscriber extends PO implements I_C_RfQ_TopicSubscrib } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_RfQ_TopicSubscriberOnly.java b/base/src/org/compiere/model/X_C_RfQ_TopicSubscriberOnly.java index e5878addf5..0248f1415b 100644 --- a/base/src/org/compiere/model/X_C_RfQ_TopicSubscriberOnly.java +++ b/base/src/org/compiere/model/X_C_RfQ_TopicSubscriberOnly.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_RfQ_TopicSubscriberOnly * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_RfQ_TopicSubscriberOnly extends PO implements I_C_RfQ_TopicSubscriberOnly, I_Persistent { @@ -73,7 +73,7 @@ public class X_C_RfQ_TopicSubscriberOnly extends PO implements I_C_RfQ_TopicSubs return sb.toString(); } - public I_C_RfQ_TopicSubscriber getC_RfQ_TopicSubscriber() throws Exception + public I_C_RfQ_TopicSubscriber getC_RfQ_TopicSubscriber() throws RuntimeException { Class clazz = MTable.getClass(I_C_RfQ_TopicSubscriber.Table_Name); I_C_RfQ_TopicSubscriber result = null; @@ -84,7 +84,7 @@ public class X_C_RfQ_TopicSubscriberOnly extends PO implements I_C_RfQ_TopicSubs } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -150,7 +150,7 @@ public class X_C_RfQ_TopicSubscriberOnly extends PO implements I_C_RfQ_TopicSubs return (String)get_Value(COLUMNNAME_Description); } - public I_M_Product_Category getM_Product_Category() throws Exception + 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; @@ -161,7 +161,7 @@ public class X_C_RfQ_TopicSubscriberOnly extends PO implements I_C_RfQ_TopicSubs } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -197,7 +197,7 @@ public class X_C_RfQ_TopicSubscriberOnly extends PO implements I_C_RfQ_TopicSubs return new KeyNamePair(get_ID(), String.valueOf(getM_Product_Category_ID())); } - public I_M_Product getM_Product() throws Exception + public I_M_Product getM_Product() throws RuntimeException { Class clazz = MTable.getClass(I_M_Product.Table_Name); I_M_Product result = null; @@ -208,7 +208,7 @@ public class X_C_RfQ_TopicSubscriberOnly extends PO implements I_C_RfQ_TopicSubs } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_SalesRegion.java b/base/src/org/compiere/model/X_C_SalesRegion.java index 932aaf70de..6fb685ca9d 100644 --- a/base/src/org/compiere/model/X_C_SalesRegion.java +++ b/base/src/org/compiere/model/X_C_SalesRegion.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_SalesRegion * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_SalesRegion extends PO implements I_C_SalesRegion, I_Persistent { @@ -188,8 +188,6 @@ public class X_C_SalesRegion extends PO implements I_C_SalesRegion, I_Persistent return new KeyNamePair(get_ID(), getName()); } - /** SalesRep_ID AD_Reference_ID=190 */ - public static final int SALESREP_ID_AD_Reference_ID=190; /** Set Sales Representative. @param SalesRep_ID Sales Representative or Company Agent diff --git a/base/src/org/compiere/model/X_C_ServiceLevel.java b/base/src/org/compiere/model/X_C_ServiceLevel.java index 07e34e2b0f..f8b8e8bab7 100644 --- a/base/src/org/compiere/model/X_C_ServiceLevel.java +++ b/base/src/org/compiere/model/X_C_ServiceLevel.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_ServiceLevel * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_ServiceLevel extends PO implements I_C_ServiceLevel, I_Persistent { @@ -78,7 +78,7 @@ public class X_C_ServiceLevel extends PO implements I_C_ServiceLevel, I_Persiste return sb.toString(); } - public I_C_RevenueRecognition_Plan getC_RevenueRecognition_Plan() throws Exception + public I_C_RevenueRecognition_Plan getC_RevenueRecognition_Plan() throws RuntimeException { Class clazz = MTable.getClass(I_C_RevenueRecognition_Plan.Table_Name); I_C_RevenueRecognition_Plan result = null; @@ -89,7 +89,7 @@ public class X_C_ServiceLevel extends PO implements I_C_ServiceLevel, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -163,7 +163,7 @@ public class X_C_ServiceLevel extends PO implements I_C_ServiceLevel, I_Persiste return new KeyNamePair(get_ID(), getDescription()); } - public I_M_Product getM_Product() throws Exception + public I_M_Product getM_Product() throws RuntimeException { Class clazz = MTable.getClass(I_M_Product.Table_Name); I_M_Product result = null; @@ -174,7 +174,7 @@ public class X_C_ServiceLevel extends PO implements I_C_ServiceLevel, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_ServiceLevelLine.java b/base/src/org/compiere/model/X_C_ServiceLevelLine.java index 6b0631086e..312e95c20d 100644 --- a/base/src/org/compiere/model/X_C_ServiceLevelLine.java +++ b/base/src/org/compiere/model/X_C_ServiceLevelLine.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_ServiceLevelLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_ServiceLevelLine extends PO implements I_C_ServiceLevelLine, I_Persistent { @@ -78,7 +78,7 @@ public class X_C_ServiceLevelLine extends PO implements I_C_ServiceLevelLine, I_ return sb.toString(); } - public I_C_ServiceLevel getC_ServiceLevel() throws Exception + public I_C_ServiceLevel getC_ServiceLevel() throws RuntimeException { Class clazz = MTable.getClass(I_C_ServiceLevel.Table_Name); I_C_ServiceLevel result = null; @@ -89,7 +89,7 @@ public class X_C_ServiceLevelLine extends PO implements I_C_ServiceLevelLine, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_SubAcct.java b/base/src/org/compiere/model/X_C_SubAcct.java index a804834913..5efacd662a 100644 --- a/base/src/org/compiere/model/X_C_SubAcct.java +++ b/base/src/org/compiere/model/X_C_SubAcct.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_SubAcct * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_SubAcct extends PO implements I_C_SubAcct, I_Persistent { @@ -75,7 +75,7 @@ public class X_C_SubAcct extends PO implements I_C_SubAcct, I_Persistent return sb.toString(); } - public I_C_ElementValue getC_ElementValue() throws Exception + public I_C_ElementValue getC_ElementValue() throws RuntimeException { Class clazz = MTable.getClass(I_C_ElementValue.Table_Name); I_C_ElementValue result = null; @@ -86,7 +86,7 @@ public class X_C_SubAcct extends PO implements I_C_SubAcct, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_Subscription.java b/base/src/org/compiere/model/X_C_Subscription.java index e4e69a8b23..ee3146cd00 100644 --- a/base/src/org/compiere/model/X_C_Subscription.java +++ b/base/src/org/compiere/model/X_C_Subscription.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Subscription * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Subscription extends PO implements I_C_Subscription, I_Persistent { @@ -81,7 +81,7 @@ public class X_C_Subscription extends PO implements I_C_Subscription, I_Persiste return sb.toString(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -92,7 +92,7 @@ public class X_C_Subscription extends PO implements I_C_Subscription, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -141,7 +141,7 @@ public class X_C_Subscription extends PO implements I_C_Subscription, I_Persiste return ii.intValue(); } - public I_C_SubscriptionType getC_SubscriptionType() throws Exception + public I_C_SubscriptionType getC_SubscriptionType() throws RuntimeException { Class clazz = MTable.getClass(I_C_SubscriptionType.Table_Name); I_C_SubscriptionType result = null; @@ -152,7 +152,7 @@ public class X_C_Subscription extends PO implements I_C_Subscription, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -203,7 +203,7 @@ public class X_C_Subscription extends PO implements I_C_Subscription, I_Persiste return false; } - public I_M_Product getM_Product() throws Exception + public I_M_Product getM_Product() throws RuntimeException { Class clazz = MTable.getClass(I_M_Product.Table_Name); I_M_Product result = null; @@ -214,7 +214,7 @@ public class X_C_Subscription extends PO implements I_C_Subscription, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_SubscriptionType.java b/base/src/org/compiere/model/X_C_SubscriptionType.java index 620ab0a68c..7d86223e8f 100644 --- a/base/src/org/compiere/model/X_C_SubscriptionType.java +++ b/base/src/org/compiere/model/X_C_SubscriptionType.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_SubscriptionType * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_SubscriptionType extends PO implements I_C_SubscriptionType, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_Subscription_Delivery.java b/base/src/org/compiere/model/X_C_Subscription_Delivery.java index aef4801e4c..c597711dfe 100644 --- a/base/src/org/compiere/model/X_C_Subscription_Delivery.java +++ b/base/src/org/compiere/model/X_C_Subscription_Delivery.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Subscription_Delivery * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Subscription_Delivery extends PO implements I_C_Subscription_Delivery, I_Persistent { @@ -103,7 +103,7 @@ public class X_C_Subscription_Delivery extends PO implements I_C_Subscription_De return new KeyNamePair(get_ID(), String.valueOf(getC_Subscription_Delivery_ID())); } - public I_C_Subscription getC_Subscription() throws Exception + public I_C_Subscription getC_Subscription() throws RuntimeException { Class clazz = MTable.getClass(I_C_Subscription.Table_Name); I_C_Subscription result = null; @@ -114,7 +114,7 @@ public class X_C_Subscription_Delivery extends PO implements I_C_Subscription_De } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_Task.java b/base/src/org/compiere/model/X_C_Task.java index be7e891733..7fef33f456 100644 --- a/base/src/org/compiere/model/X_C_Task.java +++ b/base/src/org/compiere/model/X_C_Task.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Task * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Task extends PO implements I_C_Task, I_Persistent { @@ -80,7 +80,7 @@ public class X_C_Task extends PO implements I_C_Task, I_Persistent return sb.toString(); } - public I_C_Phase getC_Phase() throws Exception + public I_C_Phase getC_Phase() throws RuntimeException { Class clazz = MTable.getClass(I_C_Phase.Table_Name); I_C_Phase result = null; @@ -91,7 +91,7 @@ public class X_C_Task extends PO implements I_C_Task, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -174,7 +174,7 @@ public class X_C_Task extends PO implements I_C_Task, I_Persistent return (String)get_Value(COLUMNNAME_Help); } - public I_M_Product getM_Product() throws Exception + public I_M_Product getM_Product() throws RuntimeException { Class clazz = MTable.getClass(I_M_Product.Table_Name); I_M_Product result = null; @@ -185,7 +185,7 @@ public class X_C_Task extends PO implements I_C_Task, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_Tax.java b/base/src/org/compiere/model/X_C_Tax.java index 5edc40267c..14578bb1b5 100644 --- a/base/src/org/compiere/model/X_C_Tax.java +++ b/base/src/org/compiere/model/X_C_Tax.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Tax * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent { @@ -88,7 +88,7 @@ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent return sb.toString(); } - public I_AD_Rule getAD_Rule() throws Exception + public I_AD_Rule getAD_Rule() throws RuntimeException { Class clazz = MTable.getClass(I_AD_Rule.Table_Name); I_AD_Rule result = null; @@ -99,7 +99,7 @@ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -124,8 +124,6 @@ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent return ii.intValue(); } - /** C_Country_ID AD_Reference_ID=156 */ - public static final int C_COUNTRY_ID_AD_Reference_ID=156; /** Set Country. @param C_Country_ID Country @@ -149,8 +147,6 @@ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent return ii.intValue(); } - /** C_Region_ID AD_Reference_ID=157 */ - public static final int C_REGION_ID_AD_Reference_ID=157; /** Set Region. @param C_Region_ID Identifies a geographical Region @@ -174,7 +170,7 @@ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent return ii.intValue(); } - public I_C_TaxCategory getC_TaxCategory() throws Exception + public I_C_TaxCategory getC_TaxCategory() throws RuntimeException { Class clazz = MTable.getClass(I_C_TaxCategory.Table_Name); I_C_TaxCategory result = null; @@ -185,7 +181,7 @@ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -398,8 +394,6 @@ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent return new KeyNamePair(get_ID(), getName()); } - /** Parent_Tax_ID AD_Reference_ID=158 */ - public static final int PARENT_TAX_ID_AD_Reference_ID=158; /** Set Parent Tax. @param Parent_Tax_ID Parent Tax indicates a tax that is made up of multiple taxes @@ -512,8 +506,6 @@ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent return (String)get_Value(COLUMNNAME_TaxIndicator); } - /** To_Country_ID AD_Reference_ID=156 */ - public static final int TO_COUNTRY_ID_AD_Reference_ID=156; /** Set To. @param To_Country_ID Receiving Country @@ -537,8 +529,6 @@ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent return ii.intValue(); } - /** To_Region_ID AD_Reference_ID=157 */ - public static final int TO_REGION_ID_AD_Reference_ID=157; /** Set To. @param To_Region_ID Receiving Region diff --git a/base/src/org/compiere/model/X_C_TaxCategory.java b/base/src/org/compiere/model/X_C_TaxCategory.java index cd8fc12ad0..6a7ccefd3b 100644 --- a/base/src/org/compiere/model/X_C_TaxCategory.java +++ b/base/src/org/compiere/model/X_C_TaxCategory.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_TaxCategory * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_TaxCategory extends PO implements I_C_TaxCategory, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_TaxDeclaration.java b/base/src/org/compiere/model/X_C_TaxDeclaration.java index dfecf50752..9376119d45 100644 --- a/base/src/org/compiere/model/X_C_TaxDeclaration.java +++ b/base/src/org/compiere/model/X_C_TaxDeclaration.java @@ -24,7 +24,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_TaxDeclaration * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_TaxDeclaration extends PO implements I_C_TaxDeclaration, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_TaxDeclarationAcct.java b/base/src/org/compiere/model/X_C_TaxDeclarationAcct.java index 9992cb89e4..1822b355f6 100644 --- a/base/src/org/compiere/model/X_C_TaxDeclarationAcct.java +++ b/base/src/org/compiere/model/X_C_TaxDeclarationAcct.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for C_TaxDeclarationAcct * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_TaxDeclarationAcct extends PO implements I_C_TaxDeclarationAcct, I_Persistent { @@ -77,8 +77,6 @@ public class X_C_TaxDeclarationAcct extends PO implements I_C_TaxDeclarationAcct return sb.toString(); } - /** Account_ID AD_Reference_ID=331 */ - public static final int ACCOUNT_ID_AD_Reference_ID=331; /** Set Account. @param Account_ID Account used @@ -174,7 +172,7 @@ public class X_C_TaxDeclarationAcct extends PO implements I_C_TaxDeclarationAcct return bd; } - public I_C_AcctSchema getC_AcctSchema() throws Exception + public I_C_AcctSchema getC_AcctSchema() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); I_C_AcctSchema result = null; @@ -185,7 +183,7 @@ public class X_C_TaxDeclarationAcct extends PO implements I_C_TaxDeclarationAcct } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -212,7 +210,7 @@ public class X_C_TaxDeclarationAcct extends PO implements I_C_TaxDeclarationAcct return ii.intValue(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -223,7 +221,7 @@ public class X_C_TaxDeclarationAcct extends PO implements I_C_TaxDeclarationAcct } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -247,7 +245,7 @@ public class X_C_TaxDeclarationAcct extends PO implements I_C_TaxDeclarationAcct return ii.intValue(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -258,7 +256,7 @@ public class X_C_TaxDeclarationAcct extends PO implements I_C_TaxDeclarationAcct } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -304,7 +302,7 @@ public class X_C_TaxDeclarationAcct extends PO implements I_C_TaxDeclarationAcct return ii.intValue(); } - public I_C_TaxDeclaration getC_TaxDeclaration() throws Exception + public I_C_TaxDeclaration getC_TaxDeclaration() throws RuntimeException { Class clazz = MTable.getClass(I_C_TaxDeclaration.Table_Name); I_C_TaxDeclaration result = null; @@ -315,7 +313,7 @@ public class X_C_TaxDeclarationAcct extends PO implements I_C_TaxDeclarationAcct } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -342,7 +340,7 @@ public class X_C_TaxDeclarationAcct extends PO implements I_C_TaxDeclarationAcct return ii.intValue(); } - public I_C_Tax getC_Tax() throws Exception + public I_C_Tax getC_Tax() throws RuntimeException { Class clazz = MTable.getClass(I_C_Tax.Table_Name); I_C_Tax result = null; @@ -353,7 +351,7 @@ public class X_C_TaxDeclarationAcct extends PO implements I_C_TaxDeclarationAcct } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -410,7 +408,7 @@ public class X_C_TaxDeclarationAcct extends PO implements I_C_TaxDeclarationAcct return (String)get_Value(COLUMNNAME_Description); } - public I_Fact_Acct getFact_Acct() throws Exception + public I_Fact_Acct getFact_Acct() throws RuntimeException { Class clazz = MTable.getClass(I_Fact_Acct.Table_Name); I_Fact_Acct result = null; @@ -421,7 +419,7 @@ public class X_C_TaxDeclarationAcct extends PO implements I_C_TaxDeclarationAcct } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_TaxDeclarationLine.java b/base/src/org/compiere/model/X_C_TaxDeclarationLine.java index e0b0678ad6..b5e6edf58a 100644 --- a/base/src/org/compiere/model/X_C_TaxDeclarationLine.java +++ b/base/src/org/compiere/model/X_C_TaxDeclarationLine.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for C_TaxDeclarationLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine, I_Persistent { @@ -84,7 +84,7 @@ public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine return sb.toString(); } - public I_C_AllocationLine getC_AllocationLine() throws Exception + public I_C_AllocationLine getC_AllocationLine() throws RuntimeException { Class clazz = MTable.getClass(I_C_AllocationLine.Table_Name); I_C_AllocationLine result = null; @@ -95,7 +95,7 @@ public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -123,7 +123,7 @@ public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine return ii.intValue(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -134,7 +134,7 @@ public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -161,7 +161,7 @@ public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine return ii.intValue(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -172,7 +172,7 @@ public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -199,7 +199,7 @@ public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine return ii.intValue(); } - public I_C_Invoice getC_Invoice() throws Exception + public I_C_Invoice getC_Invoice() throws RuntimeException { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); I_C_Invoice result = null; @@ -210,7 +210,7 @@ public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -238,7 +238,7 @@ public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine return ii.intValue(); } - public I_C_InvoiceLine getC_InvoiceLine() throws Exception + public I_C_InvoiceLine getC_InvoiceLine() throws RuntimeException { Class clazz = MTable.getClass(I_C_InvoiceLine.Table_Name); I_C_InvoiceLine result = null; @@ -249,7 +249,7 @@ public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -277,7 +277,7 @@ public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine return ii.intValue(); } - public I_C_TaxDeclaration getC_TaxDeclaration() throws Exception + public I_C_TaxDeclaration getC_TaxDeclaration() throws RuntimeException { Class clazz = MTable.getClass(I_C_TaxDeclaration.Table_Name); I_C_TaxDeclaration result = null; @@ -288,7 +288,7 @@ public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -337,7 +337,7 @@ public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine return ii.intValue(); } - public I_C_Tax getC_Tax() throws Exception + public I_C_Tax getC_Tax() throws RuntimeException { Class clazz = MTable.getClass(I_C_Tax.Table_Name); I_C_Tax result = null; @@ -348,7 +348,7 @@ public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_TaxPostal.java b/base/src/org/compiere/model/X_C_TaxPostal.java index e74ef34ea3..711287ae4e 100644 --- a/base/src/org/compiere/model/X_C_TaxPostal.java +++ b/base/src/org/compiere/model/X_C_TaxPostal.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_TaxPostal * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_TaxPostal extends PO implements I_C_TaxPostal, I_Persistent { @@ -74,7 +74,7 @@ public class X_C_TaxPostal extends PO implements I_C_TaxPostal, I_Persistent return sb.toString(); } - public I_C_Tax getC_Tax() throws Exception + public I_C_Tax getC_Tax() throws RuntimeException { Class clazz = MTable.getClass(I_C_Tax.Table_Name); I_C_Tax result = null; @@ -85,7 +85,7 @@ public class X_C_TaxPostal extends PO implements I_C_TaxPostal, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_Tax_Acct.java b/base/src/org/compiere/model/X_C_Tax_Acct.java index 974ea46409..721fba97b3 100644 --- a/base/src/org/compiere/model/X_C_Tax_Acct.java +++ b/base/src/org/compiere/model/X_C_Tax_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_Tax_Acct * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Tax_Acct extends PO implements I_C_Tax_Acct, I_Persistent { @@ -77,7 +77,7 @@ public class X_C_Tax_Acct extends PO implements I_C_Tax_Acct, I_Persistent return sb.toString(); } - public I_C_AcctSchema getC_AcctSchema() throws Exception + public I_C_AcctSchema getC_AcctSchema() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); I_C_AcctSchema result = null; @@ -88,7 +88,7 @@ public class X_C_Tax_Acct extends PO implements I_C_Tax_Acct, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -115,7 +115,7 @@ public class X_C_Tax_Acct extends PO implements I_C_Tax_Acct, I_Persistent return ii.intValue(); } - public I_C_Tax getC_Tax() throws Exception + public I_C_Tax getC_Tax() throws RuntimeException { Class clazz = MTable.getClass(I_C_Tax.Table_Name); I_C_Tax result = null; @@ -126,7 +126,7 @@ public class X_C_Tax_Acct extends PO implements I_C_Tax_Acct, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_UOM.java b/base/src/org/compiere/model/X_C_UOM.java index 89fdab30d8..4a4377e044 100644 --- a/base/src/org/compiere/model/X_C_UOM.java +++ b/base/src/org/compiere/model/X_C_UOM.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_UOM * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_UOM extends PO implements I_C_UOM, I_Persistent { diff --git a/base/src/org/compiere/model/X_C_UOM_Conversion.java b/base/src/org/compiere/model/X_C_UOM_Conversion.java index b4431d99c1..0b8a3a3056 100644 --- a/base/src/org/compiere/model/X_C_UOM_Conversion.java +++ b/base/src/org/compiere/model/X_C_UOM_Conversion.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_UOM_Conversion * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_UOM_Conversion extends PO implements I_C_UOM_Conversion, I_Persistent { @@ -108,9 +108,7 @@ public class X_C_UOM_Conversion extends PO implements I_C_UOM_Conversion, I_Pers return new KeyNamePair(get_ID(), String.valueOf(getC_UOM_Conversion_ID())); } - /** C_UOM_ID AD_Reference_ID=114 */ - public static final int C_UOM_ID_AD_Reference_ID=114; - public I_C_UOM getC_UOM() throws Exception + public I_C_UOM getC_UOM() throws RuntimeException { Class clazz = MTable.getClass(I_C_UOM.Table_Name); I_C_UOM result = null; @@ -121,7 +119,7 @@ public class X_C_UOM_Conversion extends PO implements I_C_UOM_Conversion, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -148,8 +146,6 @@ public class X_C_UOM_Conversion extends PO implements I_C_UOM_Conversion, I_Pers return ii.intValue(); } - /** C_UOM_To_ID AD_Reference_ID=114 */ - public static final int C_UOM_TO_ID_AD_Reference_ID=114; /** Set UoM To. @param C_UOM_To_ID Target or destination Unit of Measure @@ -194,7 +190,7 @@ public class X_C_UOM_Conversion extends PO implements I_C_UOM_Conversion, I_Pers return bd; } - public I_M_Product getM_Product() throws Exception + public I_M_Product getM_Product() throws RuntimeException { Class clazz = MTable.getClass(I_M_Product.Table_Name); I_M_Product result = null; @@ -205,7 +201,7 @@ public class X_C_UOM_Conversion extends PO implements I_C_UOM_Conversion, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_UserRemuneration.java b/base/src/org/compiere/model/X_C_UserRemuneration.java index 5bc3850393..be649b766b 100644 --- a/base/src/org/compiere/model/X_C_UserRemuneration.java +++ b/base/src/org/compiere/model/X_C_UserRemuneration.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_UserRemuneration * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_UserRemuneration extends PO implements I_C_UserRemuneration, I_Persistent { @@ -82,7 +82,7 @@ public class X_C_UserRemuneration extends PO implements I_C_UserRemuneration, I_ return sb.toString(); } - public I_AD_User getAD_User() throws Exception + public I_AD_User getAD_User() throws RuntimeException { Class clazz = MTable.getClass(I_AD_User.Table_Name); I_AD_User result = null; @@ -93,7 +93,7 @@ public class X_C_UserRemuneration extends PO implements I_C_UserRemuneration, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -128,7 +128,7 @@ public class X_C_UserRemuneration extends PO implements I_C_UserRemuneration, I_ return new KeyNamePair(get_ID(), String.valueOf(getAD_User_ID())); } - public I_C_Remuneration getC_Remuneration() throws Exception + public I_C_Remuneration getC_Remuneration() throws RuntimeException { Class clazz = MTable.getClass(I_C_Remuneration.Table_Name); I_C_Remuneration result = null; @@ -139,7 +139,7 @@ public class X_C_UserRemuneration extends PO implements I_C_UserRemuneration, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_ValidCombination.java b/base/src/org/compiere/model/X_C_ValidCombination.java index 3f1441ea17..eb13dfc484 100644 --- a/base/src/org/compiere/model/X_C_ValidCombination.java +++ b/base/src/org/compiere/model/X_C_ValidCombination.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_ValidCombination * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_Persistent { @@ -75,8 +75,6 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ return sb.toString(); } - /** Account_ID AD_Reference_ID=362 */ - public static final int ACCOUNT_ID_AD_Reference_ID=362; /** Set Account. @param Account_ID Account used @@ -99,8 +97,6 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ return ii.intValue(); } - /** AD_OrgTrx_ID AD_Reference_ID=130 */ - public static final int AD_ORGTRX_ID_AD_Reference_ID=130; /** Set Trx Organization. @param AD_OrgTrx_ID Performing or initiating organization @@ -141,7 +137,7 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ return (String)get_Value(COLUMNNAME_Alias); } - public I_C_AcctSchema getC_AcctSchema() throws Exception + public I_C_AcctSchema getC_AcctSchema() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); I_C_AcctSchema result = null; @@ -152,7 +148,7 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -179,8 +175,6 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ return ii.intValue(); } - /** C_Activity_ID AD_Reference_ID=142 */ - public static final int C_ACTIVITY_ID_AD_Reference_ID=142; /** Set Activity. @param C_Activity_ID Business Activity @@ -204,8 +198,6 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ return ii.intValue(); } - /** C_BPartner_ID AD_Reference_ID=138 */ - public static final int C_BPARTNER_ID_AD_Reference_ID=138; /** Set Business Partner . @param C_BPartner_ID Identifies a Business Partner @@ -229,8 +221,6 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ return ii.intValue(); } - /** C_Campaign_ID AD_Reference_ID=143 */ - public static final int C_CAMPAIGN_ID_AD_Reference_ID=143; /** Set Campaign. @param C_Campaign_ID Marketing Campaign @@ -254,8 +244,6 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ return ii.intValue(); } - /** C_LocFrom_ID AD_Reference_ID=133 */ - public static final int C_LOCFROM_ID_AD_Reference_ID=133; /** Set Location From. @param C_LocFrom_ID Location that inventory was moved from @@ -279,8 +267,6 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ return ii.intValue(); } - /** C_LocTo_ID AD_Reference_ID=133 */ - public static final int C_LOCTO_ID_AD_Reference_ID=133; /** Set Location To. @param C_LocTo_ID Location that inventory was moved to @@ -329,8 +315,6 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ return new KeyNamePair(get_ID(), getCombination()); } - /** C_Project_ID AD_Reference_ID=141 */ - public static final int C_PROJECT_ID_AD_Reference_ID=141; /** Set Project. @param C_Project_ID Financial Project @@ -354,8 +338,6 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ return ii.intValue(); } - /** C_SalesRegion_ID AD_Reference_ID=144 */ - public static final int C_SALESREGION_ID_AD_Reference_ID=144; /** Set Sales Region. @param C_SalesRegion_ID Sales coverage region @@ -379,7 +361,7 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ return ii.intValue(); } - public I_C_SubAcct getC_SubAcct() throws Exception + public I_C_SubAcct getC_SubAcct() throws RuntimeException { Class clazz = MTable.getClass(I_C_SubAcct.Table_Name); I_C_SubAcct result = null; @@ -390,7 +372,7 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -481,8 +463,6 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ return false; } - /** M_Product_ID AD_Reference_ID=162 */ - public static final int M_PRODUCT_ID_AD_Reference_ID=162; /** Set Product. @param M_Product_ID Product, Service, Item @@ -506,6 +486,52 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ return ii.intValue(); } + /** Set User List 1. + @param User1_ID + User defined list element #1 + */ + public void setUser1_ID (int User1_ID) + { + if (User1_ID < 1) + set_ValueNoCheck (COLUMNNAME_User1_ID, null); + else + set_ValueNoCheck (COLUMNNAME_User1_ID, Integer.valueOf(User1_ID)); + } + + /** Get User List 1. + @return User defined list element #1 + */ + public int getUser1_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_User1_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set User List 2. + @param User2_ID + User defined list element #2 + */ + public void setUser2_ID (int User2_ID) + { + if (User2_ID < 1) + set_ValueNoCheck (COLUMNNAME_User2_ID, null); + else + set_ValueNoCheck (COLUMNNAME_User2_ID, Integer.valueOf(User2_ID)); + } + + /** Get User List 2. + @return User defined list element #2 + */ + public int getUser2_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_User2_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set User Element 1. @param UserElement1_ID User defined accounting Element @@ -551,54 +577,4 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ return 0; return ii.intValue(); } - - /** User1_ID AD_Reference_ID=134 */ - public static final int USER1_ID_AD_Reference_ID=134; - /** Set User List 1. - @param User1_ID - User defined list element #1 - */ - public void setUser1_ID (int User1_ID) - { - if (User1_ID < 1) - set_ValueNoCheck (COLUMNNAME_User1_ID, null); - else - set_ValueNoCheck (COLUMNNAME_User1_ID, Integer.valueOf(User1_ID)); - } - - /** Get User List 1. - @return User defined list element #1 - */ - public int getUser1_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_User1_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** User2_ID AD_Reference_ID=137 */ - public static final int USER2_ID_AD_Reference_ID=137; - /** Set User List 2. - @param User2_ID - User defined list element #2 - */ - public void setUser2_ID (int User2_ID) - { - if (User2_ID < 1) - set_ValueNoCheck (COLUMNNAME_User2_ID, null); - else - set_ValueNoCheck (COLUMNNAME_User2_ID, Integer.valueOf(User2_ID)); - } - - /** Get User List 2. - @return User defined list element #2 - */ - public int getUser2_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_User2_ID); - if (ii == null) - return 0; - return ii.intValue(); - } } \ No newline at end of file diff --git a/base/src/org/compiere/model/X_C_Withholding.java b/base/src/org/compiere/model/X_C_Withholding.java index b90ac588a2..7a0134dd5a 100644 --- a/base/src/org/compiere/model/X_C_Withholding.java +++ b/base/src/org/compiere/model/X_C_Withholding.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Withholding * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Withholding extends PO implements I_C_Withholding, I_Persistent { @@ -81,8 +81,6 @@ public class X_C_Withholding extends PO implements I_C_Withholding, I_Persistent return sb.toString(); } - /** Beneficiary AD_Reference_ID=138 */ - public static final int BENEFICIARY_AD_Reference_ID=138; /** Set Beneficiary. @param Beneficiary Business Partner to whom payment is made @@ -103,7 +101,7 @@ public class X_C_Withholding extends PO implements I_C_Withholding, I_Persistent return ii.intValue(); } - public I_C_PaymentTerm getC_PaymentTerm() throws Exception + public I_C_PaymentTerm getC_PaymentTerm() throws RuntimeException { Class clazz = MTable.getClass(I_C_PaymentTerm.Table_Name); I_C_PaymentTerm result = null; @@ -114,7 +112,7 @@ public class X_C_Withholding extends PO implements I_C_Withholding, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_Withholding_Acct.java b/base/src/org/compiere/model/X_C_Withholding_Acct.java index 94b0572220..7201c8cbca 100644 --- a/base/src/org/compiere/model/X_C_Withholding_Acct.java +++ b/base/src/org/compiere/model/X_C_Withholding_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for C_Withholding_Acct * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Withholding_Acct extends PO implements I_C_Withholding_Acct, I_Persistent { @@ -73,7 +73,7 @@ public class X_C_Withholding_Acct extends PO implements I_C_Withholding_Acct, I_ return sb.toString(); } - public I_C_AcctSchema getC_AcctSchema() throws Exception + public I_C_AcctSchema getC_AcctSchema() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); I_C_AcctSchema result = null; @@ -84,7 +84,7 @@ public class X_C_Withholding_Acct extends PO implements I_C_Withholding_Acct, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -111,7 +111,7 @@ public class X_C_Withholding_Acct extends PO implements I_C_Withholding_Acct, I_ return ii.intValue(); } - public I_C_Withholding getC_Withholding() throws Exception + public I_C_Withholding getC_Withholding() throws RuntimeException { Class clazz = MTable.getClass(I_C_Withholding.Table_Name); I_C_Withholding result = null; @@ -122,7 +122,7 @@ public class X_C_Withholding_Acct extends PO implements I_C_Withholding_Acct, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_C_Year.java b/base/src/org/compiere/model/X_C_Year.java index 9015d418b1..6c3f204d69 100644 --- a/base/src/org/compiere/model/X_C_Year.java +++ b/base/src/org/compiere/model/X_C_Year.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for C_Year * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_C_Year extends PO implements I_C_Year, I_Persistent { @@ -74,7 +74,7 @@ public class X_C_Year extends PO implements I_C_Year, I_Persistent return sb.toString(); } - public I_C_Calendar getC_Calendar() throws Exception + public I_C_Calendar getC_Calendar() throws RuntimeException { Class clazz = MTable.getClass(I_C_Calendar.Table_Name); I_C_Calendar result = null; @@ -85,7 +85,7 @@ public class X_C_Year extends PO implements I_C_Year, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_Fact_Acct.java b/base/src/org/compiere/model/X_Fact_Acct.java index 2c31278fee..b62c630b27 100644 --- a/base/src/org/compiere/model/X_Fact_Acct.java +++ b/base/src/org/compiere/model/X_Fact_Acct.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for Fact_Acct * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent { @@ -112,8 +112,6 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return ii.intValue(); } - /** Account_ID AD_Reference_ID=132 */ - public static final int ACCOUNT_ID_AD_Reference_ID=132; /** Set Account. @param Account_ID Account used @@ -136,8 +134,6 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return ii.intValue(); } - /** AD_OrgTrx_ID AD_Reference_ID=130 */ - public static final int AD_ORGTRX_ID_AD_Reference_ID=130; /** Set Trx Organization. @param AD_OrgTrx_ID Performing or initiating organization @@ -161,7 +157,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return ii.intValue(); } - public I_AD_Table getAD_Table() throws Exception + public I_AD_Table getAD_Table() throws RuntimeException { Class clazz = MTable.getClass(I_AD_Table.Table_Name); I_AD_Table result = null; @@ -172,7 +168,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -287,7 +283,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return bd; } - public I_C_AcctSchema getC_AcctSchema() throws Exception + public I_C_AcctSchema getC_AcctSchema() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); I_C_AcctSchema result = null; @@ -298,7 +294,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -325,7 +321,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return ii.intValue(); } - public I_C_Activity getC_Activity() throws Exception + public I_C_Activity getC_Activity() throws RuntimeException { Class clazz = MTable.getClass(I_C_Activity.Table_Name); I_C_Activity result = null; @@ -336,7 +332,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -364,7 +360,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return ii.intValue(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -375,7 +371,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -403,7 +399,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return ii.intValue(); } - public I_C_Campaign getC_Campaign() throws Exception + public I_C_Campaign getC_Campaign() throws RuntimeException { Class clazz = MTable.getClass(I_C_Campaign.Table_Name); I_C_Campaign result = null; @@ -414,7 +410,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -442,7 +438,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return ii.intValue(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -453,7 +449,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -480,8 +476,6 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return ii.intValue(); } - /** C_LocFrom_ID AD_Reference_ID=133 */ - public static final int C_LOCFROM_ID_AD_Reference_ID=133; /** Set Location From. @param C_LocFrom_ID Location that inventory was moved from @@ -505,8 +499,6 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return ii.intValue(); } - /** C_LocTo_ID AD_Reference_ID=133 */ - public static final int C_LOCTO_ID_AD_Reference_ID=133; /** Set Location To. @param C_LocTo_ID Location that inventory was moved to @@ -530,7 +522,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return ii.intValue(); } - public I_C_Period getC_Period() throws Exception + public I_C_Period getC_Period() throws RuntimeException { Class clazz = MTable.getClass(I_C_Period.Table_Name); I_C_Period result = null; @@ -541,7 +533,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -568,7 +560,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return ii.intValue(); } - public I_C_Project getC_Project() throws Exception + public I_C_Project getC_Project() throws RuntimeException { Class clazz = MTable.getClass(I_C_Project.Table_Name); I_C_Project result = null; @@ -579,7 +571,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -607,7 +599,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return ii.intValue(); } - public I_C_ProjectPhase getC_ProjectPhase() throws Exception + public I_C_ProjectPhase getC_ProjectPhase() throws RuntimeException { Class clazz = MTable.getClass(I_C_ProjectPhase.Table_Name); I_C_ProjectPhase result = null; @@ -618,7 +610,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -646,7 +638,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return ii.intValue(); } - public I_C_ProjectTask getC_ProjectTask() throws Exception + public I_C_ProjectTask getC_ProjectTask() throws RuntimeException { Class clazz = MTable.getClass(I_C_ProjectTask.Table_Name); I_C_ProjectTask result = null; @@ -657,7 +649,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -685,7 +677,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return ii.intValue(); } - public I_C_SalesRegion getC_SalesRegion() throws Exception + public I_C_SalesRegion getC_SalesRegion() throws RuntimeException { Class clazz = MTable.getClass(I_C_SalesRegion.Table_Name); I_C_SalesRegion result = null; @@ -696,7 +688,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -724,7 +716,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return ii.intValue(); } - public I_C_SubAcct getC_SubAcct() throws Exception + public I_C_SubAcct getC_SubAcct() throws RuntimeException { Class clazz = MTable.getClass(I_C_SubAcct.Table_Name); I_C_SubAcct result = null; @@ -735,7 +727,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -763,7 +755,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return ii.intValue(); } - public I_C_Tax getC_Tax() throws Exception + public I_C_Tax getC_Tax() throws RuntimeException { Class clazz = MTable.getClass(I_C_Tax.Table_Name); I_C_Tax result = null; @@ -774,7 +766,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -802,7 +794,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return ii.intValue(); } - public I_C_UOM getC_UOM() throws Exception + public I_C_UOM getC_UOM() throws RuntimeException { Class clazz = MTable.getClass(I_C_UOM.Table_Name); I_C_UOM result = null; @@ -813,7 +805,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -923,7 +915,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getFact_Acct_ID())); } - public I_GL_Budget getGL_Budget() throws Exception + public I_GL_Budget getGL_Budget() throws RuntimeException { Class clazz = MTable.getClass(I_GL_Budget.Table_Name); I_GL_Budget result = null; @@ -934,7 +926,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -962,7 +954,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return ii.intValue(); } - public I_GL_Category getGL_Category() throws Exception + public I_GL_Category getGL_Category() throws RuntimeException { Class clazz = MTable.getClass(I_GL_Category.Table_Name); I_GL_Category result = null; @@ -973,7 +965,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -1023,7 +1015,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return ii.intValue(); } - public I_M_Locator getM_Locator() throws Exception + public I_M_Locator getM_Locator() throws RuntimeException { Class clazz = MTable.getClass(I_M_Locator.Table_Name); I_M_Locator result = null; @@ -1034,7 +1026,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -1062,7 +1054,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return ii.intValue(); } - public I_M_Product getM_Product() throws Exception + public I_M_Product getM_Product() throws RuntimeException { Class clazz = MTable.getClass(I_M_Product.Table_Name); I_M_Product result = null; @@ -1073,7 +1065,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -1173,6 +1165,52 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return ii.intValue(); } + /** Set User List 1. + @param User1_ID + User defined list element #1 + */ + public void setUser1_ID (int User1_ID) + { + if (User1_ID < 1) + set_ValueNoCheck (COLUMNNAME_User1_ID, null); + else + set_ValueNoCheck (COLUMNNAME_User1_ID, Integer.valueOf(User1_ID)); + } + + /** Get User List 1. + @return User defined list element #1 + */ + public int getUser1_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_User1_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set User List 2. + @param User2_ID + User defined list element #2 + */ + public void setUser2_ID (int User2_ID) + { + if (User2_ID < 1) + set_ValueNoCheck (COLUMNNAME_User2_ID, null); + else + set_ValueNoCheck (COLUMNNAME_User2_ID, Integer.valueOf(User2_ID)); + } + + /** Get User List 2. + @return User defined list element #2 + */ + public int getUser2_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_User2_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set User Element 1. @param UserElement1_ID User defined accounting Element @@ -1218,54 +1256,4 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent return 0; return ii.intValue(); } - - /** User1_ID AD_Reference_ID=134 */ - public static final int USER1_ID_AD_Reference_ID=134; - /** Set User List 1. - @param User1_ID - User defined list element #1 - */ - public void setUser1_ID (int User1_ID) - { - if (User1_ID < 1) - set_ValueNoCheck (COLUMNNAME_User1_ID, null); - else - set_ValueNoCheck (COLUMNNAME_User1_ID, Integer.valueOf(User1_ID)); - } - - /** Get User List 1. - @return User defined list element #1 - */ - public int getUser1_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_User1_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** User2_ID AD_Reference_ID=137 */ - public static final int USER2_ID_AD_Reference_ID=137; - /** Set User List 2. - @param User2_ID - User defined list element #2 - */ - public void setUser2_ID (int User2_ID) - { - if (User2_ID < 1) - set_ValueNoCheck (COLUMNNAME_User2_ID, null); - else - set_ValueNoCheck (COLUMNNAME_User2_ID, Integer.valueOf(User2_ID)); - } - - /** Get User List 2. - @return User defined list element #2 - */ - public int getUser2_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_User2_ID); - if (ii == null) - return 0; - return ii.intValue(); - } } \ No newline at end of file diff --git a/base/src/org/compiere/model/X_GL_Budget.java b/base/src/org/compiere/model/X_GL_Budget.java index e5501451f5..df4c513947 100644 --- a/base/src/org/compiere/model/X_GL_Budget.java +++ b/base/src/org/compiere/model/X_GL_Budget.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for GL_Budget * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_GL_Budget extends PO implements I_GL_Budget, I_Persistent { diff --git a/base/src/org/compiere/model/X_GL_BudgetControl.java b/base/src/org/compiere/model/X_GL_BudgetControl.java index fb43cebaac..bf02b289df 100644 --- a/base/src/org/compiere/model/X_GL_BudgetControl.java +++ b/base/src/org/compiere/model/X_GL_BudgetControl.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for GL_BudgetControl * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_GL_BudgetControl extends PO implements I_GL_BudgetControl, I_Persistent { @@ -105,7 +105,7 @@ public class X_GL_BudgetControl extends PO implements I_GL_BudgetControl, I_Pers return (String)get_Value(COLUMNNAME_BudgetControlScope); } - public I_C_AcctSchema getC_AcctSchema() throws Exception + public I_C_AcctSchema getC_AcctSchema() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); I_C_AcctSchema result = null; @@ -116,7 +116,7 @@ public class X_GL_BudgetControl extends PO implements I_GL_BudgetControl, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -214,7 +214,7 @@ public class X_GL_BudgetControl extends PO implements I_GL_BudgetControl, I_Pers return ii.intValue(); } - public I_GL_Budget getGL_Budget() throws Exception + public I_GL_Budget getGL_Budget() throws RuntimeException { Class clazz = MTable.getClass(I_GL_Budget.Table_Name); I_GL_Budget result = null; @@ -225,7 +225,7 @@ public class X_GL_BudgetControl extends PO implements I_GL_BudgetControl, I_Pers } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_GL_Category.java b/base/src/org/compiere/model/X_GL_Category.java index b004b5f0dd..cb50588257 100644 --- a/base/src/org/compiere/model/X_GL_Category.java +++ b/base/src/org/compiere/model/X_GL_Category.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for GL_Category * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_GL_Category extends PO implements I_GL_Category, I_Persistent { diff --git a/base/src/org/compiere/model/X_GL_Distribution.java b/base/src/org/compiere/model/X_GL_Distribution.java index d5ffd7ba4f..86799b80de 100644 --- a/base/src/org/compiere/model/X_GL_Distribution.java +++ b/base/src/org/compiere/model/X_GL_Distribution.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for GL_Distribution * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persistent { @@ -105,8 +105,6 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis return sb.toString(); } - /** Account_ID AD_Reference_ID=132 */ - public static final int ACCOUNT_ID_AD_Reference_ID=132; /** Set Account. @param Account_ID Account used @@ -130,8 +128,6 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis return ii.intValue(); } - /** AD_OrgTrx_ID AD_Reference_ID=130 */ - public static final int AD_ORGTRX_ID_AD_Reference_ID=130; /** Set Trx Organization. @param AD_OrgTrx_ID Performing or initiating organization @@ -467,7 +463,7 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis return false; } - public I_C_AcctSchema getC_AcctSchema() throws Exception + public I_C_AcctSchema getC_AcctSchema() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); I_C_AcctSchema result = null; @@ -478,7 +474,7 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -505,7 +501,7 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis return ii.intValue(); } - public I_C_Activity getC_Activity() throws Exception + public I_C_Activity getC_Activity() throws RuntimeException { Class clazz = MTable.getClass(I_C_Activity.Table_Name); I_C_Activity result = null; @@ -516,7 +512,7 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -544,7 +540,7 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis return ii.intValue(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -555,7 +551,7 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -583,7 +579,7 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis return ii.intValue(); } - public I_C_Campaign getC_Campaign() throws Exception + public I_C_Campaign getC_Campaign() throws RuntimeException { Class clazz = MTable.getClass(I_C_Campaign.Table_Name); I_C_Campaign result = null; @@ -594,7 +590,7 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -622,7 +618,7 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis return ii.intValue(); } - public I_C_DocType getC_DocType() throws Exception + public I_C_DocType getC_DocType() throws RuntimeException { Class clazz = MTable.getClass(I_C_DocType.Table_Name); I_C_DocType result = null; @@ -633,7 +629,7 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -661,8 +657,6 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis return ii.intValue(); } - /** C_LocFrom_ID AD_Reference_ID=133 */ - public static final int C_LOCFROM_ID_AD_Reference_ID=133; /** Set Location From. @param C_LocFrom_ID Location that inventory was moved from @@ -686,8 +680,6 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis return ii.intValue(); } - /** C_LocTo_ID AD_Reference_ID=133 */ - public static final int C_LOCTO_ID_AD_Reference_ID=133; /** Set Location To. @param C_LocTo_ID Location that inventory was moved to @@ -711,7 +703,7 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis return ii.intValue(); } - public I_C_Project getC_Project() throws Exception + public I_C_Project getC_Project() throws RuntimeException { Class clazz = MTable.getClass(I_C_Project.Table_Name); I_C_Project result = null; @@ -722,7 +714,7 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -750,7 +742,7 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis return ii.intValue(); } - public I_C_SalesRegion getC_SalesRegion() throws Exception + public I_C_SalesRegion getC_SalesRegion() throws RuntimeException { Class clazz = MTable.getClass(I_C_SalesRegion.Table_Name); I_C_SalesRegion result = null; @@ -761,7 +753,7 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -869,7 +861,7 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis return false; } - public I_M_Product getM_Product() throws Exception + public I_M_Product getM_Product() throws RuntimeException { Class clazz = MTable.getClass(I_M_Product.Table_Name); I_M_Product result = null; @@ -880,7 +872,7 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -935,8 +927,6 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis return new KeyNamePair(get_ID(), getName()); } - /** Org_ID AD_Reference_ID=130 */ - public static final int ORG_ID_AD_Reference_ID=130; /** Set Organization. @param Org_ID Organizational entity within client @@ -1033,8 +1023,6 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis return false; } - /** User1_ID AD_Reference_ID=134 */ - public static final int USER1_ID_AD_Reference_ID=134; /** Set User List 1. @param User1_ID User defined list element #1 @@ -1058,8 +1046,6 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis return ii.intValue(); } - /** User2_ID AD_Reference_ID=137 */ - public static final int USER2_ID_AD_Reference_ID=137; /** Set User List 2. @param User2_ID User defined list element #2 diff --git a/base/src/org/compiere/model/X_GL_DistributionLine.java b/base/src/org/compiere/model/X_GL_DistributionLine.java index 22600bee1c..7034d4c420 100644 --- a/base/src/org/compiere/model/X_GL_DistributionLine.java +++ b/base/src/org/compiere/model/X_GL_DistributionLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for GL_DistributionLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, I_Persistent { @@ -91,8 +91,6 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, return sb.toString(); } - /** Account_ID AD_Reference_ID=132 */ - public static final int ACCOUNT_ID_AD_Reference_ID=132; /** Set Account. @param Account_ID Account used @@ -116,8 +114,6 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, return ii.intValue(); } - /** AD_OrgTrx_ID AD_Reference_ID=130 */ - public static final int AD_ORGTRX_ID_AD_Reference_ID=130; /** Set Trx Organization. @param AD_OrgTrx_ID Performing or initiating organization @@ -141,7 +137,7 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, return ii.intValue(); } - public I_C_Activity getC_Activity() throws Exception + public I_C_Activity getC_Activity() throws RuntimeException { Class clazz = MTable.getClass(I_C_Activity.Table_Name); I_C_Activity result = null; @@ -152,7 +148,7 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -180,7 +176,7 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, return ii.intValue(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -191,7 +187,7 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -219,7 +215,7 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, return ii.intValue(); } - public I_C_Campaign getC_Campaign() throws Exception + public I_C_Campaign getC_Campaign() throws RuntimeException { Class clazz = MTable.getClass(I_C_Campaign.Table_Name); I_C_Campaign result = null; @@ -230,7 +226,7 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -258,8 +254,6 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, return ii.intValue(); } - /** C_LocFrom_ID AD_Reference_ID=133 */ - public static final int C_LOCFROM_ID_AD_Reference_ID=133; /** Set Location From. @param C_LocFrom_ID Location that inventory was moved from @@ -283,8 +277,6 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, return ii.intValue(); } - /** C_LocTo_ID AD_Reference_ID=133 */ - public static final int C_LOCTO_ID_AD_Reference_ID=133; /** Set Location To. @param C_LocTo_ID Location that inventory was moved to @@ -308,7 +300,7 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, return ii.intValue(); } - public I_C_Project getC_Project() throws Exception + public I_C_Project getC_Project() throws RuntimeException { Class clazz = MTable.getClass(I_C_Project.Table_Name); I_C_Project result = null; @@ -319,7 +311,7 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -347,7 +339,7 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, return ii.intValue(); } - public I_C_SalesRegion getC_SalesRegion() throws Exception + public I_C_SalesRegion getC_SalesRegion() throws RuntimeException { Class clazz = MTable.getClass(I_C_SalesRegion.Table_Name); I_C_SalesRegion result = null; @@ -358,7 +350,7 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -403,7 +395,7 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, return (String)get_Value(COLUMNNAME_Description); } - public I_GL_Distribution getGL_Distribution() throws Exception + public I_GL_Distribution getGL_Distribution() throws RuntimeException { Class clazz = MTable.getClass(I_GL_Distribution.Table_Name); I_GL_Distribution result = null; @@ -414,7 +406,7 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -491,7 +483,7 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, return new KeyNamePair(get_ID(), String.valueOf(getLine())); } - public I_M_Product getM_Product() throws Exception + public I_M_Product getM_Product() throws RuntimeException { Class clazz = MTable.getClass(I_M_Product.Table_Name); I_M_Product result = null; @@ -502,7 +494,7 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -530,8 +522,6 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, return ii.intValue(); } - /** Org_ID AD_Reference_ID=130 */ - public static final int ORG_ID_AD_Reference_ID=130; /** Set Organization. @param Org_ID Organizational entity within client @@ -889,8 +879,6 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, return bd; } - /** User1_ID AD_Reference_ID=134 */ - public static final int USER1_ID_AD_Reference_ID=134; /** Set User List 1. @param User1_ID User defined list element #1 @@ -914,8 +902,6 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, return ii.intValue(); } - /** User2_ID AD_Reference_ID=137 */ - public static final int USER2_ID_AD_Reference_ID=137; /** Set User List 2. @param User2_ID User defined list element #2 diff --git a/base/src/org/compiere/model/X_GL_Fund.java b/base/src/org/compiere/model/X_GL_Fund.java index 12a7d7df87..19b0012364 100644 --- a/base/src/org/compiere/model/X_GL_Fund.java +++ b/base/src/org/compiere/model/X_GL_Fund.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for GL_Fund * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_GL_Fund extends PO implements I_GL_Fund, I_Persistent { @@ -100,7 +100,7 @@ public class X_GL_Fund extends PO implements I_GL_Fund, I_Persistent return bd; } - public I_C_AcctSchema getC_AcctSchema() throws Exception + public I_C_AcctSchema getC_AcctSchema() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); I_C_AcctSchema result = null; @@ -111,7 +111,7 @@ public class X_GL_Fund extends PO implements I_GL_Fund, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_GL_FundRestriction.java b/base/src/org/compiere/model/X_GL_FundRestriction.java index 6e4a6f40a2..3513f24c43 100644 --- a/base/src/org/compiere/model/X_GL_FundRestriction.java +++ b/base/src/org/compiere/model/X_GL_FundRestriction.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for GL_FundRestriction * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_GL_FundRestriction extends PO implements I_GL_FundRestriction, I_Persistent { @@ -75,7 +75,7 @@ public class X_GL_FundRestriction extends PO implements I_GL_FundRestriction, I_ return sb.toString(); } - public I_C_ElementValue getC_ElementValue() throws Exception + public I_C_ElementValue getC_ElementValue() throws RuntimeException { Class clazz = MTable.getClass(I_C_ElementValue.Table_Name); I_C_ElementValue result = null; @@ -86,7 +86,7 @@ public class X_GL_FundRestriction extends PO implements I_GL_FundRestriction, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -130,7 +130,7 @@ public class X_GL_FundRestriction extends PO implements I_GL_FundRestriction, I_ return (String)get_Value(COLUMNNAME_Description); } - public I_GL_Fund getGL_Fund() throws Exception + public I_GL_Fund getGL_Fund() throws RuntimeException { Class clazz = MTable.getClass(I_GL_Fund.Table_Name); I_GL_Fund result = null; @@ -141,7 +141,7 @@ public class X_GL_FundRestriction extends PO implements I_GL_FundRestriction, I_ } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_GL_Journal.java b/base/src/org/compiere/model/X_GL_Journal.java index e86e2964f9..307ae80ca4 100644 --- a/base/src/org/compiere/model/X_GL_Journal.java +++ b/base/src/org/compiere/model/X_GL_Journal.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for GL_Journal * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent { @@ -110,7 +110,7 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent return sb.toString(); } - public I_C_AcctSchema getC_AcctSchema() throws Exception + public I_C_AcctSchema getC_AcctSchema() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); I_C_AcctSchema result = null; @@ -121,7 +121,7 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -148,7 +148,7 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent return ii.intValue(); } - public I_C_ConversionType getC_ConversionType() throws Exception + public I_C_ConversionType getC_ConversionType() throws RuntimeException { Class clazz = MTable.getClass(I_C_ConversionType.Table_Name); I_C_ConversionType result = null; @@ -159,7 +159,7 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -186,7 +186,7 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent return ii.intValue(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -197,7 +197,7 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -224,7 +224,7 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent return ii.intValue(); } - public I_C_DocType getC_DocType() throws Exception + public I_C_DocType getC_DocType() throws RuntimeException { Class clazz = MTable.getClass(I_C_DocType.Table_Name); I_C_DocType result = null; @@ -235,7 +235,7 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -282,8 +282,6 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent return bd; } - /** C_Period_ID AD_Reference_ID=275 */ - public static final int C_PERIOD_ID_AD_Reference_ID=275; /** Set Period. @param C_Period_ID Period of the Calendar @@ -504,7 +502,7 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent return new KeyNamePair(get_ID(), getDocumentNo()); } - public I_GL_Budget getGL_Budget() throws Exception + public I_GL_Budget getGL_Budget() throws RuntimeException { Class clazz = MTable.getClass(I_GL_Budget.Table_Name); I_GL_Budget result = null; @@ -515,7 +513,7 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -543,7 +541,7 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent return ii.intValue(); } - public I_GL_Category getGL_Category() throws Exception + public I_GL_Category getGL_Category() throws RuntimeException { Class clazz = MTable.getClass(I_GL_Category.Table_Name); I_GL_Category result = null; @@ -554,7 +552,7 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -581,7 +579,7 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent return ii.intValue(); } - public I_GL_JournalBatch getGL_JournalBatch() throws Exception + public I_GL_JournalBatch getGL_JournalBatch() throws RuntimeException { Class clazz = MTable.getClass(I_GL_JournalBatch.Table_Name); I_GL_JournalBatch result = null; @@ -592,7 +590,7 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -789,8 +787,6 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent return false; } - /** Reversal_ID AD_Reference_ID=53250 */ - public static final int REVERSAL_ID_AD_Reference_ID=53250; /** Set Reversal ID. @param Reversal_ID ID of document reversal diff --git a/base/src/org/compiere/model/X_GL_JournalBatch.java b/base/src/org/compiere/model/X_GL_JournalBatch.java index df22d02906..73f36716c5 100644 --- a/base/src/org/compiere/model/X_GL_JournalBatch.java +++ b/base/src/org/compiere/model/X_GL_JournalBatch.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for GL_JournalBatch * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persistent { @@ -88,7 +88,7 @@ public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persis return sb.toString(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -99,7 +99,7 @@ public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -127,7 +127,7 @@ public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persis return ii.intValue(); } - public I_C_DocType getC_DocType() throws Exception + public I_C_DocType getC_DocType() throws RuntimeException { Class clazz = MTable.getClass(I_C_DocType.Table_Name); I_C_DocType result = null; @@ -138,7 +138,7 @@ public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -202,8 +202,6 @@ public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persis return (String)get_Value(COLUMNNAME_CopyFrom); } - /** C_Period_ID AD_Reference_ID=275 */ - public static final int C_PERIOD_ID_AD_Reference_ID=275; /** Set Period. @param C_Period_ID Period of the Calendar @@ -399,7 +397,7 @@ public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persis return new KeyNamePair(get_ID(), getDocumentNo()); } - public I_GL_Category getGL_Category() throws Exception + public I_GL_Category getGL_Category() throws RuntimeException { Class clazz = MTable.getClass(I_GL_Category.Table_Name); I_GL_Category result = null; @@ -410,7 +408,7 @@ public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -559,8 +557,6 @@ public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persis return false; } - /** Reversal_ID AD_Reference_ID=53251 */ - public static final int REVERSAL_ID_AD_Reference_ID=53251; /** Set Reversal ID. @param Reversal_ID ID of document reversal diff --git a/base/src/org/compiere/model/X_GL_JournalLine.java b/base/src/org/compiere/model/X_GL_JournalLine.java index 3ecf69b2fc..1b680ffeaa 100644 --- a/base/src/org/compiere/model/X_GL_JournalLine.java +++ b/base/src/org/compiere/model/X_GL_JournalLine.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for GL_JournalLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persistent { @@ -92,7 +92,7 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste return sb.toString(); } - public I_A_Asset_Group getA_Asset_Group() throws Exception + public I_A_Asset_Group getA_Asset_Group() throws RuntimeException { Class clazz = MTable.getClass(I_A_Asset_Group.Table_Name); I_A_Asset_Group result = null; @@ -103,7 +103,7 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -131,8 +131,6 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste return ii.intValue(); } - /** A_Asset_ID AD_Reference_ID=53258 */ - public static final int A_ASSET_ID_AD_Reference_ID=53258; /** Set Asset. @param A_Asset_ID Asset used internally or by customers @@ -156,15 +154,15 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste return ii.intValue(); } - /** Set A_CreateAsset. - @param A_CreateAsset A_CreateAsset */ + /** Set Asset Related?. + @param A_CreateAsset Asset Related? */ public void setA_CreateAsset (boolean A_CreateAsset) { set_Value (COLUMNNAME_A_CreateAsset, Boolean.valueOf(A_CreateAsset)); } - /** Get A_CreateAsset. - @return A_CreateAsset */ + /** Get Asset Related?. + @return Asset Related? */ public boolean isA_CreateAsset () { Object oo = get_Value(COLUMNNAME_A_CreateAsset); @@ -286,7 +284,7 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste return false; } - public I_C_ConversionType getC_ConversionType() throws Exception + public I_C_ConversionType getC_ConversionType() throws RuntimeException { Class clazz = MTable.getClass(I_C_ConversionType.Table_Name); I_C_ConversionType result = null; @@ -297,7 +295,7 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -324,7 +322,7 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste return ii.intValue(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -335,7 +333,7 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -362,7 +360,7 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste return ii.intValue(); } - public I_C_UOM getC_UOM() throws Exception + public I_C_UOM getC_UOM() throws RuntimeException { Class clazz = MTable.getClass(I_C_UOM.Table_Name); I_C_UOM result = null; @@ -373,7 +371,7 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -481,7 +479,7 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste return (String)get_Value(COLUMNNAME_Description); } - public I_GL_Journal getGL_Journal() throws Exception + public I_GL_Journal getGL_Journal() throws RuntimeException { Class clazz = MTable.getClass(I_GL_Journal.Table_Name); I_GL_Journal result = null; @@ -492,7 +490,7 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_I_Asset.java b/base/src/org/compiere/model/X_I_Asset.java index 26a06a3a41..2fb1960039 100644 --- a/base/src/org/compiere/model/X_I_Asset.java +++ b/base/src/org/compiere/model/X_I_Asset.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for I_Asset * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent { @@ -75,15 +75,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return sb.toString(); } - /** Set A_Accumdepreciation_Acct. - @param A_Accumdepreciation_Acct A_Accumdepreciation_Acct */ + /** Set Accumulated Depreciation. + @param A_Accumdepreciation_Acct Accumulated Depreciation */ public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct) { set_Value (COLUMNNAME_A_Accumdepreciation_Acct, Integer.valueOf(A_Accumdepreciation_Acct)); } - /** Get A_Accumdepreciation_Acct. - @return A_Accumdepreciation_Acct */ + /** Get Accumulated Depreciation. + @return Accumulated Depreciation */ public int getA_Accumdepreciation_Acct () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Accumdepreciation_Acct); @@ -109,15 +109,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return bd; } - /** Set A_Asset_Acct. - @param A_Asset_Acct A_Asset_Acct */ + /** Set Asset Cost Account. + @param A_Asset_Acct Asset Cost Account */ public void setA_Asset_Acct (int A_Asset_Acct) { set_Value (COLUMNNAME_A_Asset_Acct, Integer.valueOf(A_Asset_Acct)); } - /** Get A_Asset_Acct. - @return A_Asset_Acct */ + /** Get Asset Cost Account. + @return Asset Cost Account */ public int getA_Asset_Acct () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct); @@ -126,8 +126,6 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** A_Asset_Cost AD_Reference_ID=53278 */ - public static final int A_ASSET_COST_AD_Reference_ID=53278; /** Set A_Asset_Cost. @param A_Asset_Cost A_Asset_Cost */ public void setA_Asset_Cost (BigDecimal A_Asset_Cost) @@ -145,7 +143,7 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return bd; } - public I_A_Asset_Group getA_Asset_Group() throws Exception + public I_A_Asset_Group getA_Asset_Group() throws RuntimeException { Class clazz = MTable.getClass(I_A_Asset_Group.Table_Name); I_A_Asset_Group result = null; @@ -156,7 +154,7 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -241,8 +239,6 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** A_Asset_Spread_Type AD_Reference_ID=53268 */ - public static final int A_ASSET_SPREAD_TYPE_AD_Reference_ID=53268; /** Set A_Asset_Spread_Type. @param A_Asset_Spread_Type A_Asset_Spread_Type */ public void setA_Asset_Spread_Type (int A_Asset_Spread_Type) @@ -328,15 +324,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** Set A_Depreciation_Acct. - @param A_Depreciation_Acct A_Depreciation_Acct */ + /** Set Depreciation Expense Account. + @param A_Depreciation_Acct Depreciation Expense Account */ public void setA_Depreciation_Acct (int A_Depreciation_Acct) { set_Value (COLUMNNAME_A_Depreciation_Acct, Integer.valueOf(A_Depreciation_Acct)); } - /** Get A_Depreciation_Acct. - @return A_Depreciation_Acct */ + /** Get Depreciation Expense Account. + @return Depreciation Expense Account */ public int getA_Depreciation_Acct () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Acct); @@ -345,17 +341,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** A_Depreciation_Calc_Type AD_Reference_ID=53266 */ - public static final int A_DEPRECIATION_CALC_TYPE_AD_Reference_ID=53266; - /** Set A_Depreciation_Calc_Type. - @param A_Depreciation_Calc_Type A_Depreciation_Calc_Type */ + /** Set Depreciation Calculation Type. + @param A_Depreciation_Calc_Type Depreciation Calculation Type */ public void setA_Depreciation_Calc_Type (int A_Depreciation_Calc_Type) { set_Value (COLUMNNAME_A_Depreciation_Calc_Type, Integer.valueOf(A_Depreciation_Calc_Type)); } - /** Get A_Depreciation_Calc_Type. - @return A_Depreciation_Calc_Type */ + /** Get Depreciation Calculation Type. + @return Depreciation Calculation Type */ public int getA_Depreciation_Calc_Type () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Calc_Type); @@ -402,8 +396,6 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return (String)get_Value(COLUMNNAME_A_Depreciation_Manual_Period); } - /** A_Depreciation_Table_Header_ID AD_Reference_ID=53265 */ - public static final int A_DEPRECIATION_TABLE_HEADER_ID_AD_Reference_ID=53265; /** Set A_Depreciation_Table_Header_ID. @param A_Depreciation_Table_Header_ID A_Depreciation_Table_Header_ID */ public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID) @@ -441,15 +433,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return bd; } - /** Set A_Disposal_Loss. - @param A_Disposal_Loss A_Disposal_Loss */ + /** Set Loss on Disposal. + @param A_Disposal_Loss Loss on Disposal */ public void setA_Disposal_Loss (int A_Disposal_Loss) { set_Value (COLUMNNAME_A_Disposal_Loss, Integer.valueOf(A_Disposal_Loss)); } - /** Get A_Disposal_Loss. - @return A_Disposal_Loss */ + /** Get Loss on Disposal. + @return Loss on Disposal */ public int getA_Disposal_Loss () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Loss); @@ -458,15 +450,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** Set A_Disposal_Revenue. - @param A_Disposal_Revenue A_Disposal_Revenue */ + /** Set Disposal Revenue. + @param A_Disposal_Revenue Disposal Revenue */ public void setA_Disposal_Revenue (int A_Disposal_Revenue) { set_Value (COLUMNNAME_A_Disposal_Revenue, Integer.valueOf(A_Disposal_Revenue)); } - /** Get A_Disposal_Revenue. - @return A_Disposal_Revenue */ + /** Get Disposal Revenue. + @return Disposal Revenue */ public int getA_Disposal_Revenue () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Revenue); @@ -515,8 +507,8 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** Set A_Parent_Asset_ID. - @param A_Parent_Asset_ID A_Parent_Asset_ID */ + /** Set Asset ID. + @param A_Parent_Asset_ID Asset ID */ public void setA_Parent_Asset_ID (int A_Parent_Asset_ID) { if (A_Parent_Asset_ID < 1) @@ -525,8 +517,8 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent set_Value (COLUMNNAME_A_Parent_Asset_ID, Integer.valueOf(A_Parent_Asset_ID)); } - /** Get A_Parent_Asset_ID. - @return A_Parent_Asset_ID */ + /** Get Asset ID. + @return Asset ID */ public int getA_Parent_Asset_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Parent_Asset_ID); @@ -535,15 +527,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** Set A_Period_End. - @param A_Period_End A_Period_End */ + /** Set Period End. + @param A_Period_End Period End */ public void setA_Period_End (int A_Period_End) { set_Value (COLUMNNAME_A_Period_End, Integer.valueOf(A_Period_End)); } - /** Get A_Period_End. - @return A_Period_End */ + /** Get Period End. + @return Period End */ public int getA_Period_End () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_End); @@ -569,15 +561,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** Set A_Period_Start. - @param A_Period_Start A_Period_Start */ + /** Set Period Start. + @param A_Period_Start Period Start */ public void setA_Period_Start (int A_Period_Start) { set_Value (COLUMNNAME_A_Period_Start, Integer.valueOf(A_Period_Start)); } - /** Get A_Period_Start. - @return A_Period_Start */ + /** Get Period Start. + @return Period Start */ public int getA_Period_Start () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_Start); @@ -603,15 +595,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return bd; } - /** Set A_QTY_Current. - @param A_QTY_Current A_QTY_Current */ + /** Set Quantity. + @param A_QTY_Current Quantity */ public void setA_QTY_Current (int A_QTY_Current) { set_Value (COLUMNNAME_A_QTY_Current, Integer.valueOf(A_QTY_Current)); } - /** Get A_QTY_Current. - @return A_QTY_Current */ + /** Get Quantity. + @return Quantity */ public int getA_QTY_Current () { Integer ii = (Integer)get_Value(COLUMNNAME_A_QTY_Current); @@ -620,15 +612,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** Set A_QTY_Original. - @param A_QTY_Original A_QTY_Original */ + /** Set Original Qty. + @param A_QTY_Original Original Qty */ public void setA_QTY_Original (int A_QTY_Original) { set_Value (COLUMNNAME_A_QTY_Original, Integer.valueOf(A_QTY_Original)); } - /** Get A_QTY_Original. - @return A_QTY_Original */ + /** Get Original Qty. + @return Original Qty */ public int getA_QTY_Original () { Integer ii = (Integer)get_Value(COLUMNNAME_A_QTY_Original); @@ -637,15 +629,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** Set A_Reval_Accumdep_Offset_Cur. - @param A_Reval_Accumdep_Offset_Cur A_Reval_Accumdep_Offset_Cur */ + /** Set Revaluation Accumulated Depreciation Offset for Current Year. + @param A_Reval_Accumdep_Offset_Cur Revaluation Accumulated Depreciation Offset for Current Year */ public void setA_Reval_Accumdep_Offset_Cur (int A_Reval_Accumdep_Offset_Cur) { set_Value (COLUMNNAME_A_Reval_Accumdep_Offset_Cur, Integer.valueOf(A_Reval_Accumdep_Offset_Cur)); } - /** Get A_Reval_Accumdep_Offset_Cur. - @return A_Reval_Accumdep_Offset_Cur */ + /** Get Revaluation Accumulated Depreciation Offset for Current Year. + @return Revaluation Accumulated Depreciation Offset for Current Year */ public int getA_Reval_Accumdep_Offset_Cur () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Accumdep_Offset_Cur); @@ -654,15 +646,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** Set A_Reval_Accumdep_Offset_Prior. - @param A_Reval_Accumdep_Offset_Prior A_Reval_Accumdep_Offset_Prior */ + /** Set Revaluation Accumulated Depreciation Offset for Prior Year. + @param A_Reval_Accumdep_Offset_Prior Revaluation Accumulated Depreciation Offset for Prior Year */ public void setA_Reval_Accumdep_Offset_Prior (int A_Reval_Accumdep_Offset_Prior) { set_Value (COLUMNNAME_A_Reval_Accumdep_Offset_Prior, Integer.valueOf(A_Reval_Accumdep_Offset_Prior)); } - /** Get A_Reval_Accumdep_Offset_Prior. - @return A_Reval_Accumdep_Offset_Prior */ + /** Get Revaluation Accumulated Depreciation Offset for Prior Year. + @return Revaluation Accumulated Depreciation Offset for Prior Year */ public int getA_Reval_Accumdep_Offset_Prior () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Accumdep_Offset_Prior); @@ -679,30 +671,30 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent public static final String A_REVAL_CAL_METHOD_InceptionToDate = "IDF"; /** Year Balances = YBF */ public static final String A_REVAL_CAL_METHOD_YearBalances = "YBF"; - /** Set A_Reval_Cal_Method. - @param A_Reval_Cal_Method A_Reval_Cal_Method */ + /** Set Revaluation Calculation Method. + @param A_Reval_Cal_Method Revaluation Calculation Method */ public void setA_Reval_Cal_Method (String A_Reval_Cal_Method) { if (A_Reval_Cal_Method == null || A_Reval_Cal_Method.equals("DFT") || A_Reval_Cal_Method.equals("IDF") || A_Reval_Cal_Method.equals("YBF")); else throw new IllegalArgumentException ("A_Reval_Cal_Method Invalid value - " + A_Reval_Cal_Method + " - Reference_ID=53259 - DFT - IDF - YBF"); set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method); } - /** Get A_Reval_Cal_Method. - @return A_Reval_Cal_Method */ + /** Get Revaluation Calculation Method. + @return Revaluation Calculation Method */ public String getA_Reval_Cal_Method () { return (String)get_Value(COLUMNNAME_A_Reval_Cal_Method); } - /** Set A_Reval_Cost_Offset. - @param A_Reval_Cost_Offset A_Reval_Cost_Offset */ + /** Set Revaluation Cost Offset for Current Year. + @param A_Reval_Cost_Offset Revaluation Cost Offset for Current Year */ public void setA_Reval_Cost_Offset (int A_Reval_Cost_Offset) { set_Value (COLUMNNAME_A_Reval_Cost_Offset, Integer.valueOf(A_Reval_Cost_Offset)); } - /** Get A_Reval_Cost_Offset. - @return A_Reval_Cost_Offset */ + /** Get Revaluation Cost Offset for Current Year. + @return Revaluation Cost Offset for Current Year */ public int getA_Reval_Cost_Offset () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Cost_Offset); @@ -711,15 +703,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** Set A_Reval_Cost_Offset_Prior. - @param A_Reval_Cost_Offset_Prior A_Reval_Cost_Offset_Prior */ + /** Set Revaluation Cost Offset for Prior Year. + @param A_Reval_Cost_Offset_Prior Revaluation Cost Offset for Prior Year */ public void setA_Reval_Cost_Offset_Prior (int A_Reval_Cost_Offset_Prior) { set_Value (COLUMNNAME_A_Reval_Cost_Offset_Prior, Integer.valueOf(A_Reval_Cost_Offset_Prior)); } - /** Get A_Reval_Cost_Offset_Prior. - @return A_Reval_Cost_Offset_Prior */ + /** Get Revaluation Cost Offset for Prior Year. + @return Revaluation Cost Offset for Prior Year */ public int getA_Reval_Cost_Offset_Prior () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Cost_Offset_Prior); @@ -728,15 +720,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** Set A_Reval_Depexp_Offset. - @param A_Reval_Depexp_Offset A_Reval_Depexp_Offset */ + /** Set Revaluation Expense Offs. + @param A_Reval_Depexp_Offset Revaluation Expense Offs */ public void setA_Reval_Depexp_Offset (int A_Reval_Depexp_Offset) { set_Value (COLUMNNAME_A_Reval_Depexp_Offset, Integer.valueOf(A_Reval_Depexp_Offset)); } - /** Get A_Reval_Depexp_Offset. - @return A_Reval_Depexp_Offset */ + /** Get Revaluation Expense Offs. + @return Revaluation Expense Offs */ public int getA_Reval_Depexp_Offset () { Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Depexp_Offset); @@ -745,15 +737,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** Set A_Salvage_Value. - @param A_Salvage_Value A_Salvage_Value */ + /** Set Salvage Value. + @param A_Salvage_Value Salvage Value */ public void setA_Salvage_Value (BigDecimal A_Salvage_Value) { set_Value (COLUMNNAME_A_Salvage_Value, A_Salvage_Value); } - /** Get A_Salvage_Value. - @return A_Salvage_Value */ + /** Get Salvage Value. + @return Salvage Value */ public BigDecimal getA_Salvage_Value () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Salvage_Value); @@ -762,15 +754,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return bd; } - /** Set A_Split_Percent. - @param A_Split_Percent A_Split_Percent */ + /** Set Split Percentage. + @param A_Split_Percent Split Percentage */ public void setA_Split_Percent (BigDecimal A_Split_Percent) { set_Value (COLUMNNAME_A_Split_Percent, A_Split_Percent); } - /** Get A_Split_Percent. - @return A_Split_Percent */ + /** Get Split Percentage. + @return Split Percentage */ public BigDecimal getA_Split_Percent () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Split_Percent); @@ -850,7 +842,7 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return (Timestamp)get_Value(COLUMNNAME_AssetServiceDate); } - public I_C_AcctSchema getC_AcctSchema() throws Exception + public I_C_AcctSchema getC_AcctSchema() throws RuntimeException { Class clazz = MTable.getClass(I_C_AcctSchema.Table_Name); I_C_AcctSchema result = null; @@ -861,7 +853,7 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -889,7 +881,7 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -900,7 +892,7 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -928,7 +920,7 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - public I_C_BPartner_Location getC_BPartner_Location() throws Exception + 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; @@ -939,7 +931,7 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -967,7 +959,7 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - public I_C_Location getC_Location() throws Exception + public I_C_Location getC_Location() throws RuntimeException { Class clazz = MTable.getClass(I_C_Location.Table_Name); I_C_Location result = null; @@ -978,7 +970,7 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -1006,8 +998,6 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** ConventionType AD_Reference_ID=53267 */ - public static final int CONVENTIONTYPE_AD_Reference_ID=53267; /** Set ConventionType. @param ConventionType ConventionType */ public void setConventionType (int ConventionType) @@ -1025,8 +1015,6 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - /** DepreciationType AD_Reference_ID=53264 */ - public static final int DEPRECIATIONTYPE_AD_Reference_ID=53264; /** Set DepreciationType. @param DepreciationType DepreciationType */ public void setDepreciationType (int DepreciationType) @@ -1357,7 +1345,7 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - public I_M_Locator getM_Locator() throws Exception + public I_M_Locator getM_Locator() throws RuntimeException { Class clazz = MTable.getClass(I_M_Locator.Table_Name); I_M_Locator result = null; @@ -1368,7 +1356,7 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -1396,7 +1384,7 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent return ii.intValue(); } - public I_M_Product getM_Product() throws Exception + public I_M_Product getM_Product() throws RuntimeException { Class clazz = MTable.getClass(I_M_Product.Table_Name); I_M_Product result = null; @@ -1407,7 +1395,7 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } diff --git a/base/src/org/compiere/model/X_I_BankStatement.java b/base/src/org/compiere/model/X_I_BankStatement.java index cc084e5830..249fef3ae4 100644 --- a/base/src/org/compiere/model/X_I_BankStatement.java +++ b/base/src/org/compiere/model/X_I_BankStatement.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for I_BankStatement * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persistent { @@ -109,7 +109,7 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis return (String)get_Value(COLUMNNAME_BPartnerValue); } - public I_C_BankAccount getC_BankAccount() throws Exception + public I_C_BankAccount getC_BankAccount() throws RuntimeException { Class clazz = MTable.getClass(I_C_BankAccount.Table_Name); I_C_BankAccount result = null; @@ -120,7 +120,7 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -148,7 +148,7 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis return ii.intValue(); } - public I_C_BankStatement getC_BankStatement() throws Exception + public I_C_BankStatement getC_BankStatement() throws RuntimeException { Class clazz = MTable.getClass(I_C_BankStatement.Table_Name); I_C_BankStatement result = null; @@ -159,7 +159,7 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -187,7 +187,7 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis return ii.intValue(); } - public I_C_BankStatementLine getC_BankStatementLine() throws Exception + public I_C_BankStatementLine getC_BankStatementLine() throws RuntimeException { Class clazz = MTable.getClass(I_C_BankStatementLine.Table_Name); I_C_BankStatementLine result = null; @@ -198,7 +198,7 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -226,7 +226,7 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis return ii.intValue(); } - public I_C_BPartner getC_BPartner() throws Exception + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); I_C_BPartner result = null; @@ -237,7 +237,7 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -265,7 +265,7 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis return ii.intValue(); } - public I_C_Charge getC_Charge() throws Exception + public I_C_Charge getC_Charge() throws RuntimeException { Class clazz = MTable.getClass(I_C_Charge.Table_Name); I_C_Charge result = null; @@ -276,7 +276,7 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -304,7 +304,7 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis return ii.intValue(); } - public I_C_Currency getC_Currency() throws Exception + public I_C_Currency getC_Currency() throws RuntimeException { Class clazz = MTable.getClass(I_C_Currency.Table_Name); I_C_Currency result = null; @@ -315,7 +315,7 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -380,7 +380,7 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis return (String)get_Value(COLUMNNAME_ChargeName); } - public I_C_Invoice getC_Invoice() throws Exception + public I_C_Invoice getC_Invoice() throws RuntimeException { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); I_C_Invoice result = null; @@ -391,7 +391,7 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -419,7 +419,7 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis return ii.intValue(); } - public I_C_Payment getC_Payment() throws Exception + public I_C_Payment getC_Payment() throws RuntimeException { Class clazz = MTable.getClass(I_C_Payment.Table_Name); I_C_Payment result = null; @@ -430,7 +430,7 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; }