From f1deb765861ebd9ee60ef46347fffef397878dd9 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Sun, 21 Dec 2008 19:31:13 +0000 Subject: [PATCH] Generate complete model for version 3.5.3a --- base/src/org/compiere/model/X_I_BPartner.java | 34 +- .../compiere/model/X_I_Conversion_Rate.java | 16 +- .../org/compiere/model/X_I_ElementValue.java | 14 +- .../src/org/compiere/model/X_I_FAJournal.java | 180 +++++----- .../src/org/compiere/model/X_I_GLJournal.java | 88 ++--- .../compiere/model/X_I_InOutLineConfirm.java | 6 +- .../src/org/compiere/model/X_I_Inventory.java | 22 +- base/src/org/compiere/model/X_I_Invoice.java | 78 ++-- base/src/org/compiere/model/X_I_Order.java | 92 +++-- base/src/org/compiere/model/X_I_Payment.java | 34 +- base/src/org/compiere/model/X_I_Product.java | 22 +- .../org/compiere/model/X_I_ReportLine.java | 22 +- base/src/org/compiere/model/X_K_Category.java | 2 +- .../org/compiere/model/X_K_CategoryValue.java | 6 +- base/src/org/compiere/model/X_K_Comment.java | 10 +- base/src/org/compiere/model/X_K_Entry.java | 14 +- .../org/compiere/model/X_K_EntryCategory.java | 14 +- .../org/compiere/model/X_K_EntryRelated.java | 8 +- base/src/org/compiere/model/X_K_Index.java | 18 +- base/src/org/compiere/model/X_K_IndexLog.java | 2 +- .../src/org/compiere/model/X_K_IndexStop.java | 14 +- base/src/org/compiere/model/X_K_Source.java | 2 +- base/src/org/compiere/model/X_K_Synonym.java | 2 +- base/src/org/compiere/model/X_K_Topic.java | 6 +- base/src/org/compiere/model/X_K_Type.java | 2 +- .../src/org/compiere/model/X_M_Attribute.java | 6 +- .../compiere/model/X_M_AttributeInstance.java | 10 +- .../compiere/model/X_M_AttributeSearch.java | 2 +- .../org/compiere/model/X_M_AttributeSet.java | 10 +- .../model/X_M_AttributeSetExclude.java | 10 +- .../model/X_M_AttributeSetInstance.java | 10 +- .../org/compiere/model/X_M_AttributeUse.java | 10 +- .../compiere/model/X_M_AttributeValue.java | 6 +- base/src/org/compiere/model/X_M_BOM.java | 10 +- .../compiere/model/X_M_BOMAlternative.java | 6 +- .../org/compiere/model/X_M_BOMProduct.java | 20 +- .../org/compiere/model/X_M_ChangeNotice.java | 2 +- .../org/compiere/model/X_M_ChangeRequest.java | 12 +- base/src/org/compiere/model/X_M_Cost.java | 26 +- .../org/compiere/model/X_M_CostDetail.java | 42 +-- .../org/compiere/model/X_M_CostElement.java | 2 +- .../src/org/compiere/model/X_M_CostQueue.java | 18 +- base/src/org/compiere/model/X_M_CostType.java | 2 +- base/src/org/compiere/model/X_M_Demand.java | 10 +- .../org/compiere/model/X_M_DemandDetail.java | 18 +- .../org/compiere/model/X_M_DemandLine.java | 14 +- .../compiere/model/X_M_DiscountSchema.java | 2 +- .../model/X_M_DiscountSchemaBreak.java | 14 +- .../model/X_M_DiscountSchemaLine.java | 22 +- .../compiere/model/X_M_DistributionList.java | 2 +- .../model/X_M_DistributionListLine.java | 14 +- .../compiere/model/X_M_DistributionRun.java | 10 +- .../model/X_M_DistributionRunLine.java | 14 +- base/src/org/compiere/model/X_M_Forecast.java | 49 ++- .../org/compiere/model/X_M_ForecastLine.java | 41 ++- base/src/org/compiere/model/X_M_Freight.java | 26 +- .../compiere/model/X_M_FreightCategory.java | 2 +- base/src/org/compiere/model/X_M_InOut.java | 204 +++++------ .../org/compiere/model/X_M_InOutConfirm.java | 14 +- .../src/org/compiere/model/X_M_InOutLine.java | 332 +++++++++--------- .../compiere/model/X_M_InOutLineConfirm.java | 18 +- .../org/compiere/model/X_M_InOutLineMA.java | 6 +- .../src/org/compiere/model/X_M_Inventory.java | 34 +- .../org/compiere/model/X_M_InventoryLine.java | 58 ++- .../compiere/model/X_M_InventoryLineMA.java | 6 +- base/src/org/compiere/model/X_M_Locator.java | 6 +- base/src/org/compiere/model/X_M_Lot.java | 10 +- base/src/org/compiere/model/X_M_LotCtl.java | 2 +- .../org/compiere/model/X_M_LotCtlExclude.java | 10 +- base/src/org/compiere/model/X_M_MatchInv.java | 14 +- base/src/org/compiere/model/X_M_MatchPO.java | 18 +- base/src/org/compiere/model/X_M_Movement.java | 158 ++++----- .../compiere/model/X_M_MovementConfirm.java | 10 +- .../org/compiere/model/X_M_MovementLine.java | 136 ++++--- .../model/X_M_MovementLineConfirm.java | 14 +- .../compiere/model/X_M_MovementLineMA.java | 6 +- .../compiere/model/X_M_OperationResource.java | 14 +- base/src/org/compiere/model/X_M_Package.java | 10 +- .../org/compiere/model/X_M_PackageLine.java | 10 +- .../org/compiere/model/X_M_PerpetualInv.java | 10 +- .../src/org/compiere/model/X_M_PriceList.java | 15 +- .../compiere/model/X_M_PriceList_Version.java | 12 +- base/src/org/compiere/model/X_M_Product.java | 42 +-- .../compiere/model/X_M_ProductDownload.java | 6 +- .../compiere/model/X_M_ProductOperation.java | 6 +- .../org/compiere/model/X_M_ProductPrice.java | 10 +- .../org/compiere/model/X_M_Product_Acct.java | 10 +- .../org/compiere/model/X_M_Product_BOM.java | 8 +- .../compiere/model/X_M_Product_Category.java | 12 +- .../model/X_M_Product_Category_Acct.java | 10 +- .../compiere/model/X_M_Product_Costing.java | 10 +- .../org/compiere/model/X_M_Product_PO.java | 18 +- .../org/compiere/model/X_M_Production.java | 20 +- .../compiere/model/X_M_ProductionLine.java | 10 +- .../compiere/model/X_M_ProductionLineMA.java | 6 +- .../compiere/model/X_M_ProductionPlan.java | 8 +- base/src/org/compiere/model/X_M_RMA.java | 24 +- base/src/org/compiere/model/X_M_RMALine.java | 14 +- base/src/org/compiere/model/X_M_RMAType.java | 2 +- .../compiere/model/X_M_RelatedProduct.java | 8 +- .../src/org/compiere/model/X_M_Replenish.java | 2 +- .../org/compiere/model/X_M_Requisition.java | 18 +- .../compiere/model/X_M_RequisitionLine.java | 18 +- base/src/org/compiere/model/X_M_SerNoCtl.java | 2 +- .../compiere/model/X_M_SerNoCtlExclude.java | 10 +- base/src/org/compiere/model/X_M_Shipper.java | 6 +- base/src/org/compiere/model/X_M_Storage.java | 6 +- .../org/compiere/model/X_M_Substitute.java | 8 +- .../org/compiere/model/X_M_Transaction.java | 50 +-- .../model/X_M_TransactionAllocation.java | 30 +- .../src/org/compiere/model/X_M_Warehouse.java | 4 +- .../compiere/model/X_M_Warehouse_Acct.java | 10 +- .../org/compiere/model/X_PA_Achievement.java | 6 +- .../org/compiere/model/X_PA_Benchmark.java | 2 +- .../compiere/model/X_PA_BenchmarkData.java | 6 +- .../org/compiere/model/X_PA_ColorSchema.java | 10 +- .../compiere/model/X_PA_DashboardContent.java | 2 +- base/src/org/compiere/model/X_PA_Goal.java | 20 +- .../compiere/model/X_PA_GoalRestriction.java | 24 +- .../org/compiere/model/X_PA_Hierarchy.java | 18 +- base/src/org/compiere/model/X_PA_Measure.java | 26 +- .../org/compiere/model/X_PA_MeasureCalc.java | 6 +- base/src/org/compiere/model/X_PA_Ratio.java | 6 +- .../org/compiere/model/X_PA_RatioElement.java | 14 +- base/src/org/compiere/model/X_PA_Report.java | 24 +- .../org/compiere/model/X_PA_ReportColumn.java | 144 ++++---- .../compiere/model/X_PA_ReportColumnSet.java | 2 +- .../org/compiere/model/X_PA_ReportLine.java | 46 ++- .../compiere/model/X_PA_ReportLineSet.java | 2 +- .../org/compiere/model/X_PA_ReportSource.java | 2 +- .../org/compiere/model/X_PA_SLA_Criteria.java | 2 +- .../src/org/compiere/model/X_PA_SLA_Goal.java | 10 +- .../org/compiere/model/X_PA_SLA_Measure.java | 10 +- .../src/org/compiere/model/X_RV_BPartner.java | 74 ++-- .../compiere/model/X_RV_WarehousePrice.java | 18 +- base/src/org/compiere/model/X_R_Category.java | 6 +- .../compiere/model/X_R_CategoryUpdates.java | 10 +- .../compiere/model/X_R_ContactInterest.java | 10 +- base/src/org/compiere/model/X_R_Group.java | 10 +- .../org/compiere/model/X_R_GroupUpdates.java | 10 +- .../org/compiere/model/X_R_InterestArea.java | 2 +- .../org/compiere/model/X_R_IssueKnown.java | 14 +- .../org/compiere/model/X_R_IssueProject.java | 10 +- .../model/X_R_IssueRecommendation.java | 2 +- .../org/compiere/model/X_R_IssueStatus.java | 2 +- .../org/compiere/model/X_R_IssueSystem.java | 6 +- .../src/org/compiere/model/X_R_IssueUser.java | 6 +- base/src/org/compiere/model/X_R_MailText.java | 2 +- base/src/org/compiere/model/X_R_Request.java | 100 +++--- .../org/compiere/model/X_R_RequestAction.java | 78 ++-- .../compiere/model/X_R_RequestProcessor.java | 8 +- .../model/X_R_RequestProcessorLog.java | 6 +- .../model/X_R_RequestProcessor_Route.java | 14 +- .../org/compiere/model/X_R_RequestType.java | 6 +- .../model/X_R_RequestTypeUpdates.java | 10 +- .../org/compiere/model/X_R_RequestUpdate.java | 8 +- .../compiere/model/X_R_RequestUpdates.java | 10 +- .../org/compiere/model/X_R_Resolution.java | 2 +- .../compiere/model/X_R_StandardResponse.java | 2 +- base/src/org/compiere/model/X_R_Status.java | 10 +- .../compiere/model/X_R_StatusCategory.java | 2 +- .../org/compiere/model/X_S_ExpenseType.java | 14 +- base/src/org/compiere/model/X_S_Resource.java | 42 ++- .../model/X_S_ResourceAssignment.java | 6 +- .../org/compiere/model/X_S_ResourceType.java | 14 +- .../model/X_S_ResourceUnAvailable.java | 6 +- .../org/compiere/model/X_S_TimeExpense.java | 12 +- .../compiere/model/X_S_TimeExpenseLine.java | 54 +-- base/src/org/compiere/model/X_S_TimeType.java | 2 +- base/src/org/compiere/model/X_S_Training.java | 14 +- .../compiere/model/X_S_Training_Class.java | 10 +- base/src/org/compiere/model/X_T_Aging.java | 288 +++++++-------- .../model/X_T_DistributionRunDetail.java | 30 +- .../compiere/model/X_T_InventoryValue.java | 26 +- .../src/org/compiere/model/X_T_InvoiceGL.java | 14 +- .../src/org/compiere/model/X_T_Replenish.java | 24 +- base/src/org/compiere/model/X_T_Report.java | 10 +- .../compiere/model/X_T_ReportStatement.java | 10 +- .../org/compiere/model/X_T_Transaction.java | 60 ++-- base/src/org/compiere/model/X_Test.java | 22 +- .../compiere/model/X_U_BlackListCheque.java | 2 +- .../org/compiere/model/X_U_POSTerminal.java | 36 +- base/src/org/compiere/model/X_U_RoleMenu.java | 10 +- base/src/org/compiere/model/X_U_WebMenu.java | 4 +- .../compiere/model/X_U_Web_Properties.java | 4 +- .../org/compiere/model/X_W_Advertisement.java | 16 +- base/src/org/compiere/model/X_W_Basket.java | 14 +- .../org/compiere/model/X_W_BasketLine.java | 10 +- base/src/org/compiere/model/X_W_Click.java | 6 +- .../org/compiere/model/X_W_ClickCount.java | 4 +- base/src/org/compiere/model/X_W_Counter.java | 6 +- .../org/compiere/model/X_W_CounterCount.java | 4 +- base/src/org/compiere/model/X_W_MailMsg.java | 6 +- base/src/org/compiere/model/X_W_Store.java | 16 +- 194 files changed, 2047 insertions(+), 2234 deletions(-) diff --git a/base/src/org/compiere/model/X_I_BPartner.java b/base/src/org/compiere/model/X_I_BPartner.java index 4f21180e55..bc43e762da 100644 --- a/base/src/org/compiere/model/X_I_BPartner.java +++ b/base/src/org/compiere/model/X_I_BPartner.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for I_BPartner * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent { @@ -109,7 +109,7 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent return (String)get_Value(COLUMNNAME_Address2); } - 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; @@ -120,7 +120,7 @@ public class X_I_BPartner extends PO implements I_I_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; } @@ -182,7 +182,7 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent return (String)get_Value(COLUMNNAME_BPContactGreeting); } - 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; @@ -193,7 +193,7 @@ public class X_I_BPartner extends PO implements I_I_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; } @@ -221,7 +221,7 @@ public class X_I_BPartner extends PO implements I_I_BPartner, 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; @@ -232,7 +232,7 @@ public class X_I_BPartner extends PO implements I_I_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; } @@ -260,7 +260,7 @@ public class X_I_BPartner extends PO implements I_I_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; @@ -271,7 +271,7 @@ public class X_I_BPartner extends PO implements I_I_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; } @@ -299,7 +299,7 @@ public class X_I_BPartner extends PO implements I_I_BPartner, 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; @@ -310,7 +310,7 @@ public class X_I_BPartner extends PO implements I_I_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; } @@ -338,7 +338,7 @@ public class X_I_BPartner extends PO implements I_I_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; @@ -349,7 +349,7 @@ public class X_I_BPartner extends PO implements I_I_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; } @@ -462,7 +462,7 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent return (String)get_Value(COLUMNNAME_CountryCode); } - 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; @@ -473,7 +473,7 @@ public class X_I_BPartner extends PO implements I_I_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; } @@ -861,7 +861,7 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent return (String)get_Value(COLUMNNAME_RegionName); } - public I_R_InterestArea getR_InterestArea() throws Exception + public I_R_InterestArea getR_InterestArea() throws RuntimeException { Class clazz = MTable.getClass(I_R_InterestArea.Table_Name); I_R_InterestArea result = null; @@ -872,7 +872,7 @@ public class X_I_BPartner extends PO implements I_I_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; } diff --git a/base/src/org/compiere/model/X_I_Conversion_Rate.java b/base/src/org/compiere/model/X_I_Conversion_Rate.java index d8bde5d0c0..cf1e80b27b 100644 --- a/base/src/org/compiere/model/X_I_Conversion_Rate.java +++ b/base/src/org/compiere/model/X_I_Conversion_Rate.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for I_Conversion_Rate * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_I_Conversion_Rate extends PO implements I_I_Conversion_Rate, I_Persistent { @@ -75,7 +75,7 @@ public class X_I_Conversion_Rate extends PO implements I_I_Conversion_Rate, I_Pe return sb.toString(); } - public I_C_Conversion_Rate getC_Conversion_Rate() throws Exception + public I_C_Conversion_Rate getC_Conversion_Rate() throws RuntimeException { Class clazz = MTable.getClass(I_C_Conversion_Rate.Table_Name); I_C_Conversion_Rate result = null; @@ -86,7 +86,7 @@ public class X_I_Conversion_Rate extends PO implements I_I_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; } @@ -114,7 +114,7 @@ public class X_I_Conversion_Rate extends PO implements I_I_Conversion_Rate, I_Pe 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; @@ -125,7 +125,7 @@ public class X_I_Conversion_Rate extends PO implements I_I_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; } @@ -153,7 +153,7 @@ public class X_I_Conversion_Rate extends PO implements I_I_Conversion_Rate, 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; @@ -164,7 +164,7 @@ public class X_I_Conversion_Rate extends PO implements I_I_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; } @@ -192,8 +192,6 @@ public class X_I_Conversion_Rate extends PO implements I_I_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_I_ElementValue.java b/base/src/org/compiere/model/X_I_ElementValue.java index d94203a69c..99bda4bca6 100644 --- a/base/src/org/compiere/model/X_I_ElementValue.java +++ b/base/src/org/compiere/model/X_I_ElementValue.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for I_ElementValue * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persistent { @@ -131,8 +131,6 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste return (String)get_Value(COLUMNNAME_AccountType); } - /** AD_Column_ID AD_Reference_ID=272 */ - public static final int AD_COLUMN_ID_AD_Reference_ID=272; /** Set Column. @param AD_Column_ID Column in the table @@ -156,7 +154,7 @@ public class X_I_ElementValue extends PO implements I_I_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; @@ -167,7 +165,7 @@ public class X_I_ElementValue extends PO implements I_I_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; } @@ -195,7 +193,7 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste 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; @@ -206,7 +204,7 @@ public class X_I_ElementValue extends PO implements I_I_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; } @@ -413,8 +411,6 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste return (String)get_Value(COLUMNNAME_Name); } - /** ParentElementValue_ID AD_Reference_ID=182 */ - public static final int PARENTELEMENTVALUE_ID_AD_Reference_ID=182; /** Set Parent Account. @param ParentElementValue_ID The parent (summary) account diff --git a/base/src/org/compiere/model/X_I_FAJournal.java b/base/src/org/compiere/model/X_I_FAJournal.java index fa05fc78e7..f6c03da346 100644 --- a/base/src/org/compiere/model/X_I_FAJournal.java +++ b/base/src/org/compiere/model/X_I_FAJournal.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for I_FAJournal * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent { @@ -99,8 +99,6 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return ii.intValue(); } - /** Account_ID AD_Reference_ID=331 */ - public static final int ACCOUNT_ID_AD_Reference_ID=331; /** Set Account. @param Account_ID Account used @@ -158,8 +156,6 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return (String)get_Value(COLUMNNAME_AcctSchemaName); } - /** AD_OrgDoc_ID AD_Reference_ID=130 */ - public static final int AD_ORGDOC_ID_AD_Reference_ID=130; /** Set Document Org. @param AD_OrgDoc_ID Document Organization (independent from account organization) @@ -183,8 +179,6 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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 @@ -208,15 +202,15 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return ii.intValue(); } - /** Set A_Entry_Type. - @param A_Entry_Type A_Entry_Type */ + /** Set Entry Type. + @param A_Entry_Type Entry Type */ public void setA_Entry_Type (String A_Entry_Type) { set_Value (COLUMNNAME_A_Entry_Type, A_Entry_Type); } - /** Get A_Entry_Type. - @return A_Entry_Type */ + /** Get Entry Type. + @return Entry Type */ public String getA_Entry_Type () { return (String)get_Value(COLUMNNAME_A_Entry_Type); @@ -353,7 +347,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return (String)get_Value(COLUMNNAME_BPartnerValue); } - 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; @@ -364,7 +358,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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; } @@ -392,7 +386,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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; @@ -403,7 +397,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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; } @@ -448,7 +442,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return (String)get_Value(COLUMNNAME_CategoryName); } - 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; @@ -459,7 +453,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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; } @@ -487,7 +481,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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; @@ -498,7 +492,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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; } @@ -549,7 +543,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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; @@ -560,7 +554,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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; } @@ -588,7 +582,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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; @@ -599,7 +593,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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; } @@ -707,7 +701,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return (String)get_Value(COLUMNNAME_ConversionTypeValue); } - 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; @@ -718,7 +712,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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_I_FAJournal extends PO implements I_I_FAJournal, 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_I_FAJournal extends PO implements I_I_FAJournal, 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; } @@ -785,7 +779,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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; @@ -796,7 +790,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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; } @@ -847,7 +841,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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; @@ -858,7 +852,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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; } @@ -939,7 +933,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return (String)get_Value(COLUMNNAME_CurrencyRateType); } - public I_C_ValidCombination getC_ValidCombination() throws Exception + public I_C_ValidCombination getC_ValidCombination() throws RuntimeException { Class clazz = MTable.getClass(I_C_ValidCombination.Table_Name); I_C_ValidCombination result = null; @@ -950,7 +944,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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; } @@ -1029,7 +1023,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return (String)get_Value(COLUMNNAME_DocTypeName); } - 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; @@ -1040,7 +1034,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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; } @@ -1068,7 +1062,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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; @@ -1079,7 +1073,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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; } @@ -1107,7 +1101,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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; @@ -1118,7 +1112,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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; } @@ -1146,7 +1140,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent 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; @@ -1157,7 +1151,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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; } @@ -1185,7 +1179,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return ii.intValue(); } - public I_GL_JournalLine getGL_JournalLine() throws Exception + public I_GL_JournalLine getGL_JournalLine() throws RuntimeException { Class clazz = MTable.getClass(I_GL_JournalLine.Table_Name); I_GL_JournalLine result = null; @@ -1196,7 +1190,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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; } @@ -1363,7 +1357,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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; @@ -1374,7 +1368,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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; } @@ -1599,6 +1593,52 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent return (String)get_Value(COLUMNNAME_UPC); } + /** Set User List 1. + @param User1_ID + User defined list element #1 + */ + public void setUser1_ID (int User1_ID) + { + if (User1_ID < 1) + set_Value (COLUMNNAME_User1_ID, null); + else + set_Value (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_Value (COLUMNNAME_User2_ID, null); + else + set_Value (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 @@ -1644,54 +1684,4 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, 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_Value (COLUMNNAME_User1_ID, null); - else - set_Value (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_Value (COLUMNNAME_User2_ID, null); - else - set_Value (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_I_GLJournal.java b/base/src/org/compiere/model/X_I_GLJournal.java index 622ca9aee7..2315302ef4 100644 --- a/base/src/org/compiere/model/X_I_GLJournal.java +++ b/base/src/org/compiere/model/X_I_GLJournal.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for I_GLJournal * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent { @@ -76,8 +76,6 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent 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 @@ -135,8 +133,6 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent return (String)get_Value(COLUMNNAME_AcctSchemaName); } - /** AD_OrgDoc_ID AD_Reference_ID=130 */ - public static final int AD_ORGDOC_ID_AD_Reference_ID=130; /** Set Document Org. @param AD_OrgDoc_ID Document Organization (independent from account organization) @@ -160,8 +156,6 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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 @@ -316,7 +310,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent return (String)get_Value(COLUMNNAME_BPartnerValue); } - 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; @@ -327,7 +321,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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,7 +349,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; @@ -366,7 +360,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; } @@ -411,7 +405,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent return (String)get_Value(COLUMNNAME_CategoryName); } - 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; @@ -422,7 +416,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; } @@ -450,7 +444,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; @@ -461,7 +455,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; } @@ -489,7 +483,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; @@ -500,7 +494,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; } @@ -528,7 +522,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; @@ -539,7 +533,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; } @@ -567,7 +561,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; @@ -578,7 +572,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; } @@ -623,8 +617,6 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent return (String)get_Value(COLUMNNAME_ClientValue); } - /** 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 @@ -648,8 +640,6 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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 @@ -690,7 +680,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent return (String)get_Value(COLUMNNAME_ConversionTypeValue); } - 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; @@ -701,7 +691,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; } @@ -729,7 +719,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; @@ -740,7 +730,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; } @@ -768,7 +758,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; @@ -779,7 +769,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; } @@ -807,7 +797,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; @@ -818,7 +808,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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 +856,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent return bd; } - public I_C_ValidCombination getC_ValidCombination() throws Exception + public I_C_ValidCombination getC_ValidCombination() throws RuntimeException { Class clazz = MTable.getClass(I_C_ValidCombination.Table_Name); I_C_ValidCombination result = null; @@ -877,7 +867,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; } @@ -956,7 +946,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent return (String)get_Value(COLUMNNAME_DocTypeName); } - 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; @@ -967,7 +957,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; } @@ -995,7 +985,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; @@ -1006,7 +996,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; } @@ -1034,7 +1024,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; @@ -1045,7 +1035,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; } @@ -1073,7 +1063,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent 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; @@ -1084,7 +1074,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; } @@ -1112,7 +1102,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent return ii.intValue(); } - public I_GL_JournalLine getGL_JournalLine() throws Exception + public I_GL_JournalLine getGL_JournalLine() throws RuntimeException { Class clazz = MTable.getClass(I_GL_JournalLine.Table_Name); I_GL_JournalLine result = null; @@ -1123,7 +1113,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; } @@ -1324,7 +1314,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; @@ -1335,7 +1325,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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; } @@ -1560,8 +1550,6 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent return (String)get_Value(COLUMNNAME_UPC); } - /** 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 @@ -1585,8 +1573,6 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, 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_I_InOutLineConfirm.java b/base/src/org/compiere/model/X_I_InOutLineConfirm.java index 4e6193bc80..0d7740b6ae 100644 --- a/base/src/org/compiere/model/X_I_InOutLineConfirm.java +++ b/base/src/org/compiere/model/X_I_InOutLineConfirm.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for I_InOutLineConfirm * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_I_InOutLineConfirm extends PO implements I_I_InOutLineConfirm, I_Persistent { @@ -231,7 +231,7 @@ public class X_I_InOutLineConfirm extends PO implements I_I_InOutLineConfirm, I_ return false; } - public I_M_InOutLineConfirm getM_InOutLineConfirm() throws Exception + public I_M_InOutLineConfirm getM_InOutLineConfirm() throws RuntimeException { Class clazz = MTable.getClass(I_M_InOutLineConfirm.Table_Name); I_M_InOutLineConfirm result = null; @@ -242,7 +242,7 @@ public class X_I_InOutLineConfirm extends PO implements I_I_InOutLineConfirm, 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_I_Inventory.java b/base/src/org/compiere/model/X_I_Inventory.java index e3bf8773b3..4997ebd246 100644 --- a/base/src/org/compiere/model/X_I_Inventory.java +++ b/base/src/org/compiere/model/X_I_Inventory.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for I_Inventory * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent { @@ -198,7 +198,7 @@ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent return (String)get_Value(COLUMNNAME_Lot); } - public I_M_Inventory getM_Inventory() throws Exception + public I_M_Inventory getM_Inventory() throws RuntimeException { Class clazz = MTable.getClass(I_M_Inventory.Table_Name); I_M_Inventory result = null; @@ -209,7 +209,7 @@ public class X_I_Inventory extends PO implements I_I_Inventory, 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_I_Inventory extends PO implements I_I_Inventory, I_Persistent return ii.intValue(); } - public I_M_InventoryLine getM_InventoryLine() throws Exception + public I_M_InventoryLine getM_InventoryLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_InventoryLine.Table_Name); I_M_InventoryLine result = null; @@ -248,7 +248,7 @@ public class X_I_Inventory extends PO implements I_I_Inventory, 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; } @@ -276,7 +276,7 @@ public class X_I_Inventory extends PO implements I_I_Inventory, 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; @@ -287,7 +287,7 @@ public class X_I_Inventory extends PO implements I_I_Inventory, 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 +332,7 @@ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent return (Timestamp)get_Value(COLUMNNAME_MovementDate); } - 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; @@ -343,7 +343,7 @@ public class X_I_Inventory extends PO implements I_I_Inventory, 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,7 +371,7 @@ public class X_I_Inventory extends PO implements I_I_Inventory, 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; @@ -382,7 +382,7 @@ public class X_I_Inventory extends PO implements I_I_Inventory, 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_Invoice.java b/base/src/org/compiere/model/X_I_Invoice.java index d38e7fe1d9..3d6791e7b4 100644 --- a/base/src/org/compiere/model/X_I_Invoice.java +++ b/base/src/org/compiere/model/X_I_Invoice.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for I_Invoice * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent { @@ -123,8 +123,6 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent return (String)get_Value(COLUMNNAME_Address2); } - /** 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 @@ -148,7 +146,7 @@ public class X_I_Invoice extends PO implements I_I_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; @@ -159,7 +157,7 @@ public class X_I_Invoice extends PO implements I_I_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; } @@ -204,7 +202,7 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent return (String)get_Value(COLUMNNAME_BPartnerValue); } - 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; @@ -215,7 +213,7 @@ public class X_I_Invoice extends PO implements I_I_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; } @@ -243,7 +241,7 @@ public class X_I_Invoice extends PO implements I_I_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; @@ -254,7 +252,7 @@ public class X_I_Invoice extends PO implements I_I_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; } @@ -282,7 +280,7 @@ public class X_I_Invoice extends PO implements I_I_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; @@ -293,7 +291,7 @@ public class X_I_Invoice extends PO implements I_I_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; } @@ -321,7 +319,7 @@ public class X_I_Invoice extends PO implements I_I_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; @@ -332,7 +330,7 @@ public class X_I_Invoice extends PO implements I_I_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; } @@ -360,7 +358,7 @@ public class X_I_Invoice extends PO implements I_I_Invoice, 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; @@ -371,7 +369,7 @@ public class X_I_Invoice extends PO implements I_I_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; } @@ -399,7 +397,7 @@ public class X_I_Invoice extends PO implements I_I_Invoice, 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; @@ -410,7 +408,7 @@ public class X_I_Invoice extends PO implements I_I_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; } @@ -438,7 +436,7 @@ public class X_I_Invoice extends PO implements I_I_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; @@ -449,7 +447,7 @@ public class X_I_Invoice extends PO implements I_I_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; } @@ -477,7 +475,7 @@ public class X_I_Invoice extends PO implements I_I_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; @@ -488,7 +486,7 @@ public class X_I_Invoice extends PO implements I_I_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; } @@ -533,7 +531,7 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent 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; @@ -544,7 +542,7 @@ public class X_I_Invoice extends PO implements I_I_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; } @@ -572,7 +570,7 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent 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; @@ -583,7 +581,7 @@ public class X_I_Invoice extends PO implements I_I_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; } @@ -628,7 +626,7 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent return (String)get_Value(COLUMNNAME_City); } - 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; @@ -639,7 +637,7 @@ public class X_I_Invoice extends PO implements I_I_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 +706,7 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent 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; @@ -719,7 +717,7 @@ public class X_I_Invoice extends PO implements I_I_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; } @@ -747,7 +745,7 @@ public class X_I_Invoice extends PO implements I_I_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; @@ -758,7 +756,7 @@ public class X_I_Invoice extends PO implements I_I_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; } @@ -786,7 +784,7 @@ public class X_I_Invoice extends PO implements I_I_Invoice, 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; @@ -797,7 +795,7 @@ public class X_I_Invoice extends PO implements I_I_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; } @@ -825,7 +823,7 @@ public class X_I_Invoice extends PO implements I_I_Invoice, 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; @@ -836,7 +834,7 @@ public class X_I_Invoice extends PO implements I_I_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; } @@ -1070,7 +1068,7 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent return (String)get_Value(COLUMNNAME_LineDescription); } - 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; @@ -1081,7 +1079,7 @@ public class X_I_Invoice extends PO implements I_I_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; } @@ -1109,7 +1107,7 @@ public class X_I_Invoice extends PO implements I_I_Invoice, 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; @@ -1120,7 +1118,7 @@ public class X_I_Invoice extends PO implements I_I_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; } @@ -1352,8 +1350,6 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent return (String)get_Value(COLUMNNAME_RegionName); } - /** 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_I_Order.java b/base/src/org/compiere/model/X_I_Order.java index fe8fbdec94..147daa1e52 100644 --- a/base/src/org/compiere/model/X_I_Order.java +++ b/base/src/org/compiere/model/X_I_Order.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for I_Order * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_I_Order extends PO implements I_I_Order, I_Persistent { @@ -109,8 +109,6 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent return (String)get_Value(COLUMNNAME_Address2); } - /** 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 @@ -134,7 +132,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; @@ -145,7 +143,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; } @@ -173,8 +171,6 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent return ii.intValue(); } - /** BillTo_ID AD_Reference_ID=159 */ - public static final int BILLTO_ID_AD_Reference_ID=159; /** Set Invoice To. @param BillTo_ID Bill to Address @@ -215,7 +211,7 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent return (String)get_Value(COLUMNNAME_BPartnerValue); } - 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; @@ -226,7 +222,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; } @@ -254,7 +250,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; @@ -265,7 +261,7 @@ public class X_I_Order extends PO implements I_I_Order, 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 +289,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; @@ -304,7 +300,7 @@ public class X_I_Order extends PO implements I_I_Order, 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 +328,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; @@ -343,7 +339,7 @@ public class X_I_Order extends PO implements I_I_Order, 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,7 +367,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; @@ -382,7 +378,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; } @@ -410,7 +406,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; @@ -421,7 +417,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; } @@ -449,7 +445,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; @@ -460,7 +456,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; } @@ -488,7 +484,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; @@ -499,7 +495,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; } @@ -561,7 +557,7 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent return (String)get_Value(COLUMNNAME_City); } - 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; @@ -572,7 +568,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; } @@ -617,7 +613,7 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent return (String)get_Value(COLUMNNAME_ContactName); } - 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; @@ -628,7 +624,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; } @@ -656,7 +652,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; @@ -667,7 +663,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; } @@ -712,7 +708,7 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent return (String)get_Value(COLUMNNAME_CountryCode); } - 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; @@ -723,7 +719,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; } @@ -751,7 +747,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; @@ -762,7 +758,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; } @@ -790,7 +786,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; @@ -801,7 +797,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; } @@ -829,7 +825,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; @@ -840,7 +836,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; } @@ -868,7 +864,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; @@ -879,7 +875,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; } @@ -1133,7 +1129,7 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent return (String)get_Value(COLUMNNAME_LineDescription); } - 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; @@ -1144,7 +1140,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; } @@ -1172,7 +1168,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; @@ -1183,7 +1179,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; } @@ -1211,7 +1207,7 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent return ii.intValue(); } - public I_M_Shipper getM_Shipper() throws Exception + public I_M_Shipper getM_Shipper() throws RuntimeException { Class clazz = MTable.getClass(I_M_Shipper.Table_Name); I_M_Shipper result = null; @@ -1222,7 +1218,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; } @@ -1250,7 +1246,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; @@ -1261,7 +1257,7 @@ public class X_I_Order extends PO implements I_I_Order, 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; } @@ -1476,8 +1472,6 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent return (String)get_Value(COLUMNNAME_RegionName); } - /** 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_I_Payment.java b/base/src/org/compiere/model/X_I_Payment.java index c0b6a59138..2d0363b52f 100644 --- a/base/src/org/compiere/model/X_I_Payment.java +++ b/base/src/org/compiere/model/X_I_Payment.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for I_Payment * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent { @@ -279,7 +279,7 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent 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; @@ -290,7 +290,7 @@ public class X_I_Payment extends PO implements I_I_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; } @@ -318,7 +318,7 @@ public class X_I_Payment extends PO implements I_I_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; @@ -329,7 +329,7 @@ public class X_I_Payment extends PO implements I_I_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; } @@ -357,7 +357,7 @@ public class X_I_Payment extends PO implements I_I_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; @@ -368,7 +368,7 @@ public class X_I_Payment extends PO implements I_I_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; } @@ -396,7 +396,7 @@ public class X_I_Payment extends PO implements I_I_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; @@ -407,7 +407,7 @@ public class X_I_Payment extends PO implements I_I_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; } @@ -435,7 +435,7 @@ public class X_I_Payment extends PO implements I_I_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; @@ -446,7 +446,7 @@ public class X_I_Payment extends PO implements I_I_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; } @@ -528,7 +528,7 @@ public class X_I_Payment extends PO implements I_I_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; @@ -539,7 +539,7 @@ public class X_I_Payment extends PO implements I_I_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; } @@ -567,7 +567,7 @@ public class X_I_Payment extends PO implements I_I_Payment, 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; @@ -578,7 +578,7 @@ public class X_I_Payment extends PO implements I_I_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; } @@ -1306,6 +1306,8 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent public static final String TENDERTYPE_DirectDebit = "D"; /** Account = T */ public static final String TENDERTYPE_Account = "T"; + /** Cash = X */ + public static final String TENDERTYPE_Cash = "X"; /** Set Tender type. @param TenderType Method of Payment @@ -1313,7 +1315,7 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent public void setTenderType (String TenderType) { - if (TenderType == null || TenderType.equals("C") || TenderType.equals("K") || TenderType.equals("A") || TenderType.equals("D") || TenderType.equals("T")); else throw new IllegalArgumentException ("TenderType Invalid value - " + TenderType + " - Reference_ID=214 - C - K - A - D - T"); set_Value (COLUMNNAME_TenderType, TenderType); + if (TenderType == null || TenderType.equals("C") || TenderType.equals("K") || TenderType.equals("A") || TenderType.equals("D") || TenderType.equals("T") || TenderType.equals("X")); else throw new IllegalArgumentException ("TenderType Invalid value - " + TenderType + " - Reference_ID=214 - C - K - A - D - T - X"); set_Value (COLUMNNAME_TenderType, TenderType); } /** Get Tender type. diff --git a/base/src/org/compiere/model/X_I_Product.java b/base/src/org/compiere/model/X_I_Product.java index 2ea7a80c1d..dccf8185a1 100644 --- a/base/src/org/compiere/model/X_I_Product.java +++ b/base/src/org/compiere/model/X_I_Product.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for I_Product * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_I_Product extends PO implements I_I_Product, I_Persistent { @@ -93,7 +93,7 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent return (String)get_Value(COLUMNNAME_BPartner_Value); } - 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; @@ -104,7 +104,7 @@ public class X_I_Product extends PO implements I_I_Product, 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,7 +132,7 @@ public class X_I_Product extends PO implements I_I_Product, 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; @@ -143,7 +143,7 @@ public class X_I_Product extends PO implements I_I_Product, 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; } @@ -208,7 +208,7 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent return bd; } - 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; @@ -219,7 +219,7 @@ public class X_I_Product extends PO implements I_I_Product, 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; } @@ -490,7 +490,7 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent return (String)get_Value(COLUMNNAME_Manufacturer); } - 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; @@ -501,7 +501,7 @@ public class X_I_Product extends PO implements I_I_Product, 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; } @@ -529,7 +529,7 @@ public class X_I_Product extends PO implements I_I_Product, 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; @@ -540,7 +540,7 @@ public class X_I_Product extends PO implements I_I_Product, 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_ReportLine.java b/base/src/org/compiere/model/X_I_ReportLine.java index 6b3ec198ae..597b71a1e3 100644 --- a/base/src/org/compiere/model/X_I_ReportLine.java +++ b/base/src/org/compiere/model/X_I_ReportLine.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for I_ReportLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent { @@ -99,6 +99,8 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent public static final String AMOUNTTYPE_YearDebitOnly = "DY"; /** Year Quantity = QY */ public static final String AMOUNTTYPE_YearQuantity = "QY"; + /** Natural Balance = BN */ + public static final String AMOUNTTYPE_NaturalBalance = "BN"; /** Set Amount Type. @param AmountType Type of amount to report @@ -106,7 +108,7 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent public void setAmountType (String AmountType) { - if (AmountType == null || AmountType.equals("DT") || AmountType.equals("CT") || AmountType.equals("BT") || AmountType.equals("BP") || AmountType.equals("CP") || AmountType.equals("DP") || AmountType.equals("QP") || AmountType.equals("QT") || AmountType.equals("BY") || AmountType.equals("CY") || AmountType.equals("DY") || AmountType.equals("QY")); else throw new IllegalArgumentException ("AmountType Invalid value - " + AmountType + " - Reference_ID=235 - DT - CT - BT - BP - CP - DP - QP - QT - BY - CY - DY - QY"); set_Value (COLUMNNAME_AmountType, AmountType); + if (AmountType == null || AmountType.equals("DT") || AmountType.equals("CT") || AmountType.equals("BT") || AmountType.equals("BP") || AmountType.equals("CP") || AmountType.equals("DP") || AmountType.equals("QP") || AmountType.equals("QT") || AmountType.equals("BY") || AmountType.equals("CY") || AmountType.equals("DY") || AmountType.equals("QY") || AmountType.equals("BN")); else throw new IllegalArgumentException ("AmountType Invalid value - " + AmountType + " - Reference_ID=235 - DT - CT - BT - BP - CP - DP - QP - QT - BY - CY - DY - QY - BN"); set_Value (COLUMNNAME_AmountType, AmountType); } /** Get Amount Type. @@ -142,7 +144,7 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent return (String)get_Value(COLUMNNAME_CalculationType); } - 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; @@ -153,7 +155,7 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, 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; } @@ -372,7 +374,7 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent return new KeyNamePair(get_ID(), getName()); } - public I_PA_ReportLine getPA_ReportLine() throws Exception + public I_PA_ReportLine getPA_ReportLine() throws RuntimeException { Class clazz = MTable.getClass(I_PA_ReportLine.Table_Name); I_PA_ReportLine result = null; @@ -383,7 +385,7 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, 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; } @@ -408,7 +410,7 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent return ii.intValue(); } - public I_PA_ReportLineSet getPA_ReportLineSet() throws Exception + public I_PA_ReportLineSet getPA_ReportLineSet() throws RuntimeException { Class clazz = MTable.getClass(I_PA_ReportLineSet.Table_Name); I_PA_ReportLineSet result = null; @@ -419,7 +421,7 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, 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; } @@ -444,7 +446,7 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent return ii.intValue(); } - public I_PA_ReportSource getPA_ReportSource() throws Exception + public I_PA_ReportSource getPA_ReportSource() throws RuntimeException { Class clazz = MTable.getClass(I_PA_ReportSource.Table_Name); I_PA_ReportSource result = null; @@ -455,7 +457,7 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, 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_K_Category.java b/base/src/org/compiere/model/X_K_Category.java index 07d5ab2650..15d6f1a992 100644 --- a/base/src/org/compiere/model/X_K_Category.java +++ b/base/src/org/compiere/model/X_K_Category.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_Category * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_K_Category extends PO implements I_K_Category, I_Persistent { diff --git a/base/src/org/compiere/model/X_K_CategoryValue.java b/base/src/org/compiere/model/X_K_CategoryValue.java index f01edb5758..b930b94637 100644 --- a/base/src/org/compiere/model/X_K_CategoryValue.java +++ b/base/src/org/compiere/model/X_K_CategoryValue.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_CategoryValue * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_K_CategoryValue extends PO implements I_K_CategoryValue, I_Persistent { @@ -91,7 +91,7 @@ public class X_K_CategoryValue extends PO implements I_K_CategoryValue, I_Persis return (String)get_Value(COLUMNNAME_Description); } - public I_K_Category getK_Category() throws Exception + public I_K_Category getK_Category() throws RuntimeException { Class clazz = MTable.getClass(I_K_Category.Table_Name); I_K_Category result = null; @@ -102,7 +102,7 @@ public class X_K_CategoryValue extends PO implements I_K_CategoryValue, 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_K_Comment.java b/base/src/org/compiere/model/X_K_Comment.java index 1303de1392..719d13c0d6 100644 --- a/base/src/org/compiere/model/X_K_Comment.java +++ b/base/src/org/compiere/model/X_K_Comment.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_Comment * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_K_Comment extends PO implements I_K_Comment, I_Persistent { @@ -77,7 +77,7 @@ public class X_K_Comment extends PO implements I_K_Comment, I_Persistent return sb.toString(); } - public I_AD_Session getAD_Session() throws Exception + public I_AD_Session getAD_Session() throws RuntimeException { Class clazz = MTable.getClass(I_AD_Session.Table_Name); I_AD_Session result = null; @@ -88,7 +88,7 @@ public class X_K_Comment extends PO implements I_K_Comment, 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_K_Comment extends PO implements I_K_Comment, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getK_Comment_ID())); } - public I_K_Entry getK_Entry() throws Exception + public I_K_Entry getK_Entry() throws RuntimeException { Class clazz = MTable.getClass(I_K_Entry.Table_Name); I_K_Entry result = null; @@ -181,7 +181,7 @@ public class X_K_Comment extends PO implements I_K_Comment, 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_K_Entry.java b/base/src/org/compiere/model/X_K_Entry.java index d7b70f2c55..0d8d3a2b7b 100644 --- a/base/src/org/compiere/model/X_K_Entry.java +++ b/base/src/org/compiere/model/X_K_Entry.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_Entry * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_K_Entry extends PO implements I_K_Entry, I_Persistent { @@ -79,7 +79,7 @@ public class X_K_Entry extends PO implements I_K_Entry, I_Persistent return sb.toString(); } - public I_AD_Session getAD_Session() throws Exception + public I_AD_Session getAD_Session() throws RuntimeException { Class clazz = MTable.getClass(I_AD_Session.Table_Name); I_AD_Session result = null; @@ -90,7 +90,7 @@ public class X_K_Entry extends PO implements I_K_Entry, 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; } @@ -198,7 +198,7 @@ public class X_K_Entry extends PO implements I_K_Entry, I_Persistent return (String)get_Value(COLUMNNAME_Keywords); } - public I_K_Source getK_Source() throws Exception + public I_K_Source getK_Source() throws RuntimeException { Class clazz = MTable.getClass(I_K_Source.Table_Name); I_K_Source result = null; @@ -209,7 +209,7 @@ public class X_K_Entry extends PO implements I_K_Entry, 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_K_Entry extends PO implements I_K_Entry, I_Persistent return ii.intValue(); } - public I_K_Topic getK_Topic() throws Exception + public I_K_Topic getK_Topic() throws RuntimeException { Class clazz = MTable.getClass(I_K_Topic.Table_Name); I_K_Topic result = null; @@ -248,7 +248,7 @@ public class X_K_Entry extends PO implements I_K_Entry, 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_K_EntryCategory.java b/base/src/org/compiere/model/X_K_EntryCategory.java index c132092125..22f1ab2707 100644 --- a/base/src/org/compiere/model/X_K_EntryCategory.java +++ b/base/src/org/compiere/model/X_K_EntryCategory.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_EntryCategory * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_K_EntryCategory extends PO implements I_K_EntryCategory, I_Persistent { @@ -74,7 +74,7 @@ public class X_K_EntryCategory extends PO implements I_K_EntryCategory, I_Persis return sb.toString(); } - public I_K_Category getK_Category() throws Exception + public I_K_Category getK_Category() throws RuntimeException { Class clazz = MTable.getClass(I_K_Category.Table_Name); I_K_Category result = null; @@ -85,7 +85,7 @@ public class X_K_EntryCategory extends PO implements I_K_EntryCategory, 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_K_EntryCategory extends PO implements I_K_EntryCategory, I_Persis return ii.intValue(); } - public I_K_CategoryValue getK_CategoryValue() throws Exception + public I_K_CategoryValue getK_CategoryValue() throws RuntimeException { Class clazz = MTable.getClass(I_K_CategoryValue.Table_Name); I_K_CategoryValue result = null; @@ -123,7 +123,7 @@ public class X_K_EntryCategory extends PO implements I_K_EntryCategory, 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; } @@ -158,7 +158,7 @@ public class X_K_EntryCategory extends PO implements I_K_EntryCategory, I_Persis return new KeyNamePair(get_ID(), String.valueOf(getK_CategoryValue_ID())); } - public I_K_Entry getK_Entry() throws Exception + public I_K_Entry getK_Entry() throws RuntimeException { Class clazz = MTable.getClass(I_K_Entry.Table_Name); I_K_Entry result = null; @@ -169,7 +169,7 @@ public class X_K_EntryCategory extends PO implements I_K_EntryCategory, 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_K_EntryRelated.java b/base/src/org/compiere/model/X_K_EntryRelated.java index f40f57269a..b9de788672 100644 --- a/base/src/org/compiere/model/X_K_EntryRelated.java +++ b/base/src/org/compiere/model/X_K_EntryRelated.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_EntryRelated * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_K_EntryRelated extends PO implements I_K_EntryRelated, I_Persistent { @@ -73,7 +73,7 @@ public class X_K_EntryRelated extends PO implements I_K_EntryRelated, I_Persiste return sb.toString(); } - public I_K_Entry getK_Entry() throws Exception + public I_K_Entry getK_Entry() throws RuntimeException { Class clazz = MTable.getClass(I_K_Entry.Table_Name); I_K_Entry result = null; @@ -84,7 +84,7 @@ public class X_K_EntryRelated extends PO implements I_K_EntryRelated, 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; } @@ -111,8 +111,6 @@ public class X_K_EntryRelated extends PO implements I_K_EntryRelated, I_Persiste return ii.intValue(); } - /** K_EntryRelated_ID AD_Reference_ID=285 */ - public static final int K_ENTRYRELATED_ID_AD_Reference_ID=285; /** Set Related Entry. @param K_EntryRelated_ID Related Entry for this Enntry diff --git a/base/src/org/compiere/model/X_K_Index.java b/base/src/org/compiere/model/X_K_Index.java index fd9e4585a8..6a775552ec 100644 --- a/base/src/org/compiere/model/X_K_Index.java +++ b/base/src/org/compiere/model/X_K_Index.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_Index * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_K_Index extends PO implements I_K_Index, I_Persistent { @@ -77,7 +77,7 @@ public class X_K_Index extends PO implements I_K_Index, 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; @@ -88,7 +88,7 @@ public class X_K_Index extends PO implements I_K_Index, 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_K_Index extends PO implements I_K_Index, 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; @@ -126,7 +126,7 @@ public class X_K_Index extends PO implements I_K_Index, 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; } @@ -154,7 +154,7 @@ public class X_K_Index extends PO implements I_K_Index, 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; @@ -165,7 +165,7 @@ public class X_K_Index extends PO implements I_K_Index, 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_K_Index extends PO implements I_K_Index, I_Persistent return ii.intValue(); } - public I_R_RequestType getR_RequestType() throws Exception + public I_R_RequestType getR_RequestType() throws RuntimeException { Class clazz = MTable.getClass(I_R_RequestType.Table_Name); I_R_RequestType result = null; @@ -292,7 +292,7 @@ public class X_K_Index extends PO implements I_K_Index, 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_K_IndexLog.java b/base/src/org/compiere/model/X_K_IndexLog.java index 2de52d04c6..80b3af570f 100644 --- a/base/src/org/compiere/model/X_K_IndexLog.java +++ b/base/src/org/compiere/model/X_K_IndexLog.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_IndexLog * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_K_IndexLog extends PO implements I_K_IndexLog, I_Persistent { diff --git a/base/src/org/compiere/model/X_K_IndexStop.java b/base/src/org/compiere/model/X_K_IndexStop.java index 2ba4f5565e..9c950bd739 100644 --- a/base/src/org/compiere/model/X_K_IndexStop.java +++ b/base/src/org/compiere/model/X_K_IndexStop.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_IndexStop * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_K_IndexStop extends PO implements I_K_IndexStop, I_Persistent { @@ -75,7 +75,7 @@ public class X_K_IndexStop extends PO implements I_K_IndexStop, I_Persistent return sb.toString(); } - 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; @@ -86,7 +86,7 @@ public class X_K_IndexStop extends PO implements I_K_IndexStop, 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; } @@ -114,7 +114,7 @@ public class X_K_IndexStop extends PO implements I_K_IndexStop, 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; @@ -125,7 +125,7 @@ public class X_K_IndexStop extends PO implements I_K_IndexStop, 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; } @@ -226,7 +226,7 @@ public class X_K_IndexStop extends PO implements I_K_IndexStop, I_Persistent return ii.intValue(); } - public I_R_RequestType getR_RequestType() throws Exception + public I_R_RequestType getR_RequestType() throws RuntimeException { Class clazz = MTable.getClass(I_R_RequestType.Table_Name); I_R_RequestType result = null; @@ -237,7 +237,7 @@ public class X_K_IndexStop extends PO implements I_K_IndexStop, 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_K_Source.java b/base/src/org/compiere/model/X_K_Source.java index e11bc7e258..cee05bb600 100644 --- a/base/src/org/compiere/model/X_K_Source.java +++ b/base/src/org/compiere/model/X_K_Source.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_Source * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_K_Source extends PO implements I_K_Source, I_Persistent { diff --git a/base/src/org/compiere/model/X_K_Synonym.java b/base/src/org/compiere/model/X_K_Synonym.java index 599a7a2e36..f3e55dbb2b 100644 --- a/base/src/org/compiere/model/X_K_Synonym.java +++ b/base/src/org/compiere/model/X_K_Synonym.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_Synonym * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_K_Synonym extends PO implements I_K_Synonym, I_Persistent { diff --git a/base/src/org/compiere/model/X_K_Topic.java b/base/src/org/compiere/model/X_K_Topic.java index adea125d92..befb8ed490 100644 --- a/base/src/org/compiere/model/X_K_Topic.java +++ b/base/src/org/compiere/model/X_K_Topic.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_Topic * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_K_Topic extends PO implements I_K_Topic, I_Persistent { @@ -182,7 +182,7 @@ public class X_K_Topic extends PO implements I_K_Topic, I_Persistent return ii.intValue(); } - public I_K_Type getK_Type() throws Exception + public I_K_Type getK_Type() throws RuntimeException { Class clazz = MTable.getClass(I_K_Type.Table_Name); I_K_Type result = null; @@ -193,7 +193,7 @@ public class X_K_Topic extends PO implements I_K_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_K_Type.java b/base/src/org/compiere/model/X_K_Type.java index 3af9853072..d488a9ab04 100644 --- a/base/src/org/compiere/model/X_K_Type.java +++ b/base/src/org/compiere/model/X_K_Type.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for K_Type * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_K_Type extends PO implements I_K_Type, I_Persistent { diff --git a/base/src/org/compiere/model/X_M_Attribute.java b/base/src/org/compiere/model/X_M_Attribute.java index c1a6c7a623..d352795059 100644 --- a/base/src/org/compiere/model/X_M_Attribute.java +++ b/base/src/org/compiere/model/X_M_Attribute.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Attribute * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Attribute extends PO implements I_M_Attribute, I_Persistent { @@ -190,7 +190,7 @@ public class X_M_Attribute extends PO implements I_M_Attribute, I_Persistent return ii.intValue(); } - public I_M_AttributeSearch getM_AttributeSearch() throws Exception + public I_M_AttributeSearch getM_AttributeSearch() throws RuntimeException { Class clazz = MTable.getClass(I_M_AttributeSearch.Table_Name); I_M_AttributeSearch result = null; @@ -201,7 +201,7 @@ public class X_M_Attribute extends PO implements I_M_Attribute, 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_M_AttributeInstance.java b/base/src/org/compiere/model/X_M_AttributeInstance.java index 6a0459a4df..e5eee4f2d4 100644 --- a/base/src/org/compiere/model/X_M_AttributeInstance.java +++ b/base/src/org/compiere/model/X_M_AttributeInstance.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_AttributeInstance * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_AttributeInstance extends PO implements I_M_AttributeInstance, I_Persistent { @@ -75,7 +75,7 @@ public class X_M_AttributeInstance extends PO implements I_M_AttributeInstance, return sb.toString(); } - public I_M_Attribute getM_Attribute() throws Exception + public I_M_Attribute getM_Attribute() throws RuntimeException { Class clazz = MTable.getClass(I_M_Attribute.Table_Name); I_M_Attribute result = null; @@ -86,7 +86,7 @@ public class X_M_AttributeInstance extends PO implements I_M_AttributeInstance, } catch (Exception e) { log.log(Level.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_M_AttributeInstance extends PO implements I_M_AttributeInstance, return ii.intValue(); } - public I_M_AttributeValue getM_AttributeValue() throws Exception + public I_M_AttributeValue getM_AttributeValue() throws RuntimeException { Class clazz = MTable.getClass(I_M_AttributeValue.Table_Name); I_M_AttributeValue result = null; @@ -146,7 +146,7 @@ public class X_M_AttributeInstance extends PO implements I_M_AttributeInstance, } catch (Exception e) { log.log(Level.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_M_AttributeSearch.java b/base/src/org/compiere/model/X_M_AttributeSearch.java index 9df65d425b..5bf0abeca3 100644 --- a/base/src/org/compiere/model/X_M_AttributeSearch.java +++ b/base/src/org/compiere/model/X_M_AttributeSearch.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_AttributeSearch * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_AttributeSearch extends PO implements I_M_AttributeSearch, I_Persistent { diff --git a/base/src/org/compiere/model/X_M_AttributeSet.java b/base/src/org/compiere/model/X_M_AttributeSet.java index 2b68e7722c..10bae4848b 100644 --- a/base/src/org/compiere/model/X_M_AttributeSet.java +++ b/base/src/org/compiere/model/X_M_AttributeSet.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_AttributeSet * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persistent { @@ -368,7 +368,7 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste return ii.intValue(); } - public I_M_LotCtl getM_LotCtl() throws Exception + public I_M_LotCtl getM_LotCtl() throws RuntimeException { Class clazz = MTable.getClass(I_M_LotCtl.Table_Name); I_M_LotCtl result = null; @@ -379,7 +379,7 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, 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; } @@ -407,7 +407,7 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste return ii.intValue(); } - public I_M_SerNoCtl getM_SerNoCtl() throws Exception + public I_M_SerNoCtl getM_SerNoCtl() throws RuntimeException { Class clazz = MTable.getClass(I_M_SerNoCtl.Table_Name); I_M_SerNoCtl result = null; @@ -418,7 +418,7 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, 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_M_AttributeSetExclude.java b/base/src/org/compiere/model/X_M_AttributeSetExclude.java index 002ccf15c8..c3868fcbe2 100644 --- a/base/src/org/compiere/model/X_M_AttributeSetExclude.java +++ b/base/src/org/compiere/model/X_M_AttributeSetExclude.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for M_AttributeSetExclude * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_AttributeSetExclude extends PO implements I_M_AttributeSetExclude, I_Persistent { @@ -74,7 +74,7 @@ public class X_M_AttributeSetExclude extends PO implements I_M_AttributeSetExclu 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_M_AttributeSetExclude extends PO implements I_M_AttributeSetExclu } catch (Exception e) { log.log(Level.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_M_AttributeSetExclude extends PO implements I_M_AttributeSetExclu return ii.intValue(); } - public I_M_AttributeSet getM_AttributeSet() throws Exception + public I_M_AttributeSet getM_AttributeSet() throws RuntimeException { Class clazz = MTable.getClass(I_M_AttributeSet.Table_Name); I_M_AttributeSet result = null; @@ -169,7 +169,7 @@ public class X_M_AttributeSetExclude extends PO implements I_M_AttributeSetExclu } catch (Exception e) { log.log(Level.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_M_AttributeSetInstance.java b/base/src/org/compiere/model/X_M_AttributeSetInstance.java index ba8d71c8d4..8a62923937 100644 --- a/base/src/org/compiere/model/X_M_AttributeSetInstance.java +++ b/base/src/org/compiere/model/X_M_AttributeSetInstance.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_AttributeSetInstance * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_AttributeSetInstance extends PO implements I_M_AttributeSetInstance, I_Persistent { @@ -125,7 +125,7 @@ public class X_M_AttributeSetInstance extends PO implements I_M_AttributeSetInst return (String)get_Value(COLUMNNAME_Lot); } - public I_M_AttributeSet getM_AttributeSet() throws Exception + public I_M_AttributeSet getM_AttributeSet() throws RuntimeException { Class clazz = MTable.getClass(I_M_AttributeSet.Table_Name); I_M_AttributeSet result = null; @@ -136,7 +136,7 @@ public class X_M_AttributeSetInstance extends PO implements I_M_AttributeSetInst } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -193,7 +193,7 @@ public class X_M_AttributeSetInstance extends PO implements I_M_AttributeSetInst return new KeyNamePair(get_ID(), String.valueOf(getM_AttributeSetInstance_ID())); } - public I_M_Lot getM_Lot() throws Exception + public I_M_Lot getM_Lot() throws RuntimeException { Class clazz = MTable.getClass(I_M_Lot.Table_Name); I_M_Lot result = null; @@ -204,7 +204,7 @@ public class X_M_AttributeSetInstance extends PO implements I_M_AttributeSetInst } catch (Exception e) { log.log(Level.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_M_AttributeUse.java b/base/src/org/compiere/model/X_M_AttributeUse.java index eabf18d02c..743d5e35ab 100644 --- a/base/src/org/compiere/model/X_M_AttributeUse.java +++ b/base/src/org/compiere/model/X_M_AttributeUse.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_AttributeUse * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_AttributeUse extends PO implements I_M_AttributeUse, I_Persistent { @@ -75,7 +75,7 @@ public class X_M_AttributeUse extends PO implements I_M_AttributeUse, I_Persiste return sb.toString(); } - public I_M_Attribute getM_Attribute() throws Exception + public I_M_Attribute getM_Attribute() throws RuntimeException { Class clazz = MTable.getClass(I_M_Attribute.Table_Name); I_M_Attribute result = null; @@ -86,7 +86,7 @@ public class X_M_AttributeUse extends PO implements I_M_AttributeUse, 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; } @@ -113,7 +113,7 @@ public class X_M_AttributeUse extends PO implements I_M_AttributeUse, I_Persiste return ii.intValue(); } - public I_M_AttributeSet getM_AttributeSet() throws Exception + public I_M_AttributeSet getM_AttributeSet() throws RuntimeException { Class clazz = MTable.getClass(I_M_AttributeSet.Table_Name); I_M_AttributeSet result = null; @@ -124,7 +124,7 @@ public class X_M_AttributeUse extends PO implements I_M_AttributeUse, 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_M_AttributeValue.java b/base/src/org/compiere/model/X_M_AttributeValue.java index 995b0c3bbc..36c1ef4e4a 100644 --- a/base/src/org/compiere/model/X_M_AttributeValue.java +++ b/base/src/org/compiere/model/X_M_AttributeValue.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_AttributeValue * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_AttributeValue extends PO implements I_M_AttributeValue, I_Persistent { @@ -92,7 +92,7 @@ public class X_M_AttributeValue extends PO implements I_M_AttributeValue, I_Pers return (String)get_Value(COLUMNNAME_Description); } - public I_M_Attribute getM_Attribute() throws Exception + public I_M_Attribute getM_Attribute() throws RuntimeException { Class clazz = MTable.getClass(I_M_Attribute.Table_Name); I_M_Attribute result = null; @@ -103,7 +103,7 @@ public class X_M_AttributeValue extends PO implements I_M_AttributeValue, 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_M_BOM.java b/base/src/org/compiere/model/X_M_BOM.java index 79a0398fb5..03b515efac 100644 --- a/base/src/org/compiere/model/X_M_BOM.java +++ b/base/src/org/compiere/model/X_M_BOM.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_BOM * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_BOM extends PO implements I_M_BOM, I_Persistent { @@ -200,7 +200,7 @@ public class X_M_BOM extends PO implements I_M_BOM, I_Persistent return ii.intValue(); } - public I_M_ChangeNotice getM_ChangeNotice() throws Exception + public I_M_ChangeNotice getM_ChangeNotice() throws RuntimeException { Class clazz = MTable.getClass(I_M_ChangeNotice.Table_Name); I_M_ChangeNotice result = null; @@ -211,7 +211,7 @@ public class X_M_BOM extends PO implements I_M_BOM, 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; } @@ -239,7 +239,7 @@ public class X_M_BOM extends PO implements I_M_BOM, 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; @@ -250,7 +250,7 @@ public class X_M_BOM extends PO implements I_M_BOM, 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_M_BOMAlternative.java b/base/src/org/compiere/model/X_M_BOMAlternative.java index cc3b99377c..ea587ed32f 100644 --- a/base/src/org/compiere/model/X_M_BOMAlternative.java +++ b/base/src/org/compiere/model/X_M_BOMAlternative.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_BOMAlternative * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_BOMAlternative extends PO implements I_M_BOMAlternative, I_Persistent { @@ -113,7 +113,7 @@ public class X_M_BOMAlternative extends PO implements I_M_BOMAlternative, 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; @@ -124,7 +124,7 @@ public class X_M_BOMAlternative extends PO implements I_M_BOMAlternative, 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_M_BOMProduct.java b/base/src/org/compiere/model/X_M_BOMProduct.java index f351ff8e3d..b2e6d4a00c 100644 --- a/base/src/org/compiere/model/X_M_BOMProduct.java +++ b/base/src/org/compiere/model/X_M_BOMProduct.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_BOMProduct * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_BOMProduct extends PO implements I_M_BOMProduct, I_Persistent { @@ -264,7 +264,7 @@ public class X_M_BOMProduct extends PO implements I_M_BOMProduct, I_Persistent return ii.intValue(); } - public I_M_BOMAlternative getM_BOMAlternative() throws Exception + public I_M_BOMAlternative getM_BOMAlternative() throws RuntimeException { Class clazz = MTable.getClass(I_M_BOMAlternative.Table_Name); I_M_BOMAlternative result = null; @@ -275,7 +275,7 @@ public class X_M_BOMProduct extends PO implements I_M_BOMProduct, 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; } @@ -303,7 +303,7 @@ public class X_M_BOMProduct extends PO implements I_M_BOMProduct, I_Persistent return ii.intValue(); } - public I_M_BOM getM_BOM() throws Exception + public I_M_BOM getM_BOM() throws RuntimeException { Class clazz = MTable.getClass(I_M_BOM.Table_Name); I_M_BOM result = null; @@ -314,7 +314,7 @@ public class X_M_BOMProduct extends PO implements I_M_BOMProduct, 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; } @@ -363,7 +363,7 @@ public class X_M_BOMProduct extends PO implements I_M_BOMProduct, I_Persistent return ii.intValue(); } - public I_M_ChangeNotice getM_ChangeNotice() throws Exception + public I_M_ChangeNotice getM_ChangeNotice() throws RuntimeException { Class clazz = MTable.getClass(I_M_ChangeNotice.Table_Name); I_M_ChangeNotice result = null; @@ -374,7 +374,7 @@ public class X_M_BOMProduct extends PO implements I_M_BOMProduct, 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; } @@ -402,8 +402,6 @@ public class X_M_BOMProduct extends PO implements I_M_BOMProduct, I_Persistent return ii.intValue(); } - /** M_ProductBOM_ID AD_Reference_ID=162 */ - public static final int M_PRODUCTBOM_ID_AD_Reference_ID=162; /** Set BOM Product. @param M_ProductBOM_ID Bill of Material Component Product @@ -427,7 +425,7 @@ public class X_M_BOMProduct extends PO implements I_M_BOMProduct, I_Persistent return ii.intValue(); } - public I_M_ProductOperation getM_ProductOperation() throws Exception + public I_M_ProductOperation getM_ProductOperation() throws RuntimeException { Class clazz = MTable.getClass(I_M_ProductOperation.Table_Name); I_M_ProductOperation result = null; @@ -438,7 +436,7 @@ public class X_M_BOMProduct extends PO implements I_M_BOMProduct, 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_M_ChangeNotice.java b/base/src/org/compiere/model/X_M_ChangeNotice.java index 9c23a92c27..9301dceefe 100644 --- a/base/src/org/compiere/model/X_M_ChangeNotice.java +++ b/base/src/org/compiere/model/X_M_ChangeNotice.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_ChangeNotice * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_ChangeNotice extends PO implements I_M_ChangeNotice, I_Persistent { diff --git a/base/src/org/compiere/model/X_M_ChangeRequest.java b/base/src/org/compiere/model/X_M_ChangeRequest.java index 5277cbb6c0..265edb69d7 100644 --- a/base/src/org/compiere/model/X_M_ChangeRequest.java +++ b/base/src/org/compiere/model/X_M_ChangeRequest.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_ChangeRequest * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_ChangeRequest extends PO implements I_M_ChangeRequest, I_Persistent { @@ -179,7 +179,7 @@ public class X_M_ChangeRequest extends PO implements I_M_ChangeRequest, I_Persis return false; } - public I_M_ChangeNotice getM_ChangeNotice() throws Exception + public I_M_ChangeNotice getM_ChangeNotice() throws RuntimeException { Class clazz = MTable.getClass(I_M_ChangeNotice.Table_Name); I_M_ChangeNotice result = null; @@ -190,7 +190,7 @@ public class X_M_ChangeRequest extends PO implements I_M_ChangeRequest, 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; } @@ -240,8 +240,6 @@ public class X_M_ChangeRequest extends PO implements I_M_ChangeRequest, I_Persis return ii.intValue(); } - /** M_FixChangeNotice_ID AD_Reference_ID=351 */ - public static final int M_FIXCHANGENOTICE_ID_AD_Reference_ID=351; /** Set Fixed in. @param M_FixChangeNotice_ID Fixed in Change Notice @@ -284,7 +282,7 @@ public class X_M_ChangeRequest extends PO implements I_M_ChangeRequest, I_Persis return (String)get_Value(COLUMNNAME_Name); } - public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws Exception + public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws RuntimeException { Class clazz = MTable.getClass(org.eevolution.model.I_PP_Product_BOM.Table_Name); org.eevolution.model.I_PP_Product_BOM result = null; @@ -295,7 +293,7 @@ public class X_M_ChangeRequest extends PO implements I_M_ChangeRequest, 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_M_Cost.java b/base/src/org/compiere/model/X_M_Cost.java index 1f033dbc16..2e69d74211 100644 --- a/base/src/org/compiere/model/X_M_Cost.java +++ b/base/src/org/compiere/model/X_M_Cost.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for M_Cost * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Cost extends PO implements I_M_Cost, I_Persistent { @@ -81,7 +81,7 @@ public class X_M_Cost extends PO implements I_M_Cost, 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; @@ -92,7 +92,7 @@ public class X_M_Cost extends PO implements I_M_Cost, 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; } @@ -218,8 +218,8 @@ public class X_M_Cost extends PO implements I_M_Cost, I_Persistent return bd; } - /** Set CurrentCostPriceLL. - @param CurrentCostPriceLL CurrentCostPriceLL */ + /** Set Current Cost Price Lower Level. + @param CurrentCostPriceLL Current Cost Price Lower Level */ public void setCurrentCostPriceLL (BigDecimal CurrentCostPriceLL) { if (CurrentCostPriceLL == null) @@ -227,8 +227,8 @@ public class X_M_Cost extends PO implements I_M_Cost, I_Persistent set_Value (COLUMNNAME_CurrentCostPriceLL, CurrentCostPriceLL); } - /** Get CurrentCostPriceLL. - @return CurrentCostPriceLL */ + /** Get Current Cost Price Lower Level. + @return Current Cost Price Lower Level */ public BigDecimal getCurrentCostPriceLL () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CurrentCostPriceLL); @@ -317,7 +317,7 @@ public class X_M_Cost extends PO implements I_M_Cost, I_Persistent 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; @@ -328,7 +328,7 @@ public class X_M_Cost extends PO implements I_M_Cost, 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,7 +355,7 @@ public class X_M_Cost extends PO implements I_M_Cost, I_Persistent return ii.intValue(); } - 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; @@ -366,7 +366,7 @@ public class X_M_Cost extends PO implements I_M_Cost, 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; } @@ -393,7 +393,7 @@ public class X_M_Cost extends PO implements I_M_Cost, 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; @@ -404,7 +404,7 @@ public class X_M_Cost extends PO implements I_M_Cost, 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_M_CostDetail.java b/base/src/org/compiere/model/X_M_CostDetail.java index b931ba4f1d..9043bc349c 100644 --- a/base/src/org/compiere/model/X_M_CostDetail.java +++ b/base/src/org/compiere/model/X_M_CostDetail.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for M_CostDetail * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_CostDetail extends PO implements I_M_CostDetail, I_Persistent { @@ -102,7 +102,7 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, 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; @@ -113,7 +113,7 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, 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_M_CostDetail extends PO implements I_M_CostDetail, I_Persistent 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; @@ -151,7 +151,7 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, 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; } @@ -179,7 +179,7 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, 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; @@ -190,7 +190,7 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, 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; } @@ -218,7 +218,7 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, 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; @@ -229,7 +229,7 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, 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; } @@ -382,7 +382,7 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, I_Persistent 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; @@ -393,7 +393,7 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, 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; } @@ -421,7 +421,7 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, 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; @@ -432,7 +432,7 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, 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; } @@ -460,7 +460,7 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, I_Persistent return ii.intValue(); } - public I_M_InventoryLine getM_InventoryLine() throws Exception + public I_M_InventoryLine getM_InventoryLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_InventoryLine.Table_Name); I_M_InventoryLine result = null; @@ -471,7 +471,7 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, 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; } @@ -499,7 +499,7 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, I_Persistent return ii.intValue(); } - public I_M_MovementLine getM_MovementLine() throws Exception + public I_M_MovementLine getM_MovementLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_MovementLine.Table_Name); I_M_MovementLine result = null; @@ -510,7 +510,7 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, 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; } @@ -538,7 +538,7 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, 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; @@ -549,7 +549,7 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, 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; } @@ -576,7 +576,7 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, I_Persistent return ii.intValue(); } - public I_M_ProductionLine getM_ProductionLine() throws Exception + public I_M_ProductionLine getM_ProductionLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_ProductionLine.Table_Name); I_M_ProductionLine result = null; @@ -587,7 +587,7 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, 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_M_CostElement.java b/base/src/org/compiere/model/X_M_CostElement.java index 0642ba98ee..d2b54713a9 100644 --- a/base/src/org/compiere/model/X_M_CostElement.java +++ b/base/src/org/compiere/model/X_M_CostElement.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_CostElement * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_CostElement extends PO implements I_M_CostElement, I_Persistent { diff --git a/base/src/org/compiere/model/X_M_CostQueue.java b/base/src/org/compiere/model/X_M_CostQueue.java index 7e769e4844..b371ff3f8c 100644 --- a/base/src/org/compiere/model/X_M_CostQueue.java +++ b/base/src/org/compiere/model/X_M_CostQueue.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for M_CostQueue * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_CostQueue extends PO implements I_M_CostQueue, I_Persistent { @@ -80,7 +80,7 @@ public class X_M_CostQueue extends PO implements I_M_CostQueue, 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; @@ -91,7 +91,7 @@ public class X_M_CostQueue extends PO implements I_M_CostQueue, 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; } @@ -184,7 +184,7 @@ public class X_M_CostQueue extends PO implements I_M_CostQueue, I_Persistent 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; @@ -195,7 +195,7 @@ public class X_M_CostQueue extends PO implements I_M_CostQueue, 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; } @@ -244,7 +244,7 @@ public class X_M_CostQueue extends PO implements I_M_CostQueue, I_Persistent return ii.intValue(); } - 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; @@ -255,7 +255,7 @@ public class X_M_CostQueue extends PO implements I_M_CostQueue, 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,7 +282,7 @@ public class X_M_CostQueue extends PO implements I_M_CostQueue, 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; @@ -293,7 +293,7 @@ public class X_M_CostQueue extends PO implements I_M_CostQueue, 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_M_CostType.java b/base/src/org/compiere/model/X_M_CostType.java index 0b841fc9d6..ed713a2021 100644 --- a/base/src/org/compiere/model/X_M_CostType.java +++ b/base/src/org/compiere/model/X_M_CostType.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_CostType * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_CostType extends PO implements I_M_CostType, I_Persistent { diff --git a/base/src/org/compiere/model/X_M_Demand.java b/base/src/org/compiere/model/X_M_Demand.java index 81aa3339e3..47a572006d 100644 --- a/base/src/org/compiere/model/X_M_Demand.java +++ b/base/src/org/compiere/model/X_M_Demand.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Demand * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Demand extends PO implements I_M_Demand, I_Persistent { @@ -76,7 +76,7 @@ public class X_M_Demand extends PO implements I_M_Demand, 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; @@ -87,7 +87,7 @@ public class X_M_Demand extends PO implements I_M_Demand, 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; } @@ -114,7 +114,7 @@ public class X_M_Demand extends PO implements I_M_Demand, 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; @@ -125,7 +125,7 @@ public class X_M_Demand extends PO implements I_M_Demand, 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_M_DemandDetail.java b/base/src/org/compiere/model/X_M_DemandDetail.java index c89673775e..be1b355dfe 100644 --- a/base/src/org/compiere/model/X_M_DemandDetail.java +++ b/base/src/org/compiere/model/X_M_DemandDetail.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_DemandDetail * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_DemandDetail extends PO implements I_M_DemandDetail, I_Persistent { @@ -73,7 +73,7 @@ public class X_M_DemandDetail extends PO implements I_M_DemandDetail, I_Persiste return sb.toString(); } - 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; @@ -84,7 +84,7 @@ public class X_M_DemandDetail extends PO implements I_M_DemandDetail, 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; } @@ -142,7 +142,7 @@ public class X_M_DemandDetail extends PO implements I_M_DemandDetail, I_Persiste return new KeyNamePair(get_ID(), String.valueOf(getM_DemandDetail_ID())); } - public I_M_DemandLine getM_DemandLine() throws Exception + public I_M_DemandLine getM_DemandLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_DemandLine.Table_Name); I_M_DemandLine result = null; @@ -153,7 +153,7 @@ public class X_M_DemandDetail extends PO implements I_M_DemandDetail, 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; } @@ -180,7 +180,7 @@ public class X_M_DemandDetail extends PO implements I_M_DemandDetail, I_Persiste return ii.intValue(); } - public I_M_ForecastLine getM_ForecastLine() throws Exception + public I_M_ForecastLine getM_ForecastLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_ForecastLine.Table_Name); I_M_ForecastLine result = null; @@ -191,7 +191,7 @@ public class X_M_DemandDetail extends PO implements I_M_DemandDetail, 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; } @@ -219,7 +219,7 @@ public class X_M_DemandDetail extends PO implements I_M_DemandDetail, I_Persiste return ii.intValue(); } - public I_M_RequisitionLine getM_RequisitionLine() throws Exception + public I_M_RequisitionLine getM_RequisitionLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_RequisitionLine.Table_Name); I_M_RequisitionLine result = null; @@ -230,7 +230,7 @@ public class X_M_DemandDetail extends PO implements I_M_DemandDetail, 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_M_DemandLine.java b/base/src/org/compiere/model/X_M_DemandLine.java index ee86e6abd4..dcbfb3360c 100644 --- a/base/src/org/compiere/model/X_M_DemandLine.java +++ b/base/src/org/compiere/model/X_M_DemandLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_DemandLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_DemandLine extends PO implements I_M_DemandLine, I_Persistent { @@ -79,7 +79,7 @@ public class X_M_DemandLine extends PO implements I_M_DemandLine, I_Persistent return sb.toString(); } - 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; @@ -90,7 +90,7 @@ public class X_M_DemandLine extends PO implements I_M_DemandLine, 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_M_DemandLine extends PO implements I_M_DemandLine, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getC_Period_ID())); } - public I_M_Demand getM_Demand() throws Exception + public I_M_Demand getM_Demand() throws RuntimeException { Class clazz = MTable.getClass(I_M_Demand.Table_Name); I_M_Demand result = null; @@ -136,7 +136,7 @@ public class X_M_DemandLine extends PO implements I_M_DemandLine, 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_M_DemandLine extends PO implements I_M_DemandLine, 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; @@ -196,7 +196,7 @@ public class X_M_DemandLine extends PO implements I_M_DemandLine, 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_M_DiscountSchema.java b/base/src/org/compiere/model/X_M_DiscountSchema.java index 86fb836c37..54de2cbeec 100644 --- a/base/src/org/compiere/model/X_M_DiscountSchema.java +++ b/base/src/org/compiere/model/X_M_DiscountSchema.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_DiscountSchema * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_DiscountSchema extends PO implements I_M_DiscountSchema, I_Persistent { diff --git a/base/src/org/compiere/model/X_M_DiscountSchemaBreak.java b/base/src/org/compiere/model/X_M_DiscountSchemaBreak.java index 05e6a1b154..59075d1935 100644 --- a/base/src/org/compiere/model/X_M_DiscountSchemaBreak.java +++ b/base/src/org/compiere/model/X_M_DiscountSchemaBreak.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_DiscountSchemaBreak * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_DiscountSchemaBreak extends PO implements I_M_DiscountSchemaBreak, I_Persistent { @@ -171,7 +171,7 @@ public class X_M_DiscountSchemaBreak extends PO implements I_M_DiscountSchemaBre return ii.intValue(); } - public I_M_DiscountSchema getM_DiscountSchema() throws Exception + public I_M_DiscountSchema getM_DiscountSchema() throws RuntimeException { Class clazz = MTable.getClass(I_M_DiscountSchema.Table_Name); I_M_DiscountSchema result = null; @@ -182,7 +182,7 @@ public class X_M_DiscountSchemaBreak extends PO implements I_M_DiscountSchemaBre } catch (Exception e) { log.log(Level.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_M_DiscountSchemaBreak extends PO implements I_M_DiscountSchemaBre 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; @@ -220,7 +220,7 @@ public class X_M_DiscountSchemaBreak extends PO implements I_M_DiscountSchemaBre } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -248,7 +248,7 @@ public class X_M_DiscountSchemaBreak extends PO implements I_M_DiscountSchemaBre 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; @@ -259,7 +259,7 @@ public class X_M_DiscountSchemaBreak extends PO implements I_M_DiscountSchemaBre } catch (Exception e) { log.log(Level.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_M_DiscountSchemaLine.java b/base/src/org/compiere/model/X_M_DiscountSchemaLine.java index 6a364b5287..14dc39ec8b 100644 --- a/base/src/org/compiere/model/X_M_DiscountSchemaLine.java +++ b/base/src/org/compiere/model/X_M_DiscountSchemaLine.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_DiscountSchemaLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine, I_Persistent { @@ -105,7 +105,7 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine 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; @@ -116,7 +116,7 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine } catch (Exception e) { log.log(Level.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_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine 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; @@ -155,7 +155,7 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -590,7 +590,7 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine return (String)get_Value(COLUMNNAME_List_Rounding); } - public I_M_DiscountSchema getM_DiscountSchema() throws Exception + public I_M_DiscountSchema getM_DiscountSchema() throws RuntimeException { Class clazz = MTable.getClass(I_M_DiscountSchema.Table_Name); I_M_DiscountSchema result = null; @@ -601,7 +601,7 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -650,7 +650,7 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine 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; @@ -661,7 +661,7 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -689,7 +689,7 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine 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; @@ -700,7 +700,7 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine } catch (Exception e) { log.log(Level.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_M_DistributionList.java b/base/src/org/compiere/model/X_M_DistributionList.java index 31f4f266a4..adb94c02a7 100644 --- a/base/src/org/compiere/model/X_M_DistributionList.java +++ b/base/src/org/compiere/model/X_M_DistributionList.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_DistributionList * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_DistributionList extends PO implements I_M_DistributionList, I_Persistent { diff --git a/base/src/org/compiere/model/X_M_DistributionListLine.java b/base/src/org/compiere/model/X_M_DistributionListLine.java index 83c60458d6..0779aad6a8 100644 --- a/base/src/org/compiere/model/X_M_DistributionListLine.java +++ b/base/src/org/compiere/model/X_M_DistributionListLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_DistributionListLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_DistributionListLine extends PO implements I_M_DistributionListLine, I_Persistent { @@ -78,7 +78,7 @@ public class X_M_DistributionListLine extends PO implements I_M_DistributionList 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; @@ -89,7 +89,7 @@ public class X_M_DistributionListLine extends PO implements I_M_DistributionList } catch (Exception e) { log.log(Level.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_M_DistributionListLine extends PO implements I_M_DistributionList 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; @@ -127,7 +127,7 @@ public class X_M_DistributionListLine extends PO implements I_M_DistributionList } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -171,7 +171,7 @@ public class X_M_DistributionListLine extends PO implements I_M_DistributionList return (String)get_Value(COLUMNNAME_Description); } - public I_M_DistributionList getM_DistributionList() throws Exception + public I_M_DistributionList getM_DistributionList() throws RuntimeException { Class clazz = MTable.getClass(I_M_DistributionList.Table_Name); I_M_DistributionList result = null; @@ -182,7 +182,7 @@ public class X_M_DistributionListLine extends PO implements I_M_DistributionList } catch (Exception e) { log.log(Level.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_M_DistributionRun.java b/base/src/org/compiere/model/X_M_DistributionRun.java index ab18dba59d..9733b702c6 100644 --- a/base/src/org/compiere/model/X_M_DistributionRun.java +++ b/base/src/org/compiere/model/X_M_DistributionRun.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_DistributionRun * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_DistributionRun extends PO implements I_M_DistributionRun, I_Persistent { @@ -75,7 +75,7 @@ public class X_M_DistributionRun extends PO implements I_M_DistributionRun, I_Pe 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; @@ -86,7 +86,7 @@ public class X_M_DistributionRun extends PO implements I_M_DistributionRun, 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_M_DistributionRun extends PO implements I_M_DistributionRun, 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; @@ -125,7 +125,7 @@ public class X_M_DistributionRun extends PO implements I_M_DistributionRun, 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_M_DistributionRunLine.java b/base/src/org/compiere/model/X_M_DistributionRunLine.java index 4d5942c952..8a69f0aba9 100644 --- a/base/src/org/compiere/model/X_M_DistributionRunLine.java +++ b/base/src/org/compiere/model/X_M_DistributionRunLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_DistributionRunLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_DistributionRunLine extends PO implements I_M_DistributionRunLine, I_Persistent { @@ -119,7 +119,7 @@ public class X_M_DistributionRunLine extends PO implements I_M_DistributionRunLi return ii.intValue(); } - public I_M_DistributionList getM_DistributionList() throws Exception + public I_M_DistributionList getM_DistributionList() throws RuntimeException { Class clazz = MTable.getClass(I_M_DistributionList.Table_Name); I_M_DistributionList result = null; @@ -130,7 +130,7 @@ public class X_M_DistributionRunLine extends PO implements I_M_DistributionRunLi } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -157,7 +157,7 @@ public class X_M_DistributionRunLine extends PO implements I_M_DistributionRunLi return ii.intValue(); } - public I_M_DistributionRun getM_DistributionRun() throws Exception + public I_M_DistributionRun getM_DistributionRun() throws RuntimeException { Class clazz = MTable.getClass(I_M_DistributionRun.Table_Name); I_M_DistributionRun result = null; @@ -168,7 +168,7 @@ public class X_M_DistributionRunLine extends PO implements I_M_DistributionRunLi } catch (Exception e) { log.log(Level.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_M_DistributionRunLine extends PO implements I_M_DistributionRunLi 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; @@ -258,7 +258,7 @@ public class X_M_DistributionRunLine extends PO implements I_M_DistributionRunLi } catch (Exception e) { log.log(Level.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_M_Forecast.java b/base/src/org/compiere/model/X_M_Forecast.java index 69885141a5..43163f0eef 100644 --- a/base/src/org/compiere/model/X_M_Forecast.java +++ b/base/src/org/compiere/model/X_M_Forecast.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Forecast * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Forecast extends PO implements I_M_Forecast, I_Persistent { @@ -76,7 +76,7 @@ public class X_M_Forecast extends PO implements I_M_Forecast, 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; @@ -87,7 +87,7 @@ public class X_M_Forecast extends PO implements I_M_Forecast, 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; } @@ -114,7 +114,7 @@ public class X_M_Forecast extends PO implements I_M_Forecast, 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; @@ -125,7 +125,7 @@ public class X_M_Forecast extends PO implements I_M_Forecast, 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; } @@ -232,6 +232,45 @@ public class X_M_Forecast extends PO implements I_M_Forecast, I_Persistent return ii.intValue(); } + public I_M_PriceList getM_PriceList() throws RuntimeException + { + Class clazz = MTable.getClass(I_M_PriceList.Table_Name); + I_M_PriceList result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_M_PriceList)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_PriceList_ID()), get_TrxName()}); + } catch (Exception e) { + log.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 Price List. + @param M_PriceList_ID + Unique identifier of a Price List + */ + public void setM_PriceList_ID (int M_PriceList_ID) + { + if (M_PriceList_ID < 1) + set_Value (COLUMNNAME_M_PriceList_ID, null); + else + set_Value (COLUMNNAME_M_PriceList_ID, Integer.valueOf(M_PriceList_ID)); + } + + /** Get Price List. + @return Unique identifier of a Price List + */ + public int getM_PriceList_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_PriceList_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Name. @param Name Alphanumeric identifier of the entity diff --git a/base/src/org/compiere/model/X_M_ForecastLine.java b/base/src/org/compiere/model/X_M_ForecastLine.java index d48faf1e42..29eaac5996 100644 --- a/base/src/org/compiere/model/X_M_ForecastLine.java +++ b/base/src/org/compiere/model/X_M_ForecastLine.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_ForecastLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_ForecastLine extends PO implements I_M_ForecastLine, I_Persistent { @@ -82,7 +82,7 @@ public class X_M_ForecastLine extends PO implements I_M_ForecastLine, I_Persiste return sb.toString(); } - 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; @@ -93,7 +93,7 @@ public class X_M_ForecastLine extends PO implements I_M_ForecastLine, 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; } @@ -147,7 +147,7 @@ public class X_M_ForecastLine extends PO implements I_M_ForecastLine, I_Persiste return (Timestamp)get_Value(COLUMNNAME_DatePromised); } - public I_M_Forecast getM_Forecast() throws Exception + public I_M_Forecast getM_Forecast() throws RuntimeException { Class clazz = MTable.getClass(I_M_Forecast.Table_Name); I_M_Forecast result = null; @@ -158,7 +158,7 @@ public class X_M_ForecastLine extends PO implements I_M_ForecastLine, 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; } @@ -207,7 +207,7 @@ public class X_M_ForecastLine extends PO implements I_M_ForecastLine, I_Persiste 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; @@ -218,7 +218,7 @@ public class X_M_ForecastLine extends PO implements I_M_ForecastLine, 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; } @@ -245,7 +245,7 @@ public class X_M_ForecastLine extends PO implements I_M_ForecastLine, I_Persiste 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; @@ -256,7 +256,7 @@ public class X_M_ForecastLine extends PO implements I_M_ForecastLine, 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; } @@ -326,4 +326,27 @@ public class X_M_ForecastLine extends PO implements I_M_ForecastLine, I_Persiste return Env.ZERO; return bd; } + + /** Set Sales Representative. + @param SalesRep_ID + Sales Representative or Company Agent + */ + public void setSalesRep_ID (int SalesRep_ID) + { + if (SalesRep_ID < 1) + set_Value (COLUMNNAME_SalesRep_ID, null); + else + set_Value (COLUMNNAME_SalesRep_ID, Integer.valueOf(SalesRep_ID)); + } + + /** Get Sales Representative. + @return Sales Representative or Company Agent + */ + public int getSalesRep_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_SalesRep_ID); + if (ii == null) + return 0; + return ii.intValue(); + } } \ No newline at end of file diff --git a/base/src/org/compiere/model/X_M_Freight.java b/base/src/org/compiere/model/X_M_Freight.java index 08fdc10b5a..e24d75bcc7 100644 --- a/base/src/org/compiere/model/X_M_Freight.java +++ b/base/src/org/compiere/model/X_M_Freight.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Freight * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Freight extends PO implements I_M_Freight, I_Persistent { @@ -80,7 +80,7 @@ public class X_M_Freight extends PO implements I_M_Freight, 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; @@ -91,7 +91,7 @@ public class X_M_Freight extends PO implements I_M_Freight, 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_M_Freight extends PO implements I_M_Freight, 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; @@ -130,7 +130,7 @@ public class X_M_Freight extends PO implements I_M_Freight, 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; } @@ -157,7 +157,7 @@ public class X_M_Freight extends PO implements I_M_Freight, 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; @@ -168,7 +168,7 @@ public class X_M_Freight extends PO implements I_M_Freight, 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; } @@ -218,7 +218,7 @@ public class X_M_Freight extends PO implements I_M_Freight, I_Persistent return bd; } - public I_M_FreightCategory getM_FreightCategory() throws Exception + public I_M_FreightCategory getM_FreightCategory() throws RuntimeException { Class clazz = MTable.getClass(I_M_FreightCategory.Table_Name); I_M_FreightCategory result = null; @@ -229,7 +229,7 @@ public class X_M_Freight extends PO implements I_M_Freight, 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; } @@ -278,7 +278,7 @@ public class X_M_Freight extends PO implements I_M_Freight, I_Persistent return ii.intValue(); } - public I_M_Shipper getM_Shipper() throws Exception + public I_M_Shipper getM_Shipper() throws RuntimeException { Class clazz = MTable.getClass(I_M_Shipper.Table_Name); I_M_Shipper result = null; @@ -289,7 +289,7 @@ public class X_M_Freight extends PO implements I_M_Freight, 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; } @@ -324,8 +324,6 @@ public class X_M_Freight extends PO implements I_M_Freight, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getM_Shipper_ID())); } - /** 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 @@ -349,8 +347,6 @@ public class X_M_Freight extends PO implements I_M_Freight, 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_M_FreightCategory.java b/base/src/org/compiere/model/X_M_FreightCategory.java index 78007bfa90..a32c4c1190 100644 --- a/base/src/org/compiere/model/X_M_FreightCategory.java +++ b/base/src/org/compiere/model/X_M_FreightCategory.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_FreightCategory * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_FreightCategory extends PO implements I_M_FreightCategory, I_Persistent { diff --git a/base/src/org/compiere/model/X_M_InOut.java b/base/src/org/compiere/model/X_M_InOut.java index 777217c5e9..b9db336188 100644 --- a/base/src/org/compiere/model/X_M_InOut.java +++ b/base/src/org/compiere/model/X_M_InOut.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_InOut * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent { @@ -66,10 +66,10 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent setIsSOTrx (false); // @IsSOTrx@ setM_InOut_ID (0); - setM_Warehouse_ID (0); setMovementDate (new Timestamp( System.currentTimeMillis() )); // @#Date@ setMovementType (null); + setM_Warehouse_ID (0); setPosted (false); setPriorityRule (null); // 5 @@ -367,6 +367,26 @@ public class X_M_InOut extends PO implements I_M_InOut, 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; + } + public I_C_Invoice getC_Invoice() throws RuntimeException { Class clazz = MTable.getClass(I_C_Invoice.Table_Name); @@ -484,26 +504,6 @@ public class X_M_InOut extends PO implements I_M_InOut, 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 Create Confirm. @param CreateConfirm Create Confirm */ public void setCreateConfirm (String CreateConfirm) @@ -1113,6 +1113,69 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent return ii.intValue(); } + /** Set Movement Date. + @param MovementDate + Date a product was moved in or out of inventory + */ + public void setMovementDate (Timestamp MovementDate) + { + if (MovementDate == null) + throw new IllegalArgumentException ("MovementDate is mandatory."); + set_Value (COLUMNNAME_MovementDate, MovementDate); + } + + /** Get Movement Date. + @return Date a product was moved in or out of inventory + */ + public Timestamp getMovementDate () + { + return (Timestamp)get_Value(COLUMNNAME_MovementDate); + } + + /** MovementType AD_Reference_ID=189 */ + public static final int MOVEMENTTYPE_AD_Reference_ID=189; + /** Customer Shipment = C- */ + public static final String MOVEMENTTYPE_CustomerShipment = "C-"; + /** Customer Returns = C+ */ + public static final String MOVEMENTTYPE_CustomerReturns = "C+"; + /** Vendor Receipts = V+ */ + public static final String MOVEMENTTYPE_VendorReceipts = "V+"; + /** Vendor Returns = V- */ + public static final String MOVEMENTTYPE_VendorReturns = "V-"; + /** Inventory Out = I- */ + public static final String MOVEMENTTYPE_InventoryOut = "I-"; + /** Inventory In = I+ */ + public static final String MOVEMENTTYPE_InventoryIn = "I+"; + /** Movement From = M- */ + public static final String MOVEMENTTYPE_MovementFrom = "M-"; + /** Movement To = M+ */ + public static final String MOVEMENTTYPE_MovementTo = "M+"; + /** Production + = P+ */ + public static final String MOVEMENTTYPE_ProductionPlus = "P+"; + /** Production - = P- */ + public static final String MOVEMENTTYPE_Production_ = "P-"; + /** Work Order + = W+ */ + public static final String MOVEMENTTYPE_WorkOrderPlus = "W+"; + /** Work Order - = W- */ + public static final String MOVEMENTTYPE_WorkOrder_ = "W-"; + /** Set Movement Type. + @param MovementType + Method of moving the inventory + */ + public void setMovementType (String MovementType) + { + if (MovementType == null) throw new IllegalArgumentException ("MovementType is mandatory"); + if (MovementType.equals("C-") || MovementType.equals("C+") || MovementType.equals("V+") || MovementType.equals("V-") || MovementType.equals("I-") || MovementType.equals("I+") || MovementType.equals("M-") || MovementType.equals("M+") || MovementType.equals("P+") || MovementType.equals("P-") || MovementType.equals("W+") || MovementType.equals("W-")); else throw new IllegalArgumentException ("MovementType Invalid value - " + MovementType + " - Reference_ID=189 - C- - C+ - V+ - V- - I- - I+ - M- - M+ - P+ - P- - W+ - W-"); set_ValueNoCheck (COLUMNNAME_MovementType, MovementType); + } + + /** Get Movement Type. + @return Method of moving the inventory + */ + public String getMovementType () + { + return (String)get_Value(COLUMNNAME_MovementType); + } + public I_M_RMA getM_RMA() throws RuntimeException { Class clazz = MTable.getClass(I_M_RMA.Table_Name); @@ -1229,69 +1292,6 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent return ii.intValue(); } - /** Set Movement Date. - @param MovementDate - Date a product was moved in or out of inventory - */ - public void setMovementDate (Timestamp MovementDate) - { - if (MovementDate == null) - throw new IllegalArgumentException ("MovementDate is mandatory."); - set_Value (COLUMNNAME_MovementDate, MovementDate); - } - - /** Get Movement Date. - @return Date a product was moved in or out of inventory - */ - public Timestamp getMovementDate () - { - return (Timestamp)get_Value(COLUMNNAME_MovementDate); - } - - /** MovementType AD_Reference_ID=189 */ - public static final int MOVEMENTTYPE_AD_Reference_ID=189; - /** Customer Shipment = C- */ - public static final String MOVEMENTTYPE_CustomerShipment = "C-"; - /** Customer Returns = C+ */ - public static final String MOVEMENTTYPE_CustomerReturns = "C+"; - /** Vendor Receipts = V+ */ - public static final String MOVEMENTTYPE_VendorReceipts = "V+"; - /** Vendor Returns = V- */ - public static final String MOVEMENTTYPE_VendorReturns = "V-"; - /** Inventory Out = I- */ - public static final String MOVEMENTTYPE_InventoryOut = "I-"; - /** Inventory In = I+ */ - public static final String MOVEMENTTYPE_InventoryIn = "I+"; - /** Movement From = M- */ - public static final String MOVEMENTTYPE_MovementFrom = "M-"; - /** Movement To = M+ */ - public static final String MOVEMENTTYPE_MovementTo = "M+"; - /** Production + = P+ */ - public static final String MOVEMENTTYPE_ProductionPlus = "P+"; - /** Production - = P- */ - public static final String MOVEMENTTYPE_Production_ = "P-"; - /** Work Order + = W+ */ - public static final String MOVEMENTTYPE_WorkOrderPlus = "W+"; - /** Work Order - = W- */ - public static final String MOVEMENTTYPE_WorkOrder_ = "W-"; - /** Set Movement Type. - @param MovementType - Method of moving the inventory - */ - public void setMovementType (String MovementType) - { - if (MovementType == null) throw new IllegalArgumentException ("MovementType is mandatory"); - if (MovementType.equals("C-") || MovementType.equals("C+") || MovementType.equals("V+") || MovementType.equals("V-") || MovementType.equals("I-") || MovementType.equals("I+") || MovementType.equals("M-") || MovementType.equals("M+") || MovementType.equals("P+") || MovementType.equals("P-") || MovementType.equals("W+") || MovementType.equals("W-")); else throw new IllegalArgumentException ("MovementType Invalid value - " + MovementType + " - Reference_ID=189 - C- - C+ - V+ - V- - I- - I+ - M- - M+ - P+ - P- - W+ - W-"); set_ValueNoCheck (COLUMNNAME_MovementType, MovementType); - } - - /** Get Movement Type. - @return Method of moving the inventory - */ - public String getMovementType () - { - return (String)get_Value(COLUMNNAME_MovementType); - } - /** Set No Packages. @param NoPackages Number of packages shipped @@ -1312,23 +1312,6 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent return ii.intValue(); } - /** Set Order Reference. - @param POReference - Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner - */ - public void setPOReference (String POReference) - { - set_Value (COLUMNNAME_POReference, POReference); - } - - /** Get Order Reference. - @return Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner - */ - public String getPOReference () - { - return (String)get_Value(COLUMNNAME_POReference); - } - /** Set Pick Date. @param PickDate Date/Time when picked for Shipment @@ -1346,6 +1329,23 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent return (Timestamp)get_Value(COLUMNNAME_PickDate); } + /** Set Order Reference. + @param POReference + Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + */ + public void setPOReference (String POReference) + { + set_Value (COLUMNNAME_POReference, POReference); + } + + /** Get Order Reference. + @return Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner + */ + public String getPOReference () + { + return (String)get_Value(COLUMNNAME_POReference); + } + /** Set Posted. @param Posted Posting status diff --git a/base/src/org/compiere/model/X_M_InOutConfirm.java b/base/src/org/compiere/model/X_M_InOutConfirm.java index 249db5b751..3ca06671cc 100644 --- a/base/src/org/compiere/model/X_M_InOutConfirm.java +++ b/base/src/org/compiere/model/X_M_InOutConfirm.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_InOutConfirm * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_InOutConfirm extends PO implements I_M_InOutConfirm, I_Persistent { @@ -106,7 +106,7 @@ public class X_M_InOutConfirm extends PO implements I_M_InOutConfirm, I_Persiste 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; @@ -117,7 +117,7 @@ public class X_M_InOutConfirm extends PO implements I_M_InOutConfirm, 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; } @@ -436,7 +436,7 @@ public class X_M_InOutConfirm extends PO implements I_M_InOutConfirm, I_Persiste 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; @@ -447,7 +447,7 @@ public class X_M_InOutConfirm extends PO implements I_M_InOutConfirm, 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; } @@ -474,7 +474,7 @@ public class X_M_InOutConfirm extends PO implements I_M_InOutConfirm, I_Persiste return ii.intValue(); } - public I_M_Inventory getM_Inventory() throws Exception + public I_M_Inventory getM_Inventory() throws RuntimeException { Class clazz = MTable.getClass(I_M_Inventory.Table_Name); I_M_Inventory result = null; @@ -485,7 +485,7 @@ public class X_M_InOutConfirm extends PO implements I_M_InOutConfirm, 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_M_InOutLine.java b/base/src/org/compiere/model/X_M_InOutLine.java index a53f1f8f78..19ff2a2ad8 100644 --- a/base/src/org/compiere/model/X_M_InOutLine.java +++ b/base/src/org/compiere/model/X_M_InOutLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_InOutLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent { @@ -50,8 +50,8 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent setLine (0); // @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM M_InOutLine WHERE M_InOut_ID=@M_InOut_ID@ setM_AttributeSetInstance_ID (0); - setM_InOutLine_ID (0); setM_InOut_ID (0); + setM_InOutLine_ID (0); setM_Locator_ID (0); // @M_Locator_ID@ setMovementQty (Env.ZERO); @@ -90,8 +90,6 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, 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 @@ -115,7 +113,7 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, 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; @@ -126,7 +124,7 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, 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; } @@ -154,7 +152,7 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, 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; @@ -165,7 +163,7 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, 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; } @@ -193,7 +191,7 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, 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; @@ -204,7 +202,7 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, 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; } @@ -232,7 +230,27 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent return ii.intValue(); } - public I_C_OrderLine getC_OrderLine() throws Exception + /** Set Confirmed Quantity. + @param ConfirmedQty + Confirmation of a received quantity + */ + public void setConfirmedQty (BigDecimal ConfirmedQty) + { + set_Value (COLUMNNAME_ConfirmedQty, ConfirmedQty); + } + + /** Get Confirmed Quantity. + @return Confirmation of a received quantity + */ + public BigDecimal getConfirmedQty () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ConfirmedQty); + if (bd == null) + return Env.ZERO; + return bd; + } + + public I_C_OrderLine getC_OrderLine() throws RuntimeException { Class clazz = MTable.getClass(I_C_OrderLine.Table_Name); I_C_OrderLine result = null; @@ -243,7 +261,7 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, 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; } @@ -271,85 +289,7 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent return ii.intValue(); } - public I_C_ProjectPhase getC_ProjectPhase() throws Exception - { - Class clazz = MTable.getClass(I_C_ProjectPhase.Table_Name); - I_C_ProjectPhase result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_ProjectPhase)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_ProjectPhase_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Project Phase. - @param C_ProjectPhase_ID - Phase of a Project - */ - public void setC_ProjectPhase_ID (int C_ProjectPhase_ID) - { - if (C_ProjectPhase_ID < 1) - set_Value (COLUMNNAME_C_ProjectPhase_ID, null); - else - set_Value (COLUMNNAME_C_ProjectPhase_ID, Integer.valueOf(C_ProjectPhase_ID)); - } - - /** Get Project Phase. - @return Phase of a Project - */ - public int getC_ProjectPhase_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_ProjectPhase_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - public I_C_ProjectTask getC_ProjectTask() throws Exception - { - Class clazz = MTable.getClass(I_C_ProjectTask.Table_Name); - I_C_ProjectTask result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_C_ProjectTask)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_ProjectTask_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; - } - return result; - } - - /** Set Project Task. - @param C_ProjectTask_ID - Actual Project Task in a Phase - */ - public void setC_ProjectTask_ID (int C_ProjectTask_ID) - { - if (C_ProjectTask_ID < 1) - set_Value (COLUMNNAME_C_ProjectTask_ID, null); - else - set_Value (COLUMNNAME_C_ProjectTask_ID, Integer.valueOf(C_ProjectTask_ID)); - } - - /** Get Project Task. - @return Actual Project Task in a Phase - */ - public int getC_ProjectTask_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_ProjectTask_ID); - if (ii == null) - return 0; - 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; @@ -360,7 +300,7 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, 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; } @@ -388,7 +328,85 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent return ii.intValue(); } - public I_C_UOM getC_UOM() throws Exception + public I_C_ProjectPhase getC_ProjectPhase() throws RuntimeException + { + Class clazz = MTable.getClass(I_C_ProjectPhase.Table_Name); + I_C_ProjectPhase result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_ProjectPhase)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_ProjectPhase_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw new RuntimeException( e ); + } + return result; + } + + /** Set Project Phase. + @param C_ProjectPhase_ID + Phase of a Project + */ + public void setC_ProjectPhase_ID (int C_ProjectPhase_ID) + { + if (C_ProjectPhase_ID < 1) + set_Value (COLUMNNAME_C_ProjectPhase_ID, null); + else + set_Value (COLUMNNAME_C_ProjectPhase_ID, Integer.valueOf(C_ProjectPhase_ID)); + } + + /** Get Project Phase. + @return Phase of a Project + */ + public int getC_ProjectPhase_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_ProjectPhase_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public I_C_ProjectTask getC_ProjectTask() throws RuntimeException + { + Class clazz = MTable.getClass(I_C_ProjectTask.Table_Name); + I_C_ProjectTask result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_ProjectTask)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_ProjectTask_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw new RuntimeException( e ); + } + return result; + } + + /** Set Project Task. + @param C_ProjectTask_ID + Actual Project Task in a Phase + */ + public void setC_ProjectTask_ID (int C_ProjectTask_ID) + { + if (C_ProjectTask_ID < 1) + set_Value (COLUMNNAME_C_ProjectTask_ID, null); + else + set_Value (COLUMNNAME_C_ProjectTask_ID, Integer.valueOf(C_ProjectTask_ID)); + } + + /** Get Project Task. + @return Actual Project Task in a Phase + */ + public int getC_ProjectTask_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_ProjectTask_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public I_C_UOM getC_UOM() throws RuntimeException { Class clazz = MTable.getClass(I_C_UOM.Table_Name); I_C_UOM result = null; @@ -399,7 +417,7 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, 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; } @@ -426,26 +444,6 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent return ii.intValue(); } - /** Set Confirmed Quantity. - @param ConfirmedQty - Confirmation of a received quantity - */ - public void setConfirmedQty (BigDecimal ConfirmedQty) - { - set_Value (COLUMNNAME_ConfirmedQty, ConfirmedQty); - } - - /** Get Confirmed Quantity. - @return Confirmation of a received quantity - */ - public BigDecimal getConfirmedQty () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ConfirmedQty); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Description. @param Description Optional short description of the record @@ -561,29 +559,7 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent return ii.intValue(); } - /** Set Shipment/Receipt Line. - @param M_InOutLine_ID - Line on Shipment or Receipt document - */ - public void setM_InOutLine_ID (int M_InOutLine_ID) - { - if (M_InOutLine_ID < 1) - throw new IllegalArgumentException ("M_InOutLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_InOutLine_ID, Integer.valueOf(M_InOutLine_ID)); - } - - /** Get Shipment/Receipt Line. - @return Line on Shipment or Receipt document - */ - public int getM_InOutLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_InOutLine_ID); - if (ii == null) - return 0; - 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; @@ -594,7 +570,7 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, 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; } @@ -621,6 +597,28 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent return ii.intValue(); } + /** Set Shipment/Receipt Line. + @param M_InOutLine_ID + Line on Shipment or Receipt document + */ + public void setM_InOutLine_ID (int M_InOutLine_ID) + { + if (M_InOutLine_ID < 1) + throw new IllegalArgumentException ("M_InOutLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_InOutLine_ID, Integer.valueOf(M_InOutLine_ID)); + } + + /** Get Shipment/Receipt Line. + @return Line on Shipment or Receipt document + */ + public int getM_InOutLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_InOutLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Locator. @param M_Locator_ID Warehouse Locator @@ -643,7 +641,29 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent return ii.intValue(); } - public I_M_Product getM_Product() throws Exception + /** Set Movement Quantity. + @param MovementQty + Quantity of a product moved. + */ + public void setMovementQty (BigDecimal MovementQty) + { + if (MovementQty == null) + throw new IllegalArgumentException ("MovementQty is mandatory."); + set_Value (COLUMNNAME_MovementQty, MovementQty); + } + + /** Get Movement Quantity. + @return Quantity of a product moved. + */ + public BigDecimal getMovementQty () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_MovementQty); + if (bd == null) + return Env.ZERO; + return bd; + } + + public I_M_Product getM_Product() throws RuntimeException { Class clazz = MTable.getClass(I_M_Product.Table_Name); I_M_Product result = null; @@ -654,7 +674,7 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, 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; } @@ -682,7 +702,7 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, 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; @@ -693,7 +713,7 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, 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; } @@ -721,28 +741,6 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent return ii.intValue(); } - /** Set Movement Quantity. - @param MovementQty - Quantity of a product moved. - */ - public void setMovementQty (BigDecimal MovementQty) - { - if (MovementQty == null) - throw new IllegalArgumentException ("MovementQty is mandatory."); - set_Value (COLUMNNAME_MovementQty, MovementQty); - } - - /** Get Movement Quantity. - @return Quantity of a product moved. - */ - public BigDecimal getMovementQty () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_MovementQty); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Picked Quantity. @param PickedQty Picked Quantity */ public void setPickedQty (BigDecimal PickedQty) @@ -826,8 +824,6 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent return ii.intValue(); } - /** ReversalLine_ID AD_Reference_ID=295 */ - public static final int REVERSALLINE_ID_AD_Reference_ID=295; /** Set Reversal Line. @param ReversalLine_ID Use to keep the reversal line ID for reversing costing purpose @@ -891,8 +887,6 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, 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 @@ -916,8 +910,6 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, 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_M_InOutLineConfirm.java b/base/src/org/compiere/model/X_M_InOutLineConfirm.java index 6209f8da54..7d3ae512dc 100644 --- a/base/src/org/compiere/model/X_M_InOutLineConfirm.java +++ b/base/src/org/compiere/model/X_M_InOutLineConfirm.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_InOutLineConfirm * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_InOutLineConfirm extends PO implements I_M_InOutLineConfirm, I_Persistent { @@ -79,7 +79,7 @@ public class X_M_InOutLineConfirm extends PO implements I_M_InOutLineConfirm, I_ 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; @@ -90,7 +90,7 @@ public class X_M_InOutLineConfirm extends PO implements I_M_InOutLineConfirm, 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; } @@ -194,7 +194,7 @@ public class X_M_InOutLineConfirm extends PO implements I_M_InOutLineConfirm, I_ return bd; } - public I_M_InOutConfirm getM_InOutConfirm() throws Exception + public I_M_InOutConfirm getM_InOutConfirm() throws RuntimeException { Class clazz = MTable.getClass(I_M_InOutConfirm.Table_Name); I_M_InOutConfirm result = null; @@ -205,7 +205,7 @@ public class X_M_InOutLineConfirm extends PO implements I_M_InOutLineConfirm, 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; } @@ -254,7 +254,7 @@ public class X_M_InOutLineConfirm extends PO implements I_M_InOutLineConfirm, I_ 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; @@ -265,7 +265,7 @@ public class X_M_InOutLineConfirm extends PO implements I_M_InOutLineConfirm, 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; } @@ -300,7 +300,7 @@ public class X_M_InOutLineConfirm extends PO implements I_M_InOutLineConfirm, I_ return new KeyNamePair(get_ID(), String.valueOf(getM_InOutLine_ID())); } - public I_M_InventoryLine getM_InventoryLine() throws Exception + public I_M_InventoryLine getM_InventoryLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_InventoryLine.Table_Name); I_M_InventoryLine result = null; @@ -311,7 +311,7 @@ public class X_M_InOutLineConfirm extends PO implements I_M_InOutLineConfirm, 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_M_InOutLineMA.java b/base/src/org/compiere/model/X_M_InOutLineMA.java index 466f20ebbf..f09c2e6952 100644 --- a/base/src/org/compiere/model/X_M_InOutLineMA.java +++ b/base/src/org/compiere/model/X_M_InOutLineMA.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_InOutLineMA * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_InOutLineMA extends PO implements I_M_InOutLineMA, I_Persistent { @@ -98,7 +98,7 @@ public class X_M_InOutLineMA extends PO implements I_M_InOutLineMA, 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; @@ -109,7 +109,7 @@ public class X_M_InOutLineMA extends PO implements I_M_InOutLineMA, 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_M_Inventory.java b/base/src/org/compiere/model/X_M_Inventory.java index a3d782f022..ac03fcea7d 100644 --- a/base/src/org/compiere/model/X_M_Inventory.java +++ b/base/src/org/compiere/model/X_M_Inventory.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Inventory * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Inventory extends PO implements I_M_Inventory, I_Persistent { @@ -87,8 +87,6 @@ public class X_M_Inventory extends PO implements I_M_Inventory, 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 @@ -132,7 +130,7 @@ public class X_M_Inventory extends PO implements I_M_Inventory, 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; @@ -143,7 +141,7 @@ public class X_M_Inventory extends PO implements I_M_Inventory, 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; } @@ -171,7 +169,7 @@ public class X_M_Inventory extends PO implements I_M_Inventory, 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; @@ -182,7 +180,7 @@ public class X_M_Inventory extends PO implements I_M_Inventory, 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; } @@ -210,7 +208,7 @@ public class X_M_Inventory extends PO implements I_M_Inventory, 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; @@ -221,7 +219,7 @@ public class X_M_Inventory extends PO implements I_M_Inventory, 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; } @@ -248,7 +246,7 @@ public class X_M_Inventory extends PO implements I_M_Inventory, 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; @@ -259,7 +257,7 @@ public class X_M_Inventory extends PO implements I_M_Inventory, 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; } @@ -505,7 +503,7 @@ public class X_M_Inventory extends PO implements I_M_Inventory, I_Persistent return (Timestamp)get_Value(COLUMNNAME_MovementDate); } - public I_M_PerpetualInv getM_PerpetualInv() throws Exception + public I_M_PerpetualInv getM_PerpetualInv() throws RuntimeException { Class clazz = MTable.getClass(I_M_PerpetualInv.Table_Name); I_M_PerpetualInv result = null; @@ -516,7 +514,7 @@ public class X_M_Inventory extends PO implements I_M_Inventory, 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; } @@ -544,7 +542,7 @@ public class X_M_Inventory extends PO implements I_M_Inventory, 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; @@ -555,7 +553,7 @@ public class X_M_Inventory extends PO implements I_M_Inventory, 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,8 +649,6 @@ public class X_M_Inventory extends PO implements I_M_Inventory, I_Persistent return false; } - /** Reversal_ID AD_Reference_ID=53249 */ - public static final int REVERSAL_ID_AD_Reference_ID=53249; /** Set Reversal ID. @param Reversal_ID ID of document reversal @@ -690,8 +686,6 @@ public class X_M_Inventory extends PO implements I_M_Inventory, I_Persistent return (String)get_Value(COLUMNNAME_UpdateQty); } - /** 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 @@ -715,8 +709,6 @@ public class X_M_Inventory extends PO implements I_M_Inventory, 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_M_InventoryLine.java b/base/src/org/compiere/model/X_M_InventoryLine.java index 496480756e..49f5532790 100644 --- a/base/src/org/compiere/model/X_M_InventoryLine.java +++ b/base/src/org/compiere/model/X_M_InventoryLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_InventoryLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_InventoryLine extends PO implements I_M_InventoryLine, I_Persistent { @@ -85,7 +85,7 @@ public class X_M_InventoryLine extends PO implements I_M_InventoryLine, I_Persis return sb.toString(); } - 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; @@ -96,7 +96,7 @@ public class X_M_InventoryLine extends PO implements I_M_InventoryLine, 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,29 +215,7 @@ public class X_M_InventoryLine extends PO implements I_M_InventoryLine, I_Persis return ii.intValue(); } - /** Set Phys.Inventory Line. - @param M_InventoryLine_ID - Unique line in an Inventory document - */ - public void setM_InventoryLine_ID (int M_InventoryLine_ID) - { - if (M_InventoryLine_ID < 1) - throw new IllegalArgumentException ("M_InventoryLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_InventoryLine_ID, Integer.valueOf(M_InventoryLine_ID)); - } - - /** Get Phys.Inventory Line. - @return Unique line in an Inventory document - */ - public int getM_InventoryLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_InventoryLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - - public I_M_Inventory getM_Inventory() throws Exception + public I_M_Inventory getM_Inventory() throws RuntimeException { Class clazz = MTable.getClass(I_M_Inventory.Table_Name); I_M_Inventory result = null; @@ -248,7 +226,7 @@ public class X_M_InventoryLine extends PO implements I_M_InventoryLine, 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; } @@ -275,6 +253,28 @@ public class X_M_InventoryLine extends PO implements I_M_InventoryLine, I_Persis return ii.intValue(); } + /** Set Phys.Inventory Line. + @param M_InventoryLine_ID + Unique line in an Inventory document + */ + public void setM_InventoryLine_ID (int M_InventoryLine_ID) + { + if (M_InventoryLine_ID < 1) + throw new IllegalArgumentException ("M_InventoryLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_InventoryLine_ID, Integer.valueOf(M_InventoryLine_ID)); + } + + /** Get Phys.Inventory Line. + @return Unique line in an Inventory document + */ + public int getM_InventoryLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_InventoryLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Locator. @param M_Locator_ID Warehouse Locator @@ -297,8 +297,6 @@ public class X_M_InventoryLine extends PO implements I_M_InventoryLine, I_Persis return ii.intValue(); } - /** M_Product_ID AD_Reference_ID=171 */ - public static final int M_PRODUCT_ID_AD_Reference_ID=171; /** Set Product. @param M_Product_ID Product, Service, Item @@ -428,8 +426,6 @@ public class X_M_InventoryLine extends PO implements I_M_InventoryLine, I_Persis return bd; } - /** ReversalLine_ID AD_Reference_ID=296 */ - public static final int REVERSALLINE_ID_AD_Reference_ID=296; /** Set Reversal Line. @param ReversalLine_ID Use to keep the reversal line ID for reversing costing purpose diff --git a/base/src/org/compiere/model/X_M_InventoryLineMA.java b/base/src/org/compiere/model/X_M_InventoryLineMA.java index 8f6d9cc81f..4ae177a57f 100644 --- a/base/src/org/compiere/model/X_M_InventoryLineMA.java +++ b/base/src/org/compiere/model/X_M_InventoryLineMA.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_InventoryLineMA * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_InventoryLineMA extends PO implements I_M_InventoryLineMA, I_Persistent { @@ -98,7 +98,7 @@ public class X_M_InventoryLineMA extends PO implements I_M_InventoryLineMA, I_Pe return ii.intValue(); } - public I_M_InventoryLine getM_InventoryLine() throws Exception + public I_M_InventoryLine getM_InventoryLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_InventoryLine.Table_Name); I_M_InventoryLine result = null; @@ -109,7 +109,7 @@ public class X_M_InventoryLineMA extends PO implements I_M_InventoryLineMA, 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_M_Locator.java b/base/src/org/compiere/model/X_M_Locator.java index 806b87d58f..6d498ecd66 100644 --- a/base/src/org/compiere/model/X_M_Locator.java +++ b/base/src/org/compiere/model/X_M_Locator.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Locator * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Locator extends PO implements I_M_Locator, I_Persistent { @@ -126,7 +126,7 @@ public class X_M_Locator extends PO implements I_M_Locator, 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; @@ -137,7 +137,7 @@ public class X_M_Locator extends PO implements I_M_Locator, 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_M_Lot.java b/base/src/org/compiere/model/X_M_Lot.java index cfc92d138c..f8eeac7a87 100644 --- a/base/src/org/compiere/model/X_M_Lot.java +++ b/base/src/org/compiere/model/X_M_Lot.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Lot * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Lot extends PO implements I_M_Lot, I_Persistent { @@ -143,7 +143,7 @@ public class X_M_Lot extends PO implements I_M_Lot, I_Persistent return (String)get_Value(COLUMNNAME_Help); } - public I_M_LotCtl getM_LotCtl() throws Exception + public I_M_LotCtl getM_LotCtl() throws RuntimeException { Class clazz = MTable.getClass(I_M_LotCtl.Table_Name); I_M_LotCtl result = null; @@ -154,7 +154,7 @@ public class X_M_Lot extends PO implements I_M_Lot, 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; } @@ -204,7 +204,7 @@ public class X_M_Lot extends PO implements I_M_Lot, 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; @@ -215,7 +215,7 @@ public class X_M_Lot extends PO implements I_M_Lot, 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_M_LotCtl.java b/base/src/org/compiere/model/X_M_LotCtl.java index b4897f4631..f28d33d430 100644 --- a/base/src/org/compiere/model/X_M_LotCtl.java +++ b/base/src/org/compiere/model/X_M_LotCtl.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_LotCtl * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_LotCtl extends PO implements I_M_LotCtl, I_Persistent { diff --git a/base/src/org/compiere/model/X_M_LotCtlExclude.java b/base/src/org/compiere/model/X_M_LotCtlExclude.java index c9b7800883..ff0f0c9f8b 100644 --- a/base/src/org/compiere/model/X_M_LotCtlExclude.java +++ b/base/src/org/compiere/model/X_M_LotCtlExclude.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for M_LotCtlExclude * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_LotCtlExclude extends PO implements I_M_LotCtlExclude, I_Persistent { @@ -74,7 +74,7 @@ public class X_M_LotCtlExclude extends PO implements I_M_LotCtlExclude, 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; @@ -85,7 +85,7 @@ public class X_M_LotCtlExclude extends PO implements I_M_LotCtlExclude, 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; } @@ -158,7 +158,7 @@ public class X_M_LotCtlExclude extends PO implements I_M_LotCtlExclude, I_Persis return ii.intValue(); } - public I_M_LotCtl getM_LotCtl() throws Exception + public I_M_LotCtl getM_LotCtl() throws RuntimeException { Class clazz = MTable.getClass(I_M_LotCtl.Table_Name); I_M_LotCtl result = null; @@ -169,7 +169,7 @@ public class X_M_LotCtlExclude extends PO implements I_M_LotCtlExclude, 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_M_MatchInv.java b/base/src/org/compiere/model/X_M_MatchInv.java index e8a66b0b5c..3e7dd1cda1 100644 --- a/base/src/org/compiere/model/X_M_MatchInv.java +++ b/base/src/org/compiere/model/X_M_MatchInv.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_MatchInv * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_MatchInv extends PO implements I_M_MatchInv, I_Persistent { @@ -84,7 +84,7 @@ public class X_M_MatchInv extends PO implements I_M_MatchInv, 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; @@ -95,7 +95,7 @@ public class X_M_MatchInv extends PO implements I_M_MatchInv, 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,7 +225,7 @@ public class X_M_MatchInv extends PO implements I_M_MatchInv, 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; @@ -236,7 +236,7 @@ public class X_M_MatchInv extends PO implements I_M_MatchInv, 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; } @@ -285,7 +285,7 @@ public class X_M_MatchInv extends PO implements I_M_MatchInv, 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; @@ -296,7 +296,7 @@ public class X_M_MatchInv extends PO implements I_M_MatchInv, 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_M_MatchPO.java b/base/src/org/compiere/model/X_M_MatchPO.java index cb5cca2b57..b8c937517b 100644 --- a/base/src/org/compiere/model/X_M_MatchPO.java +++ b/base/src/org/compiere/model/X_M_MatchPO.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_MatchPO * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_MatchPO extends PO implements I_M_MatchPO, I_Persistent { @@ -84,7 +84,7 @@ public class X_M_MatchPO extends PO implements I_M_MatchPO, 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; @@ -95,7 +95,7 @@ public class X_M_MatchPO extends PO implements I_M_MatchPO, 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; } @@ -123,7 +123,7 @@ public class X_M_MatchPO extends PO implements I_M_MatchPO, 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; @@ -134,7 +134,7 @@ public class X_M_MatchPO extends PO implements I_M_MatchPO, 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; } @@ -288,7 +288,7 @@ public class X_M_MatchPO extends PO implements I_M_MatchPO, 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; @@ -299,7 +299,7 @@ public class X_M_MatchPO extends PO implements I_M_MatchPO, 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; } @@ -348,7 +348,7 @@ public class X_M_MatchPO extends PO implements I_M_MatchPO, 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; @@ -359,7 +359,7 @@ public class X_M_MatchPO extends PO implements I_M_MatchPO, 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_M_Movement.java b/base/src/org/compiere/model/X_M_Movement.java index 9641639b12..94c83fca98 100644 --- a/base/src/org/compiere/model/X_M_Movement.java +++ b/base/src/org/compiere/model/X_M_Movement.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Movement * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent { @@ -87,8 +87,6 @@ public class X_M_Movement extends PO implements I_M_Movement, 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 @@ -112,8 +110,6 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent return ii.intValue(); } - /** AD_User_ID AD_Reference_ID=286 */ - public static final int AD_USER_ID_AD_Reference_ID=286; /** Set User/Contact. @param AD_User_ID User within the system - Internal or Business Partner Contact @@ -157,7 +153,7 @@ public class X_M_Movement extends PO implements I_M_Movement, 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; @@ -168,7 +164,7 @@ public class X_M_Movement extends PO implements I_M_Movement, 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; } @@ -196,7 +192,7 @@ public class X_M_Movement extends PO implements I_M_Movement, 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; @@ -207,7 +203,7 @@ public class X_M_Movement extends PO implements I_M_Movement, 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; } @@ -258,7 +254,7 @@ public class X_M_Movement extends PO implements I_M_Movement, 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; @@ -269,7 +265,7 @@ public class X_M_Movement extends PO implements I_M_Movement, 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; } @@ -297,7 +293,7 @@ public class X_M_Movement extends PO implements I_M_Movement, 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; @@ -308,7 +304,7 @@ public class X_M_Movement extends PO implements I_M_Movement, 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; } @@ -336,7 +332,7 @@ public class X_M_Movement extends PO implements I_M_Movement, 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; @@ -347,7 +343,7 @@ public class X_M_Movement extends PO implements I_M_Movement, 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 +370,27 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent return ii.intValue(); } - public I_C_Project getC_Project() throws Exception + /** 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; + } + + public I_C_Project getC_Project() throws RuntimeException { Class clazz = MTable.getClass(I_C_Project.Table_Name); I_C_Project result = null; @@ -385,7 +401,7 @@ public class X_M_Movement extends PO implements I_M_Movement, 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,26 +429,6 @@ public class X_M_Movement extends PO implements I_M_Movement, 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 Create lines from. @param CreateFrom Process which will generate a new document lines based on an existing document @@ -450,7 +446,24 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent return (String)get_Value(COLUMNNAME_CreateFrom); } - public org.eevolution.model.I_DD_Order getDD_Order() throws Exception + /** Set Date received. + @param DateReceived + Date a product was received + */ + public void setDateReceived (Timestamp DateReceived) + { + set_Value (COLUMNNAME_DateReceived, DateReceived); + } + + /** Get Date received. + @return Date a product was received + */ + public Timestamp getDateReceived () + { + return (Timestamp)get_Value(COLUMNNAME_DateReceived); + } + + public org.eevolution.model.I_DD_Order getDD_Order() throws RuntimeException { Class clazz = MTable.getClass(org.eevolution.model.I_DD_Order.Table_Name); org.eevolution.model.I_DD_Order result = null; @@ -461,7 +474,7 @@ public class X_M_Movement extends PO implements I_M_Movement, 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; } @@ -486,23 +499,6 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent return ii.intValue(); } - /** Set Date received. - @param DateReceived - Date a product was received - */ - public void setDateReceived (Timestamp DateReceived) - { - set_Value (COLUMNNAME_DateReceived, DateReceived); - } - - /** Get Date received. - @return Date a product was received - */ - public Timestamp getDateReceived () - { - return (Timestamp)get_Value(COLUMNNAME_DateReceived); - } - /** DeliveryRule AD_Reference_ID=151 */ public static final int DELIVERYRULE_AD_Reference_ID=151; /** After Receipt = R */ @@ -815,7 +811,26 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent return ii.intValue(); } - public I_M_Shipper getM_Shipper() throws Exception + /** Set Movement Date. + @param MovementDate + Date a product was moved in or out of inventory + */ + public void setMovementDate (Timestamp MovementDate) + { + if (MovementDate == null) + throw new IllegalArgumentException ("MovementDate is mandatory."); + set_Value (COLUMNNAME_MovementDate, MovementDate); + } + + /** Get Movement Date. + @return Date a product was moved in or out of inventory + */ + public Timestamp getMovementDate () + { + return (Timestamp)get_Value(COLUMNNAME_MovementDate); + } + + public I_M_Shipper getM_Shipper() throws RuntimeException { Class clazz = MTable.getClass(I_M_Shipper.Table_Name); I_M_Shipper result = null; @@ -826,7 +841,7 @@ public class X_M_Movement extends PO implements I_M_Movement, 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; } @@ -854,25 +869,6 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent return ii.intValue(); } - /** Set Movement Date. - @param MovementDate - Date a product was moved in or out of inventory - */ - public void setMovementDate (Timestamp MovementDate) - { - if (MovementDate == null) - throw new IllegalArgumentException ("MovementDate is mandatory."); - set_Value (COLUMNNAME_MovementDate, MovementDate); - } - - /** Get Movement Date. - @return Date a product was moved in or out of inventory - */ - public Timestamp getMovementDate () - { - return (Timestamp)get_Value(COLUMNNAME_MovementDate); - } - /** Set Order Reference. @param POReference Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner @@ -989,8 +985,6 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent return false; } - /** Reversal_ID AD_Reference_ID=53252 */ - public static final int REVERSAL_ID_AD_Reference_ID=53252; /** Set Reversal ID. @param Reversal_ID ID of document reversal @@ -1014,8 +1008,6 @@ public class X_M_Movement extends PO implements I_M_Movement, 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 @@ -1039,8 +1031,6 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent 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 @@ -1064,8 +1054,6 @@ public class X_M_Movement extends PO implements I_M_Movement, 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_M_MovementConfirm.java b/base/src/org/compiere/model/X_M_MovementConfirm.java index f698ac9edc..7560f97adc 100644 --- a/base/src/org/compiere/model/X_M_MovementConfirm.java +++ b/base/src/org/compiere/model/X_M_MovementConfirm.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_MovementConfirm * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_MovementConfirm extends PO implements I_M_MovementConfirm, I_Persistent { @@ -261,7 +261,7 @@ public class X_M_MovementConfirm extends PO implements I_M_MovementConfirm, I_Pe return false; } - public I_M_Inventory getM_Inventory() throws Exception + public I_M_Inventory getM_Inventory() throws RuntimeException { Class clazz = MTable.getClass(I_M_Inventory.Table_Name); I_M_Inventory result = null; @@ -272,7 +272,7 @@ public class X_M_MovementConfirm extends PO implements I_M_MovementConfirm, 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; } @@ -322,7 +322,7 @@ public class X_M_MovementConfirm extends PO implements I_M_MovementConfirm, I_Pe return ii.intValue(); } - public I_M_Movement getM_Movement() throws Exception + public I_M_Movement getM_Movement() throws RuntimeException { Class clazz = MTable.getClass(I_M_Movement.Table_Name); I_M_Movement result = null; @@ -333,7 +333,7 @@ public class X_M_MovementConfirm extends PO implements I_M_MovementConfirm, 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_M_MovementLine.java b/base/src/org/compiere/model/X_M_MovementLine.java index 8d4d0da459..3fb347326d 100644 --- a/base/src/org/compiere/model/X_M_MovementLine.java +++ b/base/src/org/compiere/model/X_M_MovementLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_MovementLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persistent { @@ -44,15 +44,15 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persiste { setLine (0); // @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM M_MovementLine WHERE M_Movement_ID=@M_Movement_ID@ - setM_LocatorTo_ID (0); -// @M_LocatorTo_ID@ setM_Locator_ID (0); // @M_Locator_ID@ - setM_MovementLine_ID (0); + setM_LocatorTo_ID (0); +// @M_LocatorTo_ID@ setM_Movement_ID (0); - setM_Product_ID (0); + setM_MovementLine_ID (0); setMovementQty (Env.ZERO); // 1 + setM_Product_ID (0); setProcessed (false); setTargetQty (Env.ZERO); // 0 @@ -107,7 +107,7 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persiste return bd; } - public org.eevolution.model.I_DD_OrderLine getDD_OrderLine() throws Exception + public org.eevolution.model.I_DD_OrderLine getDD_OrderLine() throws RuntimeException { Class clazz = MTable.getClass(org.eevolution.model.I_DD_OrderLine.Table_Name); org.eevolution.model.I_DD_OrderLine result = null; @@ -118,7 +118,7 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, 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; } @@ -188,29 +188,6 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persiste return new KeyNamePair(get_ID(), String.valueOf(getLine())); } - /** Set Attribute Set Instance To. - @param M_AttributeSetInstanceTo_ID - Target Product Attribute Set Instance - */ - public void setM_AttributeSetInstanceTo_ID (int M_AttributeSetInstanceTo_ID) - { - if (M_AttributeSetInstanceTo_ID < 1) - set_ValueNoCheck (COLUMNNAME_M_AttributeSetInstanceTo_ID, null); - else - set_ValueNoCheck (COLUMNNAME_M_AttributeSetInstanceTo_ID, Integer.valueOf(M_AttributeSetInstanceTo_ID)); - } - - /** Get Attribute Set Instance To. - @return Target Product Attribute Set Instance - */ - public int getM_AttributeSetInstanceTo_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_M_AttributeSetInstanceTo_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Attribute Set Instance. @param M_AttributeSetInstance_ID Product Attribute Set Instance @@ -234,25 +211,24 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persiste return ii.intValue(); } - /** M_LocatorTo_ID AD_Reference_ID=191 */ - public static final int M_LOCATORTO_ID_AD_Reference_ID=191; - /** Set Locator To. - @param M_LocatorTo_ID - Location inventory is moved to + /** Set Attribute Set Instance To. + @param M_AttributeSetInstanceTo_ID + Target Product Attribute Set Instance */ - public void setM_LocatorTo_ID (int M_LocatorTo_ID) + public void setM_AttributeSetInstanceTo_ID (int M_AttributeSetInstanceTo_ID) { - if (M_LocatorTo_ID < 1) - throw new IllegalArgumentException ("M_LocatorTo_ID is mandatory."); - set_Value (COLUMNNAME_M_LocatorTo_ID, Integer.valueOf(M_LocatorTo_ID)); + if (M_AttributeSetInstanceTo_ID < 1) + set_ValueNoCheck (COLUMNNAME_M_AttributeSetInstanceTo_ID, null); + else + set_ValueNoCheck (COLUMNNAME_M_AttributeSetInstanceTo_ID, Integer.valueOf(M_AttributeSetInstanceTo_ID)); } - /** Get Locator To. - @return Location inventory is moved to + /** Get Attribute Set Instance To. + @return Target Product Attribute Set Instance */ - public int getM_LocatorTo_ID () + public int getM_AttributeSetInstanceTo_ID () { - Integer ii = (Integer)get_Value(COLUMNNAME_M_LocatorTo_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_M_AttributeSetInstanceTo_ID); if (ii == null) return 0; return ii.intValue(); @@ -280,29 +256,29 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persiste return ii.intValue(); } - /** Set Move Line. - @param M_MovementLine_ID - Inventory Move document Line + /** Set Locator To. + @param M_LocatorTo_ID + Location inventory is moved to */ - public void setM_MovementLine_ID (int M_MovementLine_ID) + public void setM_LocatorTo_ID (int M_LocatorTo_ID) { - if (M_MovementLine_ID < 1) - throw new IllegalArgumentException ("M_MovementLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_M_MovementLine_ID, Integer.valueOf(M_MovementLine_ID)); + if (M_LocatorTo_ID < 1) + throw new IllegalArgumentException ("M_LocatorTo_ID is mandatory."); + set_Value (COLUMNNAME_M_LocatorTo_ID, Integer.valueOf(M_LocatorTo_ID)); } - /** Get Move Line. - @return Inventory Move document Line + /** Get Locator To. + @return Location inventory is moved to */ - public int getM_MovementLine_ID () + public int getM_LocatorTo_ID () { - Integer ii = (Integer)get_Value(COLUMNNAME_M_MovementLine_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_M_LocatorTo_ID); if (ii == null) return 0; return ii.intValue(); } - public I_M_Movement getM_Movement() throws Exception + public I_M_Movement getM_Movement() throws RuntimeException { Class clazz = MTable.getClass(I_M_Movement.Table_Name); I_M_Movement result = null; @@ -313,7 +289,7 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, 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; } @@ -340,25 +316,23 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persiste return ii.intValue(); } - /** M_Product_ID AD_Reference_ID=171 */ - public static final int M_PRODUCT_ID_AD_Reference_ID=171; - /** Set Product. - @param M_Product_ID - Product, Service, Item + /** Set Move Line. + @param M_MovementLine_ID + Inventory Move document Line */ - public void setM_Product_ID (int M_Product_ID) + public void setM_MovementLine_ID (int M_MovementLine_ID) { - if (M_Product_ID < 1) - throw new IllegalArgumentException ("M_Product_ID is mandatory."); - set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID)); + if (M_MovementLine_ID < 1) + throw new IllegalArgumentException ("M_MovementLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_M_MovementLine_ID, Integer.valueOf(M_MovementLine_ID)); } - /** Get Product. - @return Product, Service, Item + /** Get Move Line. + @return Inventory Move document Line */ - public int getM_Product_ID () + public int getM_MovementLine_ID () { - Integer ii = (Integer)get_Value(COLUMNNAME_M_Product_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_M_MovementLine_ID); if (ii == null) return 0; return ii.intValue(); @@ -386,6 +360,28 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persiste return bd; } + /** Set Product. + @param M_Product_ID + Product, Service, Item + */ + public void setM_Product_ID (int M_Product_ID) + { + if (M_Product_ID < 1) + throw new IllegalArgumentException ("M_Product_ID is mandatory."); + set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID)); + } + + /** Get Product. + @return Product, Service, Item + */ + public int getM_Product_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_M_Product_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Processed. @param Processed The document has been processed @@ -410,8 +406,6 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persiste return false; } - /** ReversalLine_ID AD_Reference_ID=53284 */ - public static final int REVERSALLINE_ID_AD_Reference_ID=53284; /** Set Reversal Line. @param ReversalLine_ID Use to keep the reversal line ID for reversing costing purpose diff --git a/base/src/org/compiere/model/X_M_MovementLineConfirm.java b/base/src/org/compiere/model/X_M_MovementLineConfirm.java index 5a3791702d..69ac07685b 100644 --- a/base/src/org/compiere/model/X_M_MovementLineConfirm.java +++ b/base/src/org/compiere/model/X_M_MovementLineConfirm.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_MovementLineConfirm * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_MovementLineConfirm extends PO implements I_M_MovementLineConfirm, I_Persistent { @@ -142,7 +142,7 @@ public class X_M_MovementLineConfirm extends PO implements I_M_MovementLineConfi return bd; } - public I_M_InventoryLine getM_InventoryLine() throws Exception + public I_M_InventoryLine getM_InventoryLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_InventoryLine.Table_Name); I_M_InventoryLine result = null; @@ -153,7 +153,7 @@ public class X_M_MovementLineConfirm extends PO implements I_M_MovementLineConfi } catch (Exception e) { log.log(Level.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_M_MovementLineConfirm extends PO implements I_M_MovementLineConfi return ii.intValue(); } - public I_M_MovementConfirm getM_MovementConfirm() throws Exception + public I_M_MovementConfirm getM_MovementConfirm() throws RuntimeException { Class clazz = MTable.getClass(I_M_MovementConfirm.Table_Name); I_M_MovementConfirm result = null; @@ -192,7 +192,7 @@ public class X_M_MovementLineConfirm extends PO implements I_M_MovementLineConfi } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -249,7 +249,7 @@ public class X_M_MovementLineConfirm extends PO implements I_M_MovementLineConfi return ii.intValue(); } - public I_M_MovementLine getM_MovementLine() throws Exception + public I_M_MovementLine getM_MovementLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_MovementLine.Table_Name); I_M_MovementLine result = null; @@ -260,7 +260,7 @@ public class X_M_MovementLineConfirm extends PO implements I_M_MovementLineConfi } catch (Exception e) { log.log(Level.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_M_MovementLineMA.java b/base/src/org/compiere/model/X_M_MovementLineMA.java index b95e101660..d1bd061f4a 100644 --- a/base/src/org/compiere/model/X_M_MovementLineMA.java +++ b/base/src/org/compiere/model/X_M_MovementLineMA.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_MovementLineMA * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_MovementLineMA extends PO implements I_M_MovementLineMA, I_Persistent { @@ -97,7 +97,7 @@ public class X_M_MovementLineMA extends PO implements I_M_MovementLineMA, I_Pers return ii.intValue(); } - public I_M_MovementLine getM_MovementLine() throws Exception + public I_M_MovementLine getM_MovementLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_MovementLine.Table_Name); I_M_MovementLine result = null; @@ -108,7 +108,7 @@ public class X_M_MovementLineMA extends PO implements I_M_MovementLineMA, 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_M_OperationResource.java b/base/src/org/compiere/model/X_M_OperationResource.java index a4dec476b6..b893744d13 100644 --- a/base/src/org/compiere/model/X_M_OperationResource.java +++ b/base/src/org/compiere/model/X_M_OperationResource.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_OperationResource * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_OperationResource extends PO implements I_M_OperationResource, I_Persistent { @@ -79,7 +79,7 @@ public class X_M_OperationResource extends PO implements I_M_OperationResource, return sb.toString(); } - 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; @@ -90,7 +90,7 @@ public class X_M_OperationResource extends PO implements I_M_OperationResource, } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -118,7 +118,7 @@ public class X_M_OperationResource extends PO implements I_M_OperationResource, 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; @@ -129,7 +129,7 @@ public class X_M_OperationResource extends PO implements I_M_OperationResource, } catch (Exception e) { log.log(Level.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_M_OperationResource extends PO implements I_M_OperationResource, return ii.intValue(); } - public I_M_ProductOperation getM_ProductOperation() throws Exception + public I_M_ProductOperation getM_ProductOperation() throws RuntimeException { Class clazz = MTable.getClass(I_M_ProductOperation.Table_Name); I_M_ProductOperation result = null; @@ -224,7 +224,7 @@ public class X_M_OperationResource extends PO implements I_M_OperationResource, } catch (Exception e) { log.log(Level.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_M_Package.java b/base/src/org/compiere/model/X_M_Package.java index 4c2b1f9ea8..b4fdc9ee96 100644 --- a/base/src/org/compiere/model/X_M_Package.java +++ b/base/src/org/compiere/model/X_M_Package.java @@ -25,7 +25,7 @@ import java.util.logging.Level; /** Generated Model for M_Package * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Package extends PO implements I_M_Package, I_Persistent { @@ -128,7 +128,7 @@ public class X_M_Package extends PO implements I_M_Package, I_Persistent return (String)get_Value(COLUMNNAME_DocumentNo); } - 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; @@ -139,7 +139,7 @@ public class X_M_Package extends PO implements I_M_Package, 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; } @@ -188,7 +188,7 @@ public class X_M_Package extends PO implements I_M_Package, I_Persistent return ii.intValue(); } - public I_M_Shipper getM_Shipper() throws Exception + public I_M_Shipper getM_Shipper() throws RuntimeException { Class clazz = MTable.getClass(I_M_Shipper.Table_Name); I_M_Shipper result = null; @@ -199,7 +199,7 @@ public class X_M_Package extends PO implements I_M_Package, 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_M_PackageLine.java b/base/src/org/compiere/model/X_M_PackageLine.java index e4ed42e6cb..8951bea80f 100644 --- a/base/src/org/compiere/model/X_M_PackageLine.java +++ b/base/src/org/compiere/model/X_M_PackageLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_PackageLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_PackageLine extends PO implements I_M_PackageLine, I_Persistent { @@ -94,7 +94,7 @@ public class X_M_PackageLine extends PO implements I_M_PackageLine, I_Persistent return (String)get_Value(COLUMNNAME_Description); } - 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; @@ -105,7 +105,7 @@ public class X_M_PackageLine extends PO implements I_M_PackageLine, 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,7 +132,7 @@ public class X_M_PackageLine extends PO implements I_M_PackageLine, I_Persistent return ii.intValue(); } - public I_M_Package getM_Package() throws Exception + public I_M_Package getM_Package() throws RuntimeException { Class clazz = MTable.getClass(I_M_Package.Table_Name); I_M_Package result = null; @@ -143,7 +143,7 @@ public class X_M_PackageLine extends PO implements I_M_PackageLine, 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_M_PerpetualInv.java b/base/src/org/compiere/model/X_M_PerpetualInv.java index 4ba8f17c2d..aa4199e268 100644 --- a/base/src/org/compiere/model/X_M_PerpetualInv.java +++ b/base/src/org/compiere/model/X_M_PerpetualInv.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_PerpetualInv * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_PerpetualInv extends PO implements I_M_PerpetualInv, I_Persistent { @@ -181,7 +181,7 @@ public class X_M_PerpetualInv extends PO implements I_M_PerpetualInv, I_Persiste 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; @@ -192,7 +192,7 @@ public class X_M_PerpetualInv extends PO implements I_M_PerpetualInv, 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; } @@ -220,7 +220,7 @@ public class X_M_PerpetualInv extends PO implements I_M_PerpetualInv, I_Persiste 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; @@ -231,7 +231,7 @@ public class X_M_PerpetualInv extends PO implements I_M_PerpetualInv, 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_M_PriceList.java b/base/src/org/compiere/model/X_M_PriceList.java index 5ad74aa2df..096f403649 100644 --- a/base/src/org/compiere/model/X_M_PriceList.java +++ b/base/src/org/compiere/model/X_M_PriceList.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_PriceList * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_PriceList extends PO implements I_M_PriceList, I_Persistent { @@ -82,8 +82,6 @@ public class X_M_PriceList extends PO implements I_M_PriceList, I_Persistent return sb.toString(); } - /** BasePriceList_ID AD_Reference_ID=166 */ - public static final int BASEPRICELIST_ID_AD_Reference_ID=166; /** Set Base Pricelist. @param BasePriceList_ID Pricelist to be used, if product not found on this pricelist @@ -107,7 +105,7 @@ public class X_M_PriceList extends PO implements I_M_PriceList, 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; @@ -118,7 +116,7 @@ public class X_M_PriceList extends PO implements I_M_PriceList, 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; } @@ -235,17 +233,14 @@ public class X_M_PriceList extends PO implements I_M_PriceList, I_Persistent } /** Set isPresentForProduct. - @param isPresentForProduct - Price List appears in Product Screen - */ + @param isPresentForProduct isPresentForProduct */ public void setisPresentForProduct (boolean isPresentForProduct) { set_Value (COLUMNNAME_isPresentForProduct, Boolean.valueOf(isPresentForProduct)); } /** Get isPresentForProduct. - @return Price List appears in Product Screen - */ + @return isPresentForProduct */ public boolean isPresentForProduct () { Object oo = get_Value(COLUMNNAME_isPresentForProduct); diff --git a/base/src/org/compiere/model/X_M_PriceList_Version.java b/base/src/org/compiere/model/X_M_PriceList_Version.java index 18ecdf50d8..2be39fae79 100644 --- a/base/src/org/compiere/model/X_M_PriceList_Version.java +++ b/base/src/org/compiere/model/X_M_PriceList_Version.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_PriceList_Version * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_PriceList_Version extends PO implements I_M_PriceList_Version, I_Persistent { @@ -96,7 +96,7 @@ public class X_M_PriceList_Version extends PO implements I_M_PriceList_Version, return (String)get_Value(COLUMNNAME_Description); } - public I_M_DiscountSchema getM_DiscountSchema() throws Exception + public I_M_DiscountSchema getM_DiscountSchema() throws RuntimeException { Class clazz = MTable.getClass(I_M_DiscountSchema.Table_Name); I_M_DiscountSchema result = null; @@ -107,7 +107,7 @@ public class X_M_PriceList_Version extends PO implements I_M_PriceList_Version, } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -134,7 +134,7 @@ public class X_M_PriceList_Version extends PO implements I_M_PriceList_Version, 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; @@ -145,7 +145,7 @@ public class X_M_PriceList_Version extends PO implements I_M_PriceList_Version, } catch (Exception e) { log.log(Level.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,8 +172,6 @@ public class X_M_PriceList_Version extends PO implements I_M_PriceList_Version, return ii.intValue(); } - /** M_Pricelist_Version_Base_ID AD_Reference_ID=188 */ - public static final int M_PRICELIST_VERSION_BASE_ID_AD_Reference_ID=188; /** Set Base Price List. @param M_Pricelist_Version_Base_ID Source for Price list calculations diff --git a/base/src/org/compiere/model/X_M_Product.java b/base/src/org/compiere/model/X_M_Product.java index af8ed76fba..130b008721 100644 --- a/base/src/org/compiere/model/X_M_Product.java +++ b/base/src/org/compiere/model/X_M_Product.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Product * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Product extends PO implements I_M_Product, I_Persistent { @@ -121,7 +121,7 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent return (String)get_Value(COLUMNNAME_Classification); } - 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; @@ -132,7 +132,7 @@ public class X_M_Product extends PO implements I_M_Product, 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; } @@ -183,7 +183,7 @@ public class X_M_Product extends PO implements I_M_Product, 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; @@ -194,7 +194,7 @@ public class X_M_Product extends PO implements I_M_Product, 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; } @@ -221,7 +221,7 @@ public class X_M_Product extends PO implements I_M_Product, 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; @@ -232,7 +232,7 @@ public class X_M_Product extends PO implements I_M_Product, 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; } @@ -758,7 +758,7 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent return ii.intValue(); } - public I_M_AttributeSet getM_AttributeSet() throws Exception + public I_M_AttributeSet getM_AttributeSet() throws RuntimeException { Class clazz = MTable.getClass(I_M_AttributeSet.Table_Name); I_M_AttributeSet result = null; @@ -769,7 +769,7 @@ public class X_M_Product extends PO implements I_M_Product, 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; } @@ -819,7 +819,7 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent return ii.intValue(); } - public I_M_FreightCategory getM_FreightCategory() throws Exception + public I_M_FreightCategory getM_FreightCategory() throws RuntimeException { Class clazz = MTable.getClass(I_M_FreightCategory.Table_Name); I_M_FreightCategory result = null; @@ -830,7 +830,7 @@ public class X_M_Product extends PO implements I_M_Product, 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; } @@ -881,9 +881,7 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent return ii.intValue(); } - /** M_Product_Category_ID AD_Reference_ID=163 */ - public static final int M_PRODUCT_CATEGORY_ID_AD_Reference_ID=163; - 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; @@ -894,7 +892,7 @@ public class X_M_Product extends PO implements I_M_Product, 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; } @@ -1013,7 +1011,7 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent return (String)get_Value(COLUMNNAME_ProductType); } - public I_R_MailText getR_MailText() throws Exception + public I_R_MailText getR_MailText() throws RuntimeException { Class clazz = MTable.getClass(I_R_MailText.Table_Name); I_R_MailText result = null; @@ -1024,7 +1022,7 @@ public class X_M_Product extends PO implements I_M_Product, 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; } @@ -1052,8 +1050,6 @@ public class X_M_Product extends PO implements I_M_Product, 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 @@ -1077,7 +1073,7 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent return ii.intValue(); } - public I_S_ExpenseType getS_ExpenseType() throws Exception + public I_S_ExpenseType getS_ExpenseType() throws RuntimeException { Class clazz = MTable.getClass(I_S_ExpenseType.Table_Name); I_S_ExpenseType result = null; @@ -1088,7 +1084,7 @@ public class X_M_Product extends PO implements I_M_Product, 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; } @@ -1193,7 +1189,7 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent return (String)get_Value(COLUMNNAME_SKU); } - public I_S_Resource getS_Resource() throws Exception + public I_S_Resource getS_Resource() throws RuntimeException { Class clazz = MTable.getClass(I_S_Resource.Table_Name); I_S_Resource result = null; @@ -1204,7 +1200,7 @@ public class X_M_Product extends PO implements I_M_Product, 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_M_ProductDownload.java b/base/src/org/compiere/model/X_M_ProductDownload.java index 63a3df58bf..e93e066cc3 100644 --- a/base/src/org/compiere/model/X_M_ProductDownload.java +++ b/base/src/org/compiere/model/X_M_ProductDownload.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_ProductDownload * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_ProductDownload extends PO implements I_M_ProductDownload, I_Persistent { @@ -116,7 +116,7 @@ public class X_M_ProductDownload extends PO implements I_M_ProductDownload, I_Pe 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; @@ -127,7 +127,7 @@ public class X_M_ProductDownload extends PO implements I_M_ProductDownload, 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_M_ProductOperation.java b/base/src/org/compiere/model/X_M_ProductOperation.java index 1062b620f3..a47e9dd3b9 100644 --- a/base/src/org/compiere/model/X_M_ProductOperation.java +++ b/base/src/org/compiere/model/X_M_ProductOperation.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_ProductOperation * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_ProductOperation extends PO implements I_M_ProductOperation, I_Persistent { @@ -110,7 +110,7 @@ public class X_M_ProductOperation extends PO implements I_M_ProductOperation, I_ 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; @@ -121,7 +121,7 @@ public class X_M_ProductOperation extends PO implements I_M_ProductOperation, 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_M_ProductPrice.java b/base/src/org/compiere/model/X_M_ProductPrice.java index 3ff92280ef..d2376bc92c 100644 --- a/base/src/org/compiere/model/X_M_ProductPrice.java +++ b/base/src/org/compiere/model/X_M_ProductPrice.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for M_ProductPrice * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_ProductPrice extends PO implements I_M_ProductPrice, I_Persistent { @@ -77,7 +77,7 @@ public class X_M_ProductPrice extends PO implements I_M_ProductPrice, I_Persiste return sb.toString(); } - 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; @@ -88,7 +88,7 @@ public class X_M_ProductPrice extends PO implements I_M_ProductPrice, 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; } @@ -115,7 +115,7 @@ public class X_M_ProductPrice extends PO implements I_M_ProductPrice, I_Persiste 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; @@ -126,7 +126,7 @@ public class X_M_ProductPrice extends PO implements I_M_ProductPrice, 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_M_Product_Acct.java b/base/src/org/compiere/model/X_M_Product_Acct.java index 73638c6db9..965c5e8bdb 100644 --- a/base/src/org/compiere/model/X_M_Product_Acct.java +++ b/base/src/org/compiere/model/X_M_Product_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for M_Product_Acct * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Product_Acct extends PO implements I_M_Product_Acct, I_Persistent { @@ -82,7 +82,7 @@ public class X_M_Product_Acct extends PO implements I_M_Product_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; @@ -93,7 +93,7 @@ public class X_M_Product_Acct extends PO implements I_M_Product_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; } @@ -120,7 +120,7 @@ public class X_M_Product_Acct extends PO implements I_M_Product_Acct, I_Persiste 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; @@ -131,7 +131,7 @@ public class X_M_Product_Acct extends PO implements I_M_Product_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_M_Product_BOM.java b/base/src/org/compiere/model/X_M_Product_BOM.java index 581cb14f18..60cbfadc41 100644 --- a/base/src/org/compiere/model/X_M_Product_BOM.java +++ b/base/src/org/compiere/model/X_M_Product_BOM.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Product_BOM * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Product_BOM extends PO implements I_M_Product_BOM, I_Persistent { @@ -200,8 +200,6 @@ public class X_M_Product_BOM extends PO implements I_M_Product_BOM, I_Persistent return ii.intValue(); } - /** M_ProductBOM_ID AD_Reference_ID=162 */ - public static final int M_PRODUCTBOM_ID_AD_Reference_ID=162; /** Set BOM Product. @param M_ProductBOM_ID Bill of Material Component Product @@ -232,7 +230,7 @@ public class X_M_Product_BOM extends PO implements I_M_Product_BOM, I_Persistent return new KeyNamePair(get_ID(), String.valueOf(getM_ProductBOM_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; @@ -243,7 +241,7 @@ public class X_M_Product_BOM extends PO implements I_M_Product_BOM, 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_M_Product_Category.java b/base/src/org/compiere/model/X_M_Product_Category.java index 4705b72940..49741f916a 100644 --- a/base/src/org/compiere/model/X_M_Product_Category.java +++ b/base/src/org/compiere/model/X_M_Product_Category.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Product_Category * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Product_Category extends PO implements I_M_Product_Category, I_Persistent { @@ -82,7 +82,7 @@ public class X_M_Product_Category extends PO implements I_M_Product_Category, I_ 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; @@ -93,7 +93,7 @@ public class X_M_Product_Category extends PO implements I_M_Product_Category, 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; } @@ -121,7 +121,7 @@ public class X_M_Product_Category extends PO implements I_M_Product_Category, I_ return ii.intValue(); } - 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; @@ -132,7 +132,7 @@ public class X_M_Product_Category extends PO implements I_M_Product_Category, 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; } @@ -271,8 +271,6 @@ public class X_M_Product_Category extends PO implements I_M_Product_Category, I_ return ii.intValue(); } - /** M_Product_Category_Parent_ID AD_Reference_ID=163 */ - public static final int M_PRODUCT_CATEGORY_PARENT_ID_AD_Reference_ID=163; /** Set Parent Product Category. @param M_Product_Category_Parent_ID Parent Product Category */ public void setM_Product_Category_Parent_ID (int M_Product_Category_Parent_ID) diff --git a/base/src/org/compiere/model/X_M_Product_Category_Acct.java b/base/src/org/compiere/model/X_M_Product_Category_Acct.java index 775ea1888f..ec64d7dd60 100644 --- a/base/src/org/compiere/model/X_M_Product_Category_Acct.java +++ b/base/src/org/compiere/model/X_M_Product_Category_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for M_Product_Category_Acct * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Product_Category_Acct extends PO implements I_M_Product_Category_Acct, I_Persistent { @@ -82,7 +82,7 @@ public class X_M_Product_Category_Acct extends PO implements I_M_Product_Categor 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_M_Product_Category_Acct extends PO implements I_M_Product_Categor } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -184,7 +184,7 @@ public class X_M_Product_Category_Acct extends PO implements I_M_Product_Categor return (String)get_Value(COLUMNNAME_CostingMethod); } - 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; @@ -195,7 +195,7 @@ public class X_M_Product_Category_Acct extends PO implements I_M_Product_Categor } catch (Exception e) { log.log(Level.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_M_Product_Costing.java b/base/src/org/compiere/model/X_M_Product_Costing.java index c148081fae..08443e4f9a 100644 --- a/base/src/org/compiere/model/X_M_Product_Costing.java +++ b/base/src/org/compiere/model/X_M_Product_Costing.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for M_Product_Costing * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Product_Costing extends PO implements I_M_Product_Costing, I_Persistent { @@ -88,7 +88,7 @@ public class X_M_Product_Costing extends PO implements I_M_Product_Costing, I_Pe 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; @@ -99,7 +99,7 @@ public class X_M_Product_Costing extends PO implements I_M_Product_Costing, 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; } @@ -343,7 +343,7 @@ public class X_M_Product_Costing extends PO implements I_M_Product_Costing, I_Pe 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; @@ -354,7 +354,7 @@ public class X_M_Product_Costing extends PO implements I_M_Product_Costing, 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_M_Product_PO.java b/base/src/org/compiere/model/X_M_Product_PO.java index 10bbbfe7d0..c034005fd1 100644 --- a/base/src/org/compiere/model/X_M_Product_PO.java +++ b/base/src/org/compiere/model/X_M_Product_PO.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for M_Product_PO * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Product_PO extends PO implements I_M_Product_PO, I_Persistent { @@ -81,7 +81,7 @@ public class X_M_Product_PO extends PO implements I_M_Product_PO, 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_M_Product_PO extends PO implements I_M_Product_PO, 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_M_Product_PO extends PO implements I_M_Product_PO, 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; @@ -130,7 +130,7 @@ public class X_M_Product_PO extends PO implements I_M_Product_PO, 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 +178,7 @@ public class X_M_Product_PO extends PO implements I_M_Product_PO, I_Persistent return bd; } - 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; @@ -189,7 +189,7 @@ public class X_M_Product_PO extends PO implements I_M_Product_PO, 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; } @@ -339,7 +339,7 @@ public class X_M_Product_PO extends PO implements I_M_Product_PO, I_Persistent 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; @@ -350,7 +350,7 @@ public class X_M_Product_PO extends PO implements I_M_Product_PO, 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_M_Production.java b/base/src/org/compiere/model/X_M_Production.java index ef1e31d763..789688da76 100644 --- a/base/src/org/compiere/model/X_M_Production.java +++ b/base/src/org/compiere/model/X_M_Production.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Production * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Production extends PO implements I_M_Production, I_Persistent { @@ -79,8 +79,6 @@ public class X_M_Production extends PO implements I_M_Production, 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 @@ -104,7 +102,7 @@ public class X_M_Production extends PO implements I_M_Production, 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; @@ -115,7 +113,7 @@ public class X_M_Production extends PO implements I_M_Production, 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; } @@ -143,7 +141,7 @@ public class X_M_Production extends PO implements I_M_Production, 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; @@ -154,7 +152,7 @@ public class X_M_Production extends PO implements I_M_Production, 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; } @@ -182,7 +180,7 @@ public class X_M_Production extends PO implements I_M_Production, 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; @@ -193,7 +191,7 @@ public class X_M_Production extends PO implements I_M_Production, 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; } @@ -396,8 +394,6 @@ public class X_M_Production extends PO implements I_M_Production, I_Persistent 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 @@ -421,8 +417,6 @@ public class X_M_Production extends PO implements I_M_Production, 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_M_ProductionLine.java b/base/src/org/compiere/model/X_M_ProductionLine.java index 7cfa3fd7b3..093176ed35 100644 --- a/base/src/org/compiere/model/X_M_ProductionLine.java +++ b/base/src/org/compiere/model/X_M_ProductionLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_ProductionLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_ProductionLine extends PO implements I_M_ProductionLine, I_Persistent { @@ -194,7 +194,7 @@ public class X_M_ProductionLine extends PO implements I_M_ProductionLine, 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 +205,7 @@ public class X_M_ProductionLine extends PO implements I_M_ProductionLine, 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; } @@ -254,7 +254,7 @@ public class X_M_ProductionLine extends PO implements I_M_ProductionLine, I_Pers return ii.intValue(); } - public I_M_ProductionPlan getM_ProductionPlan() throws Exception + public I_M_ProductionPlan getM_ProductionPlan() throws RuntimeException { Class clazz = MTable.getClass(I_M_ProductionPlan.Table_Name); I_M_ProductionPlan result = null; @@ -265,7 +265,7 @@ public class X_M_ProductionLine extends PO implements I_M_ProductionLine, 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_M_ProductionLineMA.java b/base/src/org/compiere/model/X_M_ProductionLineMA.java index aaef7a1338..6fa4c4ee92 100644 --- a/base/src/org/compiere/model/X_M_ProductionLineMA.java +++ b/base/src/org/compiere/model/X_M_ProductionLineMA.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_ProductionLineMA * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_ProductionLineMA extends PO implements I_M_ProductionLineMA, I_Persistent { @@ -120,7 +120,7 @@ public class X_M_ProductionLineMA extends PO implements I_M_ProductionLineMA, I_ return bd; } - public I_M_ProductionLine getM_ProductionLine() throws Exception + public I_M_ProductionLine getM_ProductionLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_ProductionLine.Table_Name); I_M_ProductionLine result = null; @@ -131,7 +131,7 @@ public class X_M_ProductionLineMA extends PO implements I_M_ProductionLineMA, 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_M_ProductionPlan.java b/base/src/org/compiere/model/X_M_ProductionPlan.java index 0c69371143..9f56469dac 100644 --- a/base/src/org/compiere/model/X_M_ProductionPlan.java +++ b/base/src/org/compiere/model/X_M_ProductionPlan.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_ProductionPlan * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_ProductionPlan extends PO implements I_M_ProductionPlan, I_Persistent { @@ -150,8 +150,6 @@ public class X_M_ProductionPlan extends PO implements I_M_ProductionPlan, I_Pers return ii.intValue(); } - /** M_Product_ID AD_Reference_ID=211 */ - public static final int M_PRODUCT_ID_AD_Reference_ID=211; /** Set Product. @param M_Product_ID Product, Service, Item @@ -174,7 +172,7 @@ public class X_M_ProductionPlan extends PO implements I_M_ProductionPlan, I_Pers return ii.intValue(); } - public I_M_Production getM_Production() throws Exception + public I_M_Production getM_Production() throws RuntimeException { Class clazz = MTable.getClass(I_M_Production.Table_Name); I_M_Production result = null; @@ -185,7 +183,7 @@ public class X_M_ProductionPlan extends PO implements I_M_ProductionPlan, 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_M_RMA.java b/base/src/org/compiere/model/X_M_RMA.java index 7560420fee..5182681607 100644 --- a/base/src/org/compiere/model/X_M_RMA.java +++ b/base/src/org/compiere/model/X_M_RMA.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_RMA * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_RMA extends PO implements I_M_RMA, I_Persistent { @@ -108,7 +108,7 @@ public class X_M_RMA extends PO implements I_M_RMA, I_Persistent 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; @@ -119,7 +119,7 @@ public class X_M_RMA extends PO implements I_M_RMA, 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; } @@ -147,7 +147,7 @@ public class X_M_RMA extends PO implements I_M_RMA, 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; @@ -158,7 +158,7 @@ public class X_M_RMA extends PO implements I_M_RMA, 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,8 +186,6 @@ public class X_M_RMA extends PO implements I_M_RMA, I_Persistent return ii.intValue(); } - /** C_DocType_ID AD_Reference_ID=321 */ - public static final int C_DOCTYPE_ID_AD_Reference_ID=321; /** Set Document Type. @param C_DocType_ID Document type or rules @@ -210,7 +208,7 @@ public class X_M_RMA extends PO implements I_M_RMA, 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; @@ -221,7 +219,7 @@ public class X_M_RMA extends PO implements I_M_RMA, 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; } @@ -419,8 +417,6 @@ public class X_M_RMA extends PO implements I_M_RMA, I_Persistent return (String)get_Value(COLUMNNAME_Help); } - /** InOut_ID AD_Reference_ID=337 */ - public static final int INOUT_ID_AD_Reference_ID=337; /** Set Shipment/Receipt. @param InOut_ID MaterialShipment Document @@ -513,7 +509,7 @@ public class X_M_RMA extends PO implements I_M_RMA, I_Persistent return ii.intValue(); } - public I_M_RMAType getM_RMAType() throws Exception + public I_M_RMAType getM_RMAType() throws RuntimeException { Class clazz = MTable.getClass(I_M_RMAType.Table_Name); I_M_RMAType result = null; @@ -524,7 +520,7 @@ public class X_M_RMA extends PO implements I_M_RMA, 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; } @@ -615,8 +611,6 @@ public class X_M_RMA extends PO implements I_M_RMA, I_Persistent 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_M_RMALine.java b/base/src/org/compiere/model/X_M_RMALine.java index 3aadb730ca..4e7cc5b1d8 100644 --- a/base/src/org/compiere/model/X_M_RMALine.java +++ b/base/src/org/compiere/model/X_M_RMALine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_RMALine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_RMALine extends PO implements I_M_RMALine, I_Persistent { @@ -97,7 +97,7 @@ public class X_M_RMALine extends PO implements I_M_RMALine, I_Persistent return bd; } - 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; @@ -108,7 +108,7 @@ public class X_M_RMALine extends PO implements I_M_RMALine, 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; } @@ -193,7 +193,7 @@ public class X_M_RMALine extends PO implements I_M_RMALine, I_Persistent return bd; } - 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; @@ -204,7 +204,7 @@ public class X_M_RMALine extends PO implements I_M_RMALine, 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; } @@ -232,7 +232,7 @@ public class X_M_RMALine extends PO implements I_M_RMALine, 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; @@ -243,7 +243,7 @@ public class X_M_RMALine extends PO implements I_M_RMALine, 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_M_RMAType.java b/base/src/org/compiere/model/X_M_RMAType.java index 8dfe506e84..72ee64a2cd 100644 --- a/base/src/org/compiere/model/X_M_RMAType.java +++ b/base/src/org/compiere/model/X_M_RMAType.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_RMAType * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_RMAType extends PO implements I_M_RMAType, I_Persistent { diff --git a/base/src/org/compiere/model/X_M_RelatedProduct.java b/base/src/org/compiere/model/X_M_RelatedProduct.java index 39ae76c71b..d902ad6027 100644 --- a/base/src/org/compiere/model/X_M_RelatedProduct.java +++ b/base/src/org/compiere/model/X_M_RelatedProduct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for M_RelatedProduct * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_RelatedProduct extends PO implements I_M_RelatedProduct, I_Persistent { @@ -91,7 +91,7 @@ public class X_M_RelatedProduct extends PO implements I_M_RelatedProduct, I_Pers 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; @@ -102,7 +102,7 @@ public class X_M_RelatedProduct extends PO implements I_M_RelatedProduct, 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 +148,6 @@ public class X_M_RelatedProduct extends PO implements I_M_RelatedProduct, I_Pers return (String)get_Value(COLUMNNAME_Name); } - /** RelatedProduct_ID AD_Reference_ID=162 */ - public static final int RELATEDPRODUCT_ID_AD_Reference_ID=162; /** Set Related Product. @param RelatedProduct_ID Related Product diff --git a/base/src/org/compiere/model/X_M_Replenish.java b/base/src/org/compiere/model/X_M_Replenish.java index ed2ff792a8..7c67bcd401 100644 --- a/base/src/org/compiere/model/X_M_Replenish.java +++ b/base/src/org/compiere/model/X_M_Replenish.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for M_Replenish * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Replenish extends PO implements I_M_Replenish, I_Persistent { diff --git a/base/src/org/compiere/model/X_M_Requisition.java b/base/src/org/compiere/model/X_M_Requisition.java index 5c67f8dfca..a82dd09252 100644 --- a/base/src/org/compiere/model/X_M_Requisition.java +++ b/base/src/org/compiere/model/X_M_Requisition.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Requisition * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Requisition extends PO implements I_M_Requisition, I_Persistent { @@ -93,7 +93,7 @@ public class X_M_Requisition extends PO implements I_M_Requisition, 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; @@ -104,7 +104,7 @@ public class X_M_Requisition extends PO implements I_M_Requisition, 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_M_Requisition extends PO implements I_M_Requisition, 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; @@ -142,7 +142,7 @@ public class X_M_Requisition extends PO implements I_M_Requisition, 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; } @@ -384,7 +384,7 @@ public class X_M_Requisition extends PO implements I_M_Requisition, 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; @@ -395,7 +395,7 @@ public class X_M_Requisition extends PO implements I_M_Requisition, 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; } @@ -444,7 +444,7 @@ public class X_M_Requisition extends PO implements I_M_Requisition, 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; @@ -455,7 +455,7 @@ public class X_M_Requisition extends PO implements I_M_Requisition, 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_M_RequisitionLine.java b/base/src/org/compiere/model/X_M_RequisitionLine.java index 4ae9560258..8b882effe8 100644 --- a/base/src/org/compiere/model/X_M_RequisitionLine.java +++ b/base/src/org/compiere/model/X_M_RequisitionLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_RequisitionLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_RequisitionLine extends PO implements I_M_RequisitionLine, I_Persistent { @@ -81,7 +81,7 @@ public class X_M_RequisitionLine extends PO implements I_M_RequisitionLine, I_Pe return sb.toString(); } - 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; @@ -92,7 +92,7 @@ public class X_M_RequisitionLine extends PO implements I_M_RequisitionLine, 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; } @@ -120,7 +120,7 @@ public class X_M_RequisitionLine extends PO implements I_M_RequisitionLine, I_Pe 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; @@ -131,7 +131,7 @@ public class X_M_RequisitionLine extends PO implements I_M_RequisitionLine, 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; } @@ -249,7 +249,7 @@ public class X_M_RequisitionLine extends PO implements I_M_RequisitionLine, I_Pe 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; @@ -260,7 +260,7 @@ public class X_M_RequisitionLine extends PO implements I_M_RequisitionLine, 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; } @@ -288,7 +288,7 @@ public class X_M_RequisitionLine extends PO implements I_M_RequisitionLine, I_Pe return ii.intValue(); } - public I_M_Requisition getM_Requisition() throws Exception + public I_M_Requisition getM_Requisition() throws RuntimeException { Class clazz = MTable.getClass(I_M_Requisition.Table_Name); I_M_Requisition result = null; @@ -299,7 +299,7 @@ public class X_M_RequisitionLine extends PO implements I_M_RequisitionLine, 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_M_SerNoCtl.java b/base/src/org/compiere/model/X_M_SerNoCtl.java index 8390d796be..cd75204bc1 100644 --- a/base/src/org/compiere/model/X_M_SerNoCtl.java +++ b/base/src/org/compiere/model/X_M_SerNoCtl.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_SerNoCtl * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_SerNoCtl extends PO implements I_M_SerNoCtl, I_Persistent { diff --git a/base/src/org/compiere/model/X_M_SerNoCtlExclude.java b/base/src/org/compiere/model/X_M_SerNoCtlExclude.java index 333196cee2..7a627db9a4 100644 --- a/base/src/org/compiere/model/X_M_SerNoCtlExclude.java +++ b/base/src/org/compiere/model/X_M_SerNoCtlExclude.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for M_SerNoCtlExclude * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_SerNoCtlExclude extends PO implements I_M_SerNoCtlExclude, I_Persistent { @@ -74,7 +74,7 @@ public class X_M_SerNoCtlExclude extends PO implements I_M_SerNoCtlExclude, I_Pe 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_M_SerNoCtlExclude extends PO implements I_M_SerNoCtlExclude, 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; } @@ -158,7 +158,7 @@ public class X_M_SerNoCtlExclude extends PO implements I_M_SerNoCtlExclude, I_Pe return ii.intValue(); } - public I_M_SerNoCtl getM_SerNoCtl() throws Exception + public I_M_SerNoCtl getM_SerNoCtl() throws RuntimeException { Class clazz = MTable.getClass(I_M_SerNoCtl.Table_Name); I_M_SerNoCtl result = null; @@ -169,7 +169,7 @@ public class X_M_SerNoCtlExclude extends PO implements I_M_SerNoCtlExclude, 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_M_Shipper.java b/base/src/org/compiere/model/X_M_Shipper.java index 0d0b1bba04..19344893ef 100644 --- a/base/src/org/compiere/model/X_M_Shipper.java +++ b/base/src/org/compiere/model/X_M_Shipper.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Shipper * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Shipper extends PO implements I_M_Shipper, I_Persistent { @@ -73,7 +73,7 @@ public class X_M_Shipper extends PO implements I_M_Shipper, 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; @@ -84,7 +84,7 @@ public class X_M_Shipper extends PO implements I_M_Shipper, 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_M_Storage.java b/base/src/org/compiere/model/X_M_Storage.java index f505ca503d..89d66a275a 100644 --- a/base/src/org/compiere/model/X_M_Storage.java +++ b/base/src/org/compiere/model/X_M_Storage.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for M_Storage * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Storage extends PO implements I_M_Storage, I_Persistent { @@ -140,7 +140,7 @@ public class X_M_Storage extends PO implements I_M_Storage, 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; @@ -151,7 +151,7 @@ public class X_M_Storage extends PO implements I_M_Storage, 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_M_Substitute.java b/base/src/org/compiere/model/X_M_Substitute.java index 9cc7cac120..a54ebe3443 100644 --- a/base/src/org/compiere/model/X_M_Substitute.java +++ b/base/src/org/compiere/model/X_M_Substitute.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Substitute * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Substitute extends PO implements I_M_Substitute, I_Persistent { @@ -91,7 +91,7 @@ public class X_M_Substitute extends PO implements I_M_Substitute, 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; @@ -102,7 +102,7 @@ public class X_M_Substitute extends PO implements I_M_Substitute, 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; } @@ -156,8 +156,6 @@ public class X_M_Substitute extends PO implements I_M_Substitute, I_Persistent return new KeyNamePair(get_ID(), getName()); } - /** Substitute_ID AD_Reference_ID=162 */ - public static final int SUBSTITUTE_ID_AD_Reference_ID=162; /** Set Substitute. @param Substitute_ID Entity which can be used in place of this entity diff --git a/base/src/org/compiere/model/X_M_Transaction.java b/base/src/org/compiere/model/X_M_Transaction.java index 9e5dab1a6a..13179b6fff 100644 --- a/base/src/org/compiere/model/X_M_Transaction.java +++ b/base/src/org/compiere/model/X_M_Transaction.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Transaction * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Transaction extends PO implements I_M_Transaction, I_Persistent { @@ -81,7 +81,7 @@ public class X_M_Transaction extends PO implements I_M_Transaction, I_Persistent 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; @@ -92,7 +92,7 @@ public class X_M_Transaction extends PO implements I_M_Transaction, 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_M_Transaction extends PO implements I_M_Transaction, 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; @@ -153,7 +153,7 @@ public class X_M_Transaction extends PO implements I_M_Transaction, 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; } @@ -181,7 +181,7 @@ public class X_M_Transaction extends PO implements I_M_Transaction, I_Persistent return ii.intValue(); } - public I_M_InventoryLine getM_InventoryLine() throws Exception + public I_M_InventoryLine getM_InventoryLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_InventoryLine.Table_Name); I_M_InventoryLine result = null; @@ -192,7 +192,7 @@ public class X_M_Transaction extends PO implements I_M_Transaction, 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_M_Transaction extends PO implements I_M_Transaction, I_Persistent return ii.intValue(); } - public I_M_MovementLine getM_MovementLine() throws Exception + public I_M_MovementLine getM_MovementLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_MovementLine.Table_Name); I_M_MovementLine result = null; @@ -253,7 +253,7 @@ public class X_M_Transaction extends PO implements I_M_Transaction, 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 +374,7 @@ public class X_M_Transaction extends PO implements I_M_Transaction, I_Persistent return (String)get_Value(COLUMNNAME_MovementType); } - 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; @@ -385,7 +385,7 @@ public class X_M_Transaction extends PO implements I_M_Transaction, 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; } @@ -412,7 +412,7 @@ public class X_M_Transaction extends PO implements I_M_Transaction, I_Persistent return ii.intValue(); } - public I_M_ProductionLine getM_ProductionLine() throws Exception + public I_M_ProductionLine getM_ProductionLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_ProductionLine.Table_Name); I_M_ProductionLine result = null; @@ -423,7 +423,7 @@ public class X_M_Transaction extends PO implements I_M_Transaction, 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; } @@ -470,7 +470,7 @@ public class X_M_Transaction extends PO implements I_M_Transaction, I_Persistent return ii.intValue(); } - public org.eevolution.model.I_PP_Order_BOMLine getPP_Order_BOMLine() throws Exception + public org.eevolution.model.I_PP_Order_BOMLine getPP_Order_BOMLine() throws RuntimeException { Class clazz = MTable.getClass(org.eevolution.model.I_PP_Order_BOMLine.Table_Name); org.eevolution.model.I_PP_Order_BOMLine result = null; @@ -481,13 +481,13 @@ public class X_M_Transaction extends PO implements I_M_Transaction, 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; } - /** Set PP_Order_BOMLine_ID. - @param PP_Order_BOMLine_ID PP_Order_BOMLine_ID */ + /** Set Manufacturing Order BOM Line. + @param PP_Order_BOMLine_ID Manufacturing Order BOM Line */ public void setPP_Order_BOMLine_ID (int PP_Order_BOMLine_ID) { if (PP_Order_BOMLine_ID < 1) @@ -496,8 +496,8 @@ public class X_M_Transaction extends PO implements I_M_Transaction, I_Persistent set_Value (COLUMNNAME_PP_Order_BOMLine_ID, Integer.valueOf(PP_Order_BOMLine_ID)); } - /** Get PP_Order_BOMLine_ID. - @return PP_Order_BOMLine_ID */ + /** Get Manufacturing Order BOM Line. + @return Manufacturing Order BOM Line */ public int getPP_Order_BOMLine_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_BOMLine_ID); @@ -506,7 +506,7 @@ public class X_M_Transaction extends PO implements I_M_Transaction, I_Persistent return ii.intValue(); } - public org.eevolution.model.I_PP_Order getPP_Order() throws Exception + public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException { Class clazz = MTable.getClass(org.eevolution.model.I_PP_Order.Table_Name); org.eevolution.model.I_PP_Order result = null; @@ -517,13 +517,13 @@ public class X_M_Transaction extends PO implements I_M_Transaction, 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; } - /** Set PP_Order_ID. - @param PP_Order_ID PP_Order_ID */ + /** Set Manufacturing Order. + @param PP_Order_ID Manufacturing Order */ public void setPP_Order_ID (int PP_Order_ID) { if (PP_Order_ID < 1) @@ -532,8 +532,8 @@ public class X_M_Transaction extends PO implements I_M_Transaction, I_Persistent set_Value (COLUMNNAME_PP_Order_ID, Integer.valueOf(PP_Order_ID)); } - /** Get PP_Order_ID. - @return PP_Order_ID */ + /** Get Manufacturing Order. + @return Manufacturing Order */ public int getPP_Order_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_ID); diff --git a/base/src/org/compiere/model/X_M_TransactionAllocation.java b/base/src/org/compiere/model/X_M_TransactionAllocation.java index 0c4f935f6a..920208ab7b 100644 --- a/base/src/org/compiere/model/X_M_TransactionAllocation.java +++ b/base/src/org/compiere/model/X_M_TransactionAllocation.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for M_TransactionAllocation * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_TransactionAllocation extends PO implements I_M_TransactionAllocation, I_Persistent { @@ -175,7 +175,7 @@ public class X_M_TransactionAllocation extends PO implements I_M_TransactionAllo 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; @@ -186,7 +186,7 @@ public class X_M_TransactionAllocation extends PO implements I_M_TransactionAllo } catch (Exception e) { log.log(Level.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_M_TransactionAllocation extends PO implements I_M_TransactionAllo return ii.intValue(); } - public I_M_InventoryLine getM_InventoryLine() throws Exception + public I_M_InventoryLine getM_InventoryLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_InventoryLine.Table_Name); I_M_InventoryLine result = null; @@ -225,7 +225,7 @@ public class X_M_TransactionAllocation extends PO implements I_M_TransactionAllo } catch (Exception e) { log.log(Level.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_M_TransactionAllocation extends PO implements I_M_TransactionAllo 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_M_TransactionAllocation extends PO implements I_M_TransactionAllo } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -291,7 +291,7 @@ public class X_M_TransactionAllocation extends PO implements I_M_TransactionAllo return ii.intValue(); } - public I_M_ProductionLine getM_ProductionLine() throws Exception + public I_M_ProductionLine getM_ProductionLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_ProductionLine.Table_Name); I_M_ProductionLine result = null; @@ -302,7 +302,7 @@ public class X_M_TransactionAllocation extends PO implements I_M_TransactionAllo } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -330,7 +330,7 @@ public class X_M_TransactionAllocation extends PO implements I_M_TransactionAllo return ii.intValue(); } - public I_M_Transaction getM_Transaction() throws Exception + public I_M_Transaction getM_Transaction() throws RuntimeException { Class clazz = MTable.getClass(I_M_Transaction.Table_Name); I_M_Transaction result = null; @@ -341,7 +341,7 @@ public class X_M_TransactionAllocation extends PO implements I_M_TransactionAllo } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -365,8 +365,6 @@ public class X_M_TransactionAllocation extends PO implements I_M_TransactionAllo return ii.intValue(); } - /** Out_M_InOutLine_ID AD_Reference_ID=295 */ - public static final int OUT_M_INOUTLINE_ID_AD_Reference_ID=295; /** Set Out Shipment Line. @param Out_M_InOutLine_ID Outgoing Shipment/Receipt @@ -390,8 +388,6 @@ public class X_M_TransactionAllocation extends PO implements I_M_TransactionAllo return ii.intValue(); } - /** Out_M_InventoryLine_ID AD_Reference_ID=296 */ - public static final int OUT_M_INVENTORYLINE_ID_AD_Reference_ID=296; /** Set Out Inventory Line. @param Out_M_InventoryLine_ID Outgoing Inventory Line @@ -415,8 +411,6 @@ public class X_M_TransactionAllocation extends PO implements I_M_TransactionAllo return ii.intValue(); } - /** Out_M_ProductionLine_ID AD_Reference_ID=297 */ - public static final int OUT_M_PRODUCTIONLINE_ID_AD_Reference_ID=297; /** Set Out Production Line. @param Out_M_ProductionLine_ID Outgoing Production Line @@ -440,8 +434,6 @@ public class X_M_TransactionAllocation extends PO implements I_M_TransactionAllo return ii.intValue(); } - /** Out_M_Transaction_ID AD_Reference_ID=298 */ - public static final int OUT_M_TRANSACTION_ID_AD_Reference_ID=298; /** Set Out Transaction. @param Out_M_Transaction_ID Outgoing Transaction diff --git a/base/src/org/compiere/model/X_M_Warehouse.java b/base/src/org/compiere/model/X_M_Warehouse.java index 83a2fe2036..7dc87946fd 100644 --- a/base/src/org/compiere/model/X_M_Warehouse.java +++ b/base/src/org/compiere/model/X_M_Warehouse.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Warehouse * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Warehouse extends PO implements I_M_Warehouse, I_Persistent { @@ -160,8 +160,6 @@ public class X_M_Warehouse extends PO implements I_M_Warehouse, I_Persistent return ii.intValue(); } - /** M_WarehouseSource_ID AD_Reference_ID=197 */ - public static final int M_WAREHOUSESOURCE_ID_AD_Reference_ID=197; /** Set Source Warehouse. @param M_WarehouseSource_ID Optional Warehouse to replenish from diff --git a/base/src/org/compiere/model/X_M_Warehouse_Acct.java b/base/src/org/compiere/model/X_M_Warehouse_Acct.java index 3be902c239..2b1e7389ac 100644 --- a/base/src/org/compiere/model/X_M_Warehouse_Acct.java +++ b/base/src/org/compiere/model/X_M_Warehouse_Acct.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for M_Warehouse_Acct * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_M_Warehouse_Acct extends PO implements I_M_Warehouse_Acct, I_Persistent { @@ -76,7 +76,7 @@ public class X_M_Warehouse_Acct extends PO implements I_M_Warehouse_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; @@ -87,7 +87,7 @@ public class X_M_Warehouse_Acct extends PO implements I_M_Warehouse_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; } @@ -114,7 +114,7 @@ public class X_M_Warehouse_Acct extends PO implements I_M_Warehouse_Acct, I_Pers 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; @@ -125,7 +125,7 @@ public class X_M_Warehouse_Acct extends PO implements I_M_Warehouse_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_PA_Achievement.java b/base/src/org/compiere/model/X_PA_Achievement.java index c3f27f6cc7..ab570941e2 100644 --- a/base/src/org/compiere/model/X_PA_Achievement.java +++ b/base/src/org/compiere/model/X_PA_Achievement.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_Achievement * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_PA_Achievement extends PO implements I_PA_Achievement, I_Persistent { @@ -226,7 +226,7 @@ public class X_PA_Achievement extends PO implements I_PA_Achievement, I_Persiste return ii.intValue(); } - public I_PA_Measure getPA_Measure() throws Exception + public I_PA_Measure getPA_Measure() throws RuntimeException { Class clazz = MTable.getClass(I_PA_Measure.Table_Name); I_PA_Measure result = null; @@ -237,7 +237,7 @@ public class X_PA_Achievement extends PO implements I_PA_Achievement, 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_PA_Benchmark.java b/base/src/org/compiere/model/X_PA_Benchmark.java index 2bfe56b39e..f6defb8abf 100644 --- a/base/src/org/compiere/model/X_PA_Benchmark.java +++ b/base/src/org/compiere/model/X_PA_Benchmark.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_Benchmark * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_PA_Benchmark extends PO implements I_PA_Benchmark, I_Persistent { diff --git a/base/src/org/compiere/model/X_PA_BenchmarkData.java b/base/src/org/compiere/model/X_PA_BenchmarkData.java index 1160287b04..c5b51e23de 100644 --- a/base/src/org/compiere/model/X_PA_BenchmarkData.java +++ b/base/src/org/compiere/model/X_PA_BenchmarkData.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_BenchmarkData * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_PA_BenchmarkData extends PO implements I_PA_BenchmarkData, I_Persistent { @@ -186,7 +186,7 @@ public class X_PA_BenchmarkData extends PO implements I_PA_BenchmarkData, I_Pers return ii.intValue(); } - public I_PA_Benchmark getPA_Benchmark() throws Exception + public I_PA_Benchmark getPA_Benchmark() throws RuntimeException { Class clazz = MTable.getClass(I_PA_Benchmark.Table_Name); I_PA_Benchmark result = null; @@ -197,7 +197,7 @@ public class X_PA_BenchmarkData extends PO implements I_PA_BenchmarkData, 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_PA_ColorSchema.java b/base/src/org/compiere/model/X_PA_ColorSchema.java index 6896a33a6e..0b8e75d732 100644 --- a/base/src/org/compiere/model/X_PA_ColorSchema.java +++ b/base/src/org/compiere/model/X_PA_ColorSchema.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_ColorSchema * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_PA_ColorSchema extends PO implements I_PA_ColorSchema, I_Persistent { @@ -77,8 +77,6 @@ public class X_PA_ColorSchema extends PO implements I_PA_ColorSchema, I_Persiste return sb.toString(); } - /** AD_PrintColor1_ID AD_Reference_ID=266 */ - public static final int AD_PRINTCOLOR1_ID_AD_Reference_ID=266; /** Set Color 1. @param AD_PrintColor1_ID First color used @@ -101,8 +99,6 @@ public class X_PA_ColorSchema extends PO implements I_PA_ColorSchema, I_Persiste return ii.intValue(); } - /** AD_PrintColor2_ID AD_Reference_ID=266 */ - public static final int AD_PRINTCOLOR2_ID_AD_Reference_ID=266; /** Set Color 2. @param AD_PrintColor2_ID Second color used @@ -125,8 +121,6 @@ public class X_PA_ColorSchema extends PO implements I_PA_ColorSchema, I_Persiste return ii.intValue(); } - /** AD_PrintColor3_ID AD_Reference_ID=266 */ - public static final int AD_PRINTCOLOR3_ID_AD_Reference_ID=266; /** Set Color 3. @param AD_PrintColor3_ID Third color used @@ -150,8 +144,6 @@ public class X_PA_ColorSchema extends PO implements I_PA_ColorSchema, I_Persiste return ii.intValue(); } - /** AD_PrintColor4_ID AD_Reference_ID=266 */ - public static final int AD_PRINTCOLOR4_ID_AD_Reference_ID=266; /** Set Color 4. @param AD_PrintColor4_ID Forth color used diff --git a/base/src/org/compiere/model/X_PA_DashboardContent.java b/base/src/org/compiere/model/X_PA_DashboardContent.java index 661fe30de3..6527ba35f9 100644 --- a/base/src/org/compiere/model/X_PA_DashboardContent.java +++ b/base/src/org/compiere/model/X_PA_DashboardContent.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_DashboardContent * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_PA_DashboardContent extends PO implements I_PA_DashboardContent, I_Persistent { diff --git a/base/src/org/compiere/model/X_PA_Goal.java b/base/src/org/compiere/model/X_PA_Goal.java index 4bd7a31e36..b41394665c 100644 --- a/base/src/org/compiere/model/X_PA_Goal.java +++ b/base/src/org/compiere/model/X_PA_Goal.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_Goal * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_PA_Goal extends PO implements I_PA_Goal, I_Persistent { @@ -85,7 +85,7 @@ public class X_PA_Goal extends PO implements I_PA_Goal, I_Persistent 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; @@ -96,7 +96,7 @@ public class X_PA_Goal extends PO implements I_PA_Goal, 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,7 +124,7 @@ public class X_PA_Goal extends PO implements I_PA_Goal, 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; @@ -135,7 +135,7 @@ public class X_PA_Goal extends PO implements I_PA_Goal, 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; } @@ -429,7 +429,7 @@ public class X_PA_Goal extends PO implements I_PA_Goal, I_Persistent return (String)get_Value(COLUMNNAME_Note); } - public I_PA_ColorSchema getPA_ColorSchema() throws Exception + public I_PA_ColorSchema getPA_ColorSchema() throws RuntimeException { Class clazz = MTable.getClass(I_PA_ColorSchema.Table_Name); I_PA_ColorSchema result = null; @@ -440,7 +440,7 @@ public class X_PA_Goal extends PO implements I_PA_Goal, 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; } @@ -489,8 +489,6 @@ public class X_PA_Goal extends PO implements I_PA_Goal, I_Persistent return ii.intValue(); } - /** PA_GoalParent_ID AD_Reference_ID=230 */ - public static final int PA_GOALPARENT_ID_AD_Reference_ID=230; /** Set Parent Goal. @param PA_GoalParent_ID Parent Goal @@ -514,7 +512,7 @@ public class X_PA_Goal extends PO implements I_PA_Goal, I_Persistent return ii.intValue(); } - public I_PA_Measure getPA_Measure() throws Exception + public I_PA_Measure getPA_Measure() throws RuntimeException { Class clazz = MTable.getClass(I_PA_Measure.Table_Name); I_PA_Measure result = null; @@ -525,7 +523,7 @@ public class X_PA_Goal extends PO implements I_PA_Goal, 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_PA_GoalRestriction.java b/base/src/org/compiere/model/X_PA_GoalRestriction.java index 5007d9e160..3a316fc386 100644 --- a/base/src/org/compiere/model/X_PA_GoalRestriction.java +++ b/base/src/org/compiere/model/X_PA_GoalRestriction.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_GoalRestriction * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_PA_GoalRestriction extends PO implements I_PA_GoalRestriction, I_Persistent { @@ -75,7 +75,7 @@ public class X_PA_GoalRestriction extends PO implements I_PA_GoalRestriction, 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; @@ -86,7 +86,7 @@ public class X_PA_GoalRestriction extends PO implements I_PA_GoalRestriction, 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; } @@ -114,7 +114,7 @@ public class X_PA_GoalRestriction extends PO implements I_PA_GoalRestriction, I_ 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; @@ -125,7 +125,7 @@ public class X_PA_GoalRestriction extends PO implements I_PA_GoalRestriction, 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_PA_GoalRestriction extends PO implements I_PA_GoalRestriction, I_ return (String)get_Value(COLUMNNAME_GoalRestrictionType); } - 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; @@ -194,7 +194,7 @@ public class X_PA_GoalRestriction extends PO implements I_PA_GoalRestriction, 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; } @@ -222,7 +222,7 @@ public class X_PA_GoalRestriction extends PO implements I_PA_GoalRestriction, I_ 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; @@ -233,7 +233,7 @@ public class X_PA_GoalRestriction extends PO implements I_PA_GoalRestriction, 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; } @@ -288,8 +288,6 @@ public class X_PA_GoalRestriction extends PO implements I_PA_GoalRestriction, I_ return new KeyNamePair(get_ID(), getName()); } - /** Org_ID AD_Reference_ID=322 */ - public static final int ORG_ID_AD_Reference_ID=322; /** Set Organization. @param Org_ID Organizational entity within client @@ -313,7 +311,7 @@ public class X_PA_GoalRestriction extends PO implements I_PA_GoalRestriction, I_ return ii.intValue(); } - public I_PA_Goal getPA_Goal() throws Exception + public I_PA_Goal getPA_Goal() throws RuntimeException { Class clazz = MTable.getClass(I_PA_Goal.Table_Name); I_PA_Goal result = null; @@ -324,7 +322,7 @@ public class X_PA_GoalRestriction extends PO implements I_PA_GoalRestriction, 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_PA_Hierarchy.java b/base/src/org/compiere/model/X_PA_Hierarchy.java index cd524ce142..491cff5ed4 100644 --- a/base/src/org/compiere/model/X_PA_Hierarchy.java +++ b/base/src/org/compiere/model/X_PA_Hierarchy.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_Hierarchy * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_PA_Hierarchy extends PO implements I_PA_Hierarchy, I_Persistent { @@ -79,8 +79,6 @@ public class X_PA_Hierarchy extends PO implements I_PA_Hierarchy, I_Persistent return sb.toString(); } - /** AD_Tree_Account_ID AD_Reference_ID=184 */ - public static final int AD_TREE_ACCOUNT_ID_AD_Reference_ID=184; /** Set Account Tree. @param AD_Tree_Account_ID Tree for Natural Account Tree @@ -103,8 +101,6 @@ public class X_PA_Hierarchy extends PO implements I_PA_Hierarchy, I_Persistent return ii.intValue(); } - /** AD_Tree_Activity_ID AD_Reference_ID=184 */ - public static final int AD_TREE_ACTIVITY_ID_AD_Reference_ID=184; /** Set Activity Tree. @param AD_Tree_Activity_ID Tree to determine activity hierarchy @@ -127,8 +123,6 @@ public class X_PA_Hierarchy extends PO implements I_PA_Hierarchy, I_Persistent return ii.intValue(); } - /** AD_Tree_BPartner_ID AD_Reference_ID=184 */ - public static final int AD_TREE_BPARTNER_ID_AD_Reference_ID=184; /** Set BPartner Tree. @param AD_Tree_BPartner_ID Tree to determine business partner hierarchy @@ -151,8 +145,6 @@ public class X_PA_Hierarchy extends PO implements I_PA_Hierarchy, I_Persistent return ii.intValue(); } - /** AD_Tree_Campaign_ID AD_Reference_ID=184 */ - public static final int AD_TREE_CAMPAIGN_ID_AD_Reference_ID=184; /** Set Campaign Tree. @param AD_Tree_Campaign_ID Tree to determine marketing campaign hierarchy @@ -175,8 +167,6 @@ public class X_PA_Hierarchy extends PO implements I_PA_Hierarchy, I_Persistent return ii.intValue(); } - /** AD_Tree_Org_ID AD_Reference_ID=184 */ - public static final int AD_TREE_ORG_ID_AD_Reference_ID=184; /** Set Organization Tree. @param AD_Tree_Org_ID Tree to determine organizational hierarchy @@ -199,8 +189,6 @@ public class X_PA_Hierarchy extends PO implements I_PA_Hierarchy, I_Persistent return ii.intValue(); } - /** AD_Tree_Product_ID AD_Reference_ID=184 */ - public static final int AD_TREE_PRODUCT_ID_AD_Reference_ID=184; /** Set Product Tree. @param AD_Tree_Product_ID Tree to determine product hierarchy @@ -223,8 +211,6 @@ public class X_PA_Hierarchy extends PO implements I_PA_Hierarchy, I_Persistent return ii.intValue(); } - /** AD_Tree_Project_ID AD_Reference_ID=184 */ - public static final int AD_TREE_PROJECT_ID_AD_Reference_ID=184; /** Set Project Tree. @param AD_Tree_Project_ID Tree to determine project hierarchy @@ -247,8 +233,6 @@ public class X_PA_Hierarchy extends PO implements I_PA_Hierarchy, I_Persistent return ii.intValue(); } - /** AD_Tree_SalesRegion_ID AD_Reference_ID=184 */ - public static final int AD_TREE_SALESREGION_ID_AD_Reference_ID=184; /** Set Sales Region Tree. @param AD_Tree_SalesRegion_ID Tree to determine sales regional hierarchy diff --git a/base/src/org/compiere/model/X_PA_Measure.java b/base/src/org/compiere/model/X_PA_Measure.java index 3b061c0036..1f1317eabc 100644 --- a/base/src/org/compiere/model/X_PA_Measure.java +++ b/base/src/org/compiere/model/X_PA_Measure.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_Measure * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_PA_Measure extends PO implements I_PA_Measure, I_Persistent { @@ -96,7 +96,7 @@ public class X_PA_Measure extends PO implements I_PA_Measure, I_Persistent return (String)get_Value(COLUMNNAME_CalculationClass); } - 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; @@ -107,7 +107,7 @@ public class X_PA_Measure extends PO implements I_PA_Measure, 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; } @@ -274,7 +274,7 @@ public class X_PA_Measure extends PO implements I_PA_Measure, I_Persistent return new KeyNamePair(get_ID(), getName()); } - public I_PA_Benchmark getPA_Benchmark() throws Exception + public I_PA_Benchmark getPA_Benchmark() throws RuntimeException { Class clazz = MTable.getClass(I_PA_Benchmark.Table_Name); I_PA_Benchmark result = null; @@ -285,7 +285,7 @@ public class X_PA_Measure extends PO implements I_PA_Measure, 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; } @@ -313,7 +313,7 @@ public class X_PA_Measure extends PO implements I_PA_Measure, I_Persistent return ii.intValue(); } - public I_PA_Hierarchy getPA_Hierarchy() throws Exception + public I_PA_Hierarchy getPA_Hierarchy() throws RuntimeException { Class clazz = MTable.getClass(I_PA_Hierarchy.Table_Name); I_PA_Hierarchy result = null; @@ -324,7 +324,7 @@ public class X_PA_Measure extends PO implements I_PA_Measure, 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; } @@ -352,7 +352,7 @@ public class X_PA_Measure extends PO implements I_PA_Measure, I_Persistent return ii.intValue(); } - public I_PA_MeasureCalc getPA_MeasureCalc() throws Exception + public I_PA_MeasureCalc getPA_MeasureCalc() throws RuntimeException { Class clazz = MTable.getClass(I_PA_MeasureCalc.Table_Name); I_PA_MeasureCalc result = null; @@ -363,7 +363,7 @@ public class X_PA_Measure extends PO implements I_PA_Measure, 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 +413,7 @@ public class X_PA_Measure extends PO implements I_PA_Measure, I_Persistent return ii.intValue(); } - public I_PA_Ratio getPA_Ratio() throws Exception + public I_PA_Ratio getPA_Ratio() throws RuntimeException { Class clazz = MTable.getClass(I_PA_Ratio.Table_Name); I_PA_Ratio result = null; @@ -424,7 +424,7 @@ public class X_PA_Measure extends PO implements I_PA_Measure, 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; } @@ -452,7 +452,7 @@ public class X_PA_Measure extends PO implements I_PA_Measure, I_Persistent return ii.intValue(); } - public I_R_RequestType getR_RequestType() throws Exception + public I_R_RequestType getR_RequestType() throws RuntimeException { Class clazz = MTable.getClass(I_R_RequestType.Table_Name); I_R_RequestType result = null; @@ -463,7 +463,7 @@ public class X_PA_Measure extends PO implements I_PA_Measure, 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_PA_MeasureCalc.java b/base/src/org/compiere/model/X_PA_MeasureCalc.java index 9fa77a0aea..6b905150a8 100644 --- a/base/src/org/compiere/model/X_PA_MeasureCalc.java +++ b/base/src/org/compiere/model/X_PA_MeasureCalc.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_MeasureCalc * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_PA_MeasureCalc extends PO implements I_PA_MeasureCalc, I_Persistent { @@ -85,7 +85,7 @@ public class X_PA_MeasureCalc extends PO implements I_PA_MeasureCalc, I_Persiste 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; @@ -96,7 +96,7 @@ public class X_PA_MeasureCalc extends PO implements I_PA_MeasureCalc, 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_PA_Ratio.java b/base/src/org/compiere/model/X_PA_Ratio.java index 319aab4929..5a8ecbdc21 100644 --- a/base/src/org/compiere/model/X_PA_Ratio.java +++ b/base/src/org/compiere/model/X_PA_Ratio.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_Ratio * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_PA_Ratio extends PO implements I_PA_Ratio, I_Persistent { @@ -74,7 +74,7 @@ public class X_PA_Ratio extends PO implements I_PA_Ratio, 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_PA_Ratio extends PO implements I_PA_Ratio, 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_PA_RatioElement.java b/base/src/org/compiere/model/X_PA_RatioElement.java index 0fa3f88c65..2cc271fc0b 100644 --- a/base/src/org/compiere/model/X_PA_RatioElement.java +++ b/base/src/org/compiere/model/X_PA_RatioElement.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_RatioElement * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_PA_RatioElement extends PO implements I_PA_RatioElement, I_Persistent { @@ -80,8 +80,6 @@ public class X_PA_RatioElement extends PO implements I_PA_RatioElement, I_Persis 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 @@ -161,7 +159,7 @@ public class X_PA_RatioElement extends PO implements I_PA_RatioElement, I_Persis return (String)get_Value(COLUMNNAME_Name); } - public I_PA_MeasureCalc getPA_MeasureCalc() throws Exception + public I_PA_MeasureCalc getPA_MeasureCalc() throws RuntimeException { Class clazz = MTable.getClass(I_PA_MeasureCalc.Table_Name); I_PA_MeasureCalc result = null; @@ -172,7 +170,7 @@ public class X_PA_RatioElement extends PO implements I_PA_RatioElement, 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; } @@ -222,7 +220,7 @@ public class X_PA_RatioElement extends PO implements I_PA_RatioElement, I_Persis return ii.intValue(); } - public I_PA_Ratio getPA_Ratio() throws Exception + public I_PA_Ratio getPA_Ratio() throws RuntimeException { Class clazz = MTable.getClass(I_PA_Ratio.Table_Name); I_PA_Ratio result = null; @@ -233,7 +231,7 @@ public class X_PA_RatioElement extends PO implements I_PA_RatioElement, 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; } @@ -260,8 +258,6 @@ public class X_PA_RatioElement extends PO implements I_PA_RatioElement, I_Persis return ii.intValue(); } - /** PA_RatioUsed_ID AD_Reference_ID=371 */ - public static final int PA_RATIOUSED_ID_AD_Reference_ID=371; /** Set Ratio Used. @param PA_RatioUsed_ID Performace Ratio Used diff --git a/base/src/org/compiere/model/X_PA_Report.java b/base/src/org/compiere/model/X_PA_Report.java index 3bbe757b23..60aa517405 100644 --- a/base/src/org/compiere/model/X_PA_Report.java +++ b/base/src/org/compiere/model/X_PA_Report.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_Report * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_PA_Report extends PO implements I_PA_Report, I_Persistent { @@ -80,7 +80,7 @@ public class X_PA_Report extends PO implements I_PA_Report, 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; @@ -91,7 +91,7 @@ public class X_PA_Report extends PO implements I_PA_Report, 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_PA_Report extends PO implements I_PA_Report, I_Persistent 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; @@ -130,7 +130,7 @@ public class X_PA_Report extends PO implements I_PA_Report, 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; } @@ -157,7 +157,7 @@ public class X_PA_Report extends PO implements I_PA_Report, I_Persistent return ii.intValue(); } - 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; @@ -168,7 +168,7 @@ public class X_PA_Report extends PO implements I_PA_Report, 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; } @@ -212,8 +212,6 @@ public class X_PA_Report extends PO implements I_PA_Report, I_Persistent return (String)get_Value(COLUMNNAME_Description); } - /** JasperProcess_ID AD_Reference_ID=400 */ - public static final int JASPERPROCESS_ID_AD_Reference_ID=400; /** Set Jasper Process. @param JasperProcess_ID The Jasper Process used by the printengine if any process defined @@ -326,7 +324,7 @@ public class X_PA_Report extends PO implements I_PA_Report, I_Persistent return new KeyNamePair(get_ID(), getName()); } - public I_PA_ReportColumnSet getPA_ReportColumnSet() throws Exception + public I_PA_ReportColumnSet getPA_ReportColumnSet() throws RuntimeException { Class clazz = MTable.getClass(I_PA_ReportColumnSet.Table_Name); I_PA_ReportColumnSet result = null; @@ -337,7 +335,7 @@ public class X_PA_Report extends PO implements I_PA_Report, 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; } @@ -386,7 +384,7 @@ public class X_PA_Report extends PO implements I_PA_Report, I_Persistent return ii.intValue(); } - public I_PA_ReportLineSet getPA_ReportLineSet() throws Exception + public I_PA_ReportLineSet getPA_ReportLineSet() throws RuntimeException { Class clazz = MTable.getClass(I_PA_ReportLineSet.Table_Name); I_PA_ReportLineSet result = null; @@ -397,7 +395,7 @@ public class X_PA_Report extends PO implements I_PA_Report, 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_PA_ReportColumn.java b/base/src/org/compiere/model/X_PA_ReportColumn.java index 5a2ae1d50f..ea6fdfef61 100644 --- a/base/src/org/compiere/model/X_PA_ReportColumn.java +++ b/base/src/org/compiere/model/X_PA_ReportColumn.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_ReportColumn * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persistent { @@ -71,8 +71,8 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis setIsPrinted (true); // Y setName (null); - setPA_ReportColumnSet_ID (0); setPA_ReportColumn_ID (0); + setPA_ReportColumnSet_ID (0); setPostingType (null); // A setSeqNo (0); @@ -216,6 +216,31 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis return ii.intValue(); } + /** CalculationType AD_Reference_ID=236 */ + public static final int CALCULATIONTYPE_AD_Reference_ID=236; + /** Add (Op1+Op2) = A */ + public static final String CALCULATIONTYPE_AddOp1PlusOp2 = "A"; + /** Subtract (Op1-Op2) = S */ + public static final String CALCULATIONTYPE_SubtractOp1_Op2 = "S"; + /** Percentage (Op1 of Op2) = P */ + public static final String CALCULATIONTYPE_PercentageOp1OfOp2 = "P"; + /** Add Range (Op1 to Op2) = R */ + public static final String CALCULATIONTYPE_AddRangeOp1ToOp2 = "R"; + /** Set Calculation. + @param CalculationType Calculation */ + public void setCalculationType (String CalculationType) + { + + if (CalculationType == null || CalculationType.equals("A") || CalculationType.equals("S") || CalculationType.equals("P") || CalculationType.equals("R")); else throw new IllegalArgumentException ("CalculationType Invalid value - " + CalculationType + " - Reference_ID=236 - A - S - P - R"); set_Value (COLUMNNAME_CalculationType, CalculationType); + } + + /** Get Calculation. + @return Calculation */ + public String getCalculationType () + { + return (String)get_Value(COLUMNNAME_CalculationType); + } + public I_C_BPartner getC_BPartner() throws RuntimeException { Class clazz = MTable.getClass(I_C_BPartner.Table_Name); @@ -395,6 +420,29 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis return ii.intValue(); } + /** ColumnType AD_Reference_ID=237 */ + public static final int COLUMNTYPE_AD_Reference_ID=237; + /** Relative Period = R */ + public static final String COLUMNTYPE_RelativePeriod = "R"; + /** Calculation = C */ + public static final String COLUMNTYPE_Calculation = "C"; + /** Segment Value = S */ + public static final String COLUMNTYPE_SegmentValue = "S"; + /** Set Column Type. + @param ColumnType Column Type */ + public void setColumnType (String ColumnType) + { + if (ColumnType == null) throw new IllegalArgumentException ("ColumnType is mandatory"); + if (ColumnType.equals("R") || ColumnType.equals("C") || ColumnType.equals("S")); else throw new IllegalArgumentException ("ColumnType Invalid value - " + ColumnType + " - Reference_ID=237 - R - C - S"); set_Value (COLUMNNAME_ColumnType, ColumnType); + } + + /** Get Column Type. + @return Column Type */ + public String getColumnType () + { + return (String)get_Value(COLUMNNAME_ColumnType); + } + public I_C_Project getC_Project() throws RuntimeException { Class clazz = MTable.getClass(I_C_Project.Table_Name); @@ -473,54 +521,6 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis return ii.intValue(); } - /** CalculationType AD_Reference_ID=236 */ - public static final int CALCULATIONTYPE_AD_Reference_ID=236; - /** Add (Op1+Op2) = A */ - public static final String CALCULATIONTYPE_AddOp1PlusOp2 = "A"; - /** Subtract (Op1-Op2) = S */ - public static final String CALCULATIONTYPE_SubtractOp1_Op2 = "S"; - /** Percentage (Op1 of Op2) = P */ - public static final String CALCULATIONTYPE_PercentageOp1OfOp2 = "P"; - /** Add Range (Op1 to Op2) = R */ - public static final String CALCULATIONTYPE_AddRangeOp1ToOp2 = "R"; - /** Set Calculation. - @param CalculationType Calculation */ - public void setCalculationType (String CalculationType) - { - - if (CalculationType == null || CalculationType.equals("A") || CalculationType.equals("S") || CalculationType.equals("P") || CalculationType.equals("R")); else throw new IllegalArgumentException ("CalculationType Invalid value - " + CalculationType + " - Reference_ID=236 - A - S - P - R"); set_Value (COLUMNNAME_CalculationType, CalculationType); - } - - /** Get Calculation. - @return Calculation */ - public String getCalculationType () - { - return (String)get_Value(COLUMNNAME_CalculationType); - } - - /** ColumnType AD_Reference_ID=237 */ - public static final int COLUMNTYPE_AD_Reference_ID=237; - /** Relative Period = R */ - public static final String COLUMNTYPE_RelativePeriod = "R"; - /** Calculation = C */ - public static final String COLUMNTYPE_Calculation = "C"; - /** Segment Value = S */ - public static final String COLUMNTYPE_SegmentValue = "S"; - /** Set Column Type. - @param ColumnType Column Type */ - public void setColumnType (String ColumnType) - { - if (ColumnType == null) throw new IllegalArgumentException ("ColumnType is mandatory"); - if (ColumnType.equals("R") || ColumnType.equals("C") || ColumnType.equals("S")); else throw new IllegalArgumentException ("ColumnType Invalid value - " + ColumnType + " - Reference_ID=237 - R - C - S"); set_Value (COLUMNNAME_ColumnType, ColumnType); - } - - /** Get Column Type. - @return Column Type */ - public String getColumnType () - { - return (String)get_Value(COLUMNNAME_ColumnType); - } - /** CurrencyType AD_Reference_ID=238 */ public static final int CURRENCYTYPE_AD_Reference_ID=238; /** Source Currency = S */ @@ -1164,6 +1164,28 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis return ii.intValue(); } + /** Set Report Column. + @param PA_ReportColumn_ID + Column in Report + */ + public void setPA_ReportColumn_ID (int PA_ReportColumn_ID) + { + if (PA_ReportColumn_ID < 1) + throw new IllegalArgumentException ("PA_ReportColumn_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_PA_ReportColumn_ID, Integer.valueOf(PA_ReportColumn_ID)); + } + + /** Get Report Column. + @return Column in Report + */ + public int getPA_ReportColumn_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_PA_ReportColumn_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_PA_ReportColumnSet getPA_ReportColumnSet() throws RuntimeException { Class clazz = MTable.getClass(I_PA_ReportColumnSet.Table_Name); @@ -1202,28 +1224,6 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis return ii.intValue(); } - /** Set Report Column. - @param PA_ReportColumn_ID - Column in Report - */ - public void setPA_ReportColumn_ID (int PA_ReportColumn_ID) - { - if (PA_ReportColumn_ID < 1) - throw new IllegalArgumentException ("PA_ReportColumn_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_PA_ReportColumn_ID, Integer.valueOf(PA_ReportColumn_ID)); - } - - /** Get Report Column. - @return Column in Report - */ - public int getPA_ReportColumn_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_PA_ReportColumn_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** PostingType AD_Reference_ID=125 */ public static final int POSTINGTYPE_AD_Reference_ID=125; /** Actual = A */ diff --git a/base/src/org/compiere/model/X_PA_ReportColumnSet.java b/base/src/org/compiere/model/X_PA_ReportColumnSet.java index a593e931b2..e239fb81dd 100644 --- a/base/src/org/compiere/model/X_PA_ReportColumnSet.java +++ b/base/src/org/compiere/model/X_PA_ReportColumnSet.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_ReportColumnSet * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_PA_ReportColumnSet extends PO implements I_PA_ReportColumnSet, I_Persistent { diff --git a/base/src/org/compiere/model/X_PA_ReportLine.java b/base/src/org/compiere/model/X_PA_ReportLine.java index d4873edba3..58c897fdaa 100644 --- a/base/src/org/compiere/model/X_PA_ReportLine.java +++ b/base/src/org/compiere/model/X_PA_ReportLine.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_ReportLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_PA_ReportLine extends PO implements I_PA_ReportLine, I_Persistent { @@ -44,8 +44,8 @@ public class X_PA_ReportLine extends PO implements I_PA_ReportLine, I_Persistent // Y setLineType (null); setName (null); - setPA_ReportLineSet_ID (0); setPA_ReportLine_ID (0); + setPA_ReportLineSet_ID (0); setSeqNo (0); // @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM PA_ReportLine WHERE PA_ReportLineSet_ID=@PA_ReportLineSet_ID@ } */ @@ -278,8 +278,6 @@ public class X_PA_ReportLine extends PO implements I_PA_ReportLine, I_Persistent return new KeyNamePair(get_ID(), getName()); } - /** Oper_1_ID AD_Reference_ID=240 */ - public static final int OPER_1_ID_AD_Reference_ID=240; /** Set Operand 1. @param Oper_1_ID First operand for calculation @@ -303,8 +301,6 @@ public class X_PA_ReportLine extends PO implements I_PA_ReportLine, I_Persistent return ii.intValue(); } - /** Oper_2_ID AD_Reference_ID=240 */ - public static final int OPER_2_ID_AD_Reference_ID=240; /** Set Operand 2. @param Oper_2_ID Second operand for calculation @@ -328,6 +324,25 @@ public class X_PA_ReportLine extends PO implements I_PA_ReportLine, I_Persistent return ii.intValue(); } + /** Set Report Line. + @param PA_ReportLine_ID Report Line */ + public void setPA_ReportLine_ID (int PA_ReportLine_ID) + { + if (PA_ReportLine_ID < 1) + throw new IllegalArgumentException ("PA_ReportLine_ID is mandatory."); + set_ValueNoCheck (COLUMNNAME_PA_ReportLine_ID, Integer.valueOf(PA_ReportLine_ID)); + } + + /** Get Report Line. + @return Report Line */ + public int getPA_ReportLine_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_PA_ReportLine_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public I_PA_ReportLineSet getPA_ReportLineSet() throws RuntimeException { Class clazz = MTable.getClass(I_PA_ReportLineSet.Table_Name); @@ -363,25 +378,6 @@ public class X_PA_ReportLine extends PO implements I_PA_ReportLine, I_Persistent return ii.intValue(); } - /** Set Report Line. - @param PA_ReportLine_ID Report Line */ - public void setPA_ReportLine_ID (int PA_ReportLine_ID) - { - if (PA_ReportLine_ID < 1) - throw new IllegalArgumentException ("PA_ReportLine_ID is mandatory."); - set_ValueNoCheck (COLUMNNAME_PA_ReportLine_ID, Integer.valueOf(PA_ReportLine_ID)); - } - - /** Get Report Line. - @return Report Line */ - public int getPA_ReportLine_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_PA_ReportLine_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** PostingType AD_Reference_ID=125 */ public static final int POSTINGTYPE_AD_Reference_ID=125; /** Actual = A */ diff --git a/base/src/org/compiere/model/X_PA_ReportLineSet.java b/base/src/org/compiere/model/X_PA_ReportLineSet.java index 38de134301..316d1b7e93 100644 --- a/base/src/org/compiere/model/X_PA_ReportLineSet.java +++ b/base/src/org/compiere/model/X_PA_ReportLineSet.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_ReportLineSet * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_PA_ReportLineSet extends PO implements I_PA_ReportLineSet, I_Persistent { diff --git a/base/src/org/compiere/model/X_PA_ReportSource.java b/base/src/org/compiere/model/X_PA_ReportSource.java index 43fd64414f..d79fe312b7 100644 --- a/base/src/org/compiere/model/X_PA_ReportSource.java +++ b/base/src/org/compiere/model/X_PA_ReportSource.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_ReportSource * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_PA_ReportSource extends PO implements I_PA_ReportSource, I_Persistent { diff --git a/base/src/org/compiere/model/X_PA_SLA_Criteria.java b/base/src/org/compiere/model/X_PA_SLA_Criteria.java index 8f143a8726..6e9eb91640 100644 --- a/base/src/org/compiere/model/X_PA_SLA_Criteria.java +++ b/base/src/org/compiere/model/X_PA_SLA_Criteria.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_SLA_Criteria * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_PA_SLA_Criteria extends PO implements I_PA_SLA_Criteria, I_Persistent { diff --git a/base/src/org/compiere/model/X_PA_SLA_Goal.java b/base/src/org/compiere/model/X_PA_SLA_Goal.java index cb2eeb4904..428953bbe9 100644 --- a/base/src/org/compiere/model/X_PA_SLA_Goal.java +++ b/base/src/org/compiere/model/X_PA_SLA_Goal.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_SLA_Goal * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_PA_SLA_Goal extends PO implements I_PA_SLA_Goal, I_Persistent { @@ -81,7 +81,7 @@ public class X_PA_SLA_Goal extends PO implements I_PA_SLA_Goal, 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_PA_SLA_Goal extends PO implements I_PA_SLA_Goal, 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,7 +241,7 @@ public class X_PA_SLA_Goal extends PO implements I_PA_SLA_Goal, I_Persistent return new KeyNamePair(get_ID(), getName()); } - public I_PA_SLA_Criteria getPA_SLA_Criteria() throws Exception + public I_PA_SLA_Criteria getPA_SLA_Criteria() throws RuntimeException { Class clazz = MTable.getClass(I_PA_SLA_Criteria.Table_Name); I_PA_SLA_Criteria result = null; @@ -252,7 +252,7 @@ public class X_PA_SLA_Goal extends PO implements I_PA_SLA_Goal, 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_PA_SLA_Measure.java b/base/src/org/compiere/model/X_PA_SLA_Measure.java index 410403d769..c853dd1753 100644 --- a/base/src/org/compiere/model/X_PA_SLA_Measure.java +++ b/base/src/org/compiere/model/X_PA_SLA_Measure.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for PA_SLA_Measure * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_PA_SLA_Measure extends PO implements I_PA_SLA_Measure, I_Persistent { @@ -79,7 +79,7 @@ public class X_PA_SLA_Measure extends PO implements I_PA_SLA_Measure, I_Persiste 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_PA_SLA_Measure extends PO implements I_PA_SLA_Measure, 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; } @@ -184,7 +184,7 @@ public class X_PA_SLA_Measure extends PO implements I_PA_SLA_Measure, I_Persiste return bd; } - public I_PA_SLA_Goal getPA_SLA_Goal() throws Exception + public I_PA_SLA_Goal getPA_SLA_Goal() throws RuntimeException { Class clazz = MTable.getClass(I_PA_SLA_Goal.Table_Name); I_PA_SLA_Goal result = null; @@ -195,7 +195,7 @@ public class X_PA_SLA_Measure extends PO implements I_PA_SLA_Measure, 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_RV_BPartner.java b/base/src/org/compiere/model/X_RV_BPartner.java index 2860b1e129..47499eaf89 100644 --- a/base/src/org/compiere/model/X_RV_BPartner.java +++ b/base/src/org/compiere/model/X_RV_BPartner.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for RV_BPartner * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent { @@ -201,8 +201,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent return (String)get_Value(COLUMNNAME_AD_Language); } - /** AD_OrgBP_ID AD_Reference_ID=276 */ - public static final int AD_ORGBP_ID_AD_Reference_ID=276; /** Set Linked Organization. @param AD_OrgBP_ID The Business Partner is another Organization for explicit Inter-Org transactions @@ -226,8 +224,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent return ii.intValue(); } - /** AD_OrgTrx_ID AD_Reference_ID=276 */ - public static final int AD_ORGTRX_ID_AD_Reference_ID=276; /** Set Trx Organization. @param AD_OrgTrx_ID Performing or initiating organization @@ -251,7 +247,7 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, 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; @@ -262,7 +258,7 @@ public class X_RV_BPartner extends PO implements I_RV_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; } @@ -307,8 +303,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent return (Timestamp)get_Value(COLUMNNAME_Birthday); } - /** BPartner_Parent_ID AD_Reference_ID=124 */ - public static final int BPARTNER_PARENT_ID_AD_Reference_ID=124; /** Set Partner Parent. @param BPartner_Parent_ID Business Partner Parent @@ -332,8 +326,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent return ii.intValue(); } - /** BPContactGreeting AD_Reference_ID=356 */ - public static final int BPCONTACTGREETING_AD_Reference_ID=356; /** Set BP Contact Greeting. @param BPContactGreeting Greeting for Business Partner Contact @@ -376,7 +368,7 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, 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; @@ -387,7 +379,7 @@ public class X_RV_BPartner extends PO implements I_RV_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; } @@ -414,7 +406,7 @@ public class X_RV_BPartner extends PO implements I_RV_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; @@ -425,7 +417,7 @@ public class X_RV_BPartner extends PO implements I_RV_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; } @@ -452,7 +444,7 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, 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; @@ -463,7 +455,7 @@ public class X_RV_BPartner extends PO implements I_RV_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; } @@ -490,7 +482,7 @@ public class X_RV_BPartner extends PO implements I_RV_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; @@ -501,7 +493,7 @@ public class X_RV_BPartner extends PO implements I_RV_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; } @@ -529,7 +521,7 @@ public class X_RV_BPartner extends PO implements I_RV_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; @@ -540,7 +532,7 @@ public class X_RV_BPartner extends PO implements I_RV_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; } @@ -568,7 +560,7 @@ public class X_RV_BPartner extends PO implements I_RV_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; @@ -579,7 +571,7 @@ public class X_RV_BPartner extends PO implements I_RV_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; } @@ -696,7 +688,7 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent return (String)get_Value(COLUMNNAME_CountryName); } - 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; @@ -707,7 +699,7 @@ public class X_RV_BPartner extends PO implements I_RV_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; } @@ -735,7 +727,7 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, 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; @@ -746,7 +738,7 @@ public class X_RV_BPartner extends PO implements I_RV_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; } @@ -1036,8 +1028,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent return (String)get_Value(COLUMNNAME_FreightCostRule); } - /** Invoice_PrintFormat_ID AD_Reference_ID=259 */ - public static final int INVOICE_PRINTFORMAT_ID_AD_Reference_ID=259; /** Set Invoice Print Format. @param Invoice_PrintFormat_ID Print Format for printing Invoices @@ -1360,7 +1350,7 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent return false; } - public I_M_DiscountSchema getM_DiscountSchema() throws Exception + public I_M_DiscountSchema getM_DiscountSchema() throws RuntimeException { Class clazz = MTable.getClass(I_M_DiscountSchema.Table_Name); I_M_DiscountSchema result = null; @@ -1371,7 +1361,7 @@ public class X_RV_BPartner extends PO implements I_RV_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; } @@ -1399,7 +1389,7 @@ public class X_RV_BPartner extends PO implements I_RV_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; @@ -1410,7 +1400,7 @@ public class X_RV_BPartner extends PO implements I_RV_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; } @@ -1553,6 +1543,8 @@ public class X_RV_BPartner extends PO implements I_RV_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 @@ -1560,7 +1552,7 @@ public class X_RV_BPartner extends PO implements I_RV_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_ValueNoCheck (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_ValueNoCheck (COLUMNNAME_PaymentRule, PaymentRule); } /** Get Payment Rule. @@ -1585,6 +1577,8 @@ public class X_RV_BPartner extends PO implements I_RV_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 @@ -1592,7 +1586,7 @@ public class X_RV_BPartner extends PO implements I_RV_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_ValueNoCheck (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_ValueNoCheck (COLUMNNAME_PaymentRulePO, PaymentRulePO); } /** Get Payment Rule. @@ -1637,8 +1631,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent return (String)get_Value(COLUMNNAME_Phone2); } - /** PO_DiscountSchema_ID AD_Reference_ID=249 */ - public static final int PO_DISCOUNTSCHEMA_ID_AD_Reference_ID=249; /** Set PO Discount Schema. @param PO_DiscountSchema_ID Schema to calculate the purchase trade discount percentage @@ -1662,8 +1654,6 @@ public class X_RV_BPartner extends PO implements I_RV_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 @@ -1687,8 +1677,6 @@ public class X_RV_BPartner extends PO implements I_RV_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 @@ -1817,8 +1805,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent return (String)get_Value(COLUMNNAME_RegionName); } - /** 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 @@ -2033,8 +2019,6 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent return (String)get_Value(COLUMNNAME_SO_Description); } - /** Supervisor_ID AD_Reference_ID=110 */ - public static final int SUPERVISOR_ID_AD_Reference_ID=110; /** Set Supervisor. @param Supervisor_ID Supervisor for this user/organization - used for escalation and approval diff --git a/base/src/org/compiere/model/X_RV_WarehousePrice.java b/base/src/org/compiere/model/X_RV_WarehousePrice.java index 8dde49519b..a4eb55fd9e 100644 --- a/base/src/org/compiere/model/X_RV_WarehousePrice.java +++ b/base/src/org/compiere/model/X_RV_WarehousePrice.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for RV_WarehousePrice * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_RV_WarehousePrice extends PO implements I_RV_WarehousePrice, I_Persistent { @@ -79,7 +79,7 @@ public class X_RV_WarehousePrice extends PO implements I_RV_WarehousePrice, I_Pe return sb.toString(); } - 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; @@ -90,7 +90,7 @@ public class X_RV_WarehousePrice extends PO implements I_RV_WarehousePrice, 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; } @@ -161,7 +161,7 @@ public class X_RV_WarehousePrice extends PO implements I_RV_WarehousePrice, I_Pe return bd; } - 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; @@ -172,7 +172,7 @@ public class X_RV_WarehousePrice extends PO implements I_RV_WarehousePrice, 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; } @@ -199,7 +199,7 @@ public class X_RV_WarehousePrice extends PO implements I_RV_WarehousePrice, I_Pe 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; @@ -210,7 +210,7 @@ public class X_RV_WarehousePrice extends PO implements I_RV_WarehousePrice, 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; } @@ -237,7 +237,7 @@ public class X_RV_WarehousePrice extends PO implements I_RV_WarehousePrice, I_Pe 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; @@ -248,7 +248,7 @@ public class X_RV_WarehousePrice extends PO implements I_RV_WarehousePrice, 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_R_Category.java b/base/src/org/compiere/model/X_R_Category.java index 834107b7ac..c5d1eea521 100644 --- a/base/src/org/compiere/model/X_R_Category.java +++ b/base/src/org/compiere/model/X_R_Category.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_Category * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_Category extends PO implements I_R_Category, I_Persistent { @@ -107,7 +107,7 @@ public class X_R_Category extends PO implements I_R_Category, 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; @@ -118,7 +118,7 @@ public class X_R_Category extends PO implements I_R_Category, 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_R_CategoryUpdates.java b/base/src/org/compiere/model/X_R_CategoryUpdates.java index 75c2938f49..c54009d4bd 100644 --- a/base/src/org/compiere/model/X_R_CategoryUpdates.java +++ b/base/src/org/compiere/model/X_R_CategoryUpdates.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for R_CategoryUpdates * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_CategoryUpdates extends PO implements I_R_CategoryUpdates, I_Persistent { @@ -73,7 +73,7 @@ public class X_R_CategoryUpdates extends PO implements I_R_CategoryUpdates, 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_R_CategoryUpdates extends PO implements I_R_CategoryUpdates, 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; } @@ -135,7 +135,7 @@ public class X_R_CategoryUpdates extends PO implements I_R_CategoryUpdates, I_Pe return false; } - public I_R_Category getR_Category() throws Exception + public I_R_Category getR_Category() throws RuntimeException { Class clazz = MTable.getClass(I_R_Category.Table_Name); I_R_Category result = null; @@ -146,7 +146,7 @@ public class X_R_CategoryUpdates extends PO implements I_R_CategoryUpdates, 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_R_ContactInterest.java b/base/src/org/compiere/model/X_R_ContactInterest.java index 2f58f206c2..12d4f1db66 100644 --- a/base/src/org/compiere/model/X_R_ContactInterest.java +++ b/base/src/org/compiere/model/X_R_ContactInterest.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_ContactInterest * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_ContactInterest extends PO implements I_R_ContactInterest, I_Persistent { @@ -75,7 +75,7 @@ public class X_R_ContactInterest extends PO implements I_R_ContactInterest, 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; @@ -86,7 +86,7 @@ public class X_R_ContactInterest extends PO implements I_R_ContactInterest, 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; } @@ -138,7 +138,7 @@ public class X_R_ContactInterest extends PO implements I_R_ContactInterest, I_Pe return (Timestamp)get_Value(COLUMNNAME_OptOutDate); } - public I_R_InterestArea getR_InterestArea() throws Exception + public I_R_InterestArea getR_InterestArea() throws RuntimeException { Class clazz = MTable.getClass(I_R_InterestArea.Table_Name); I_R_InterestArea result = null; @@ -149,7 +149,7 @@ public class X_R_ContactInterest extends PO implements I_R_ContactInterest, 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_R_Group.java b/base/src/org/compiere/model/X_R_Group.java index db095e7058..77b15775d9 100644 --- a/base/src/org/compiere/model/X_R_Group.java +++ b/base/src/org/compiere/model/X_R_Group.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_Group * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_Group extends PO implements I_R_Group, I_Persistent { @@ -107,7 +107,7 @@ public class X_R_Group extends PO implements I_R_Group, I_Persistent return (String)get_Value(COLUMNNAME_Help); } - public I_M_ChangeNotice getM_ChangeNotice() throws Exception + public I_M_ChangeNotice getM_ChangeNotice() throws RuntimeException { Class clazz = MTable.getClass(I_M_ChangeNotice.Table_Name); I_M_ChangeNotice result = null; @@ -118,7 +118,7 @@ public class X_R_Group extends PO implements I_R_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; } @@ -173,7 +173,7 @@ public class X_R_Group extends PO implements I_R_Group, I_Persistent return new KeyNamePair(get_ID(), getName()); } - public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws Exception + public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws RuntimeException { Class clazz = MTable.getClass(org.eevolution.model.I_PP_Product_BOM.Table_Name); org.eevolution.model.I_PP_Product_BOM result = null; @@ -184,7 +184,7 @@ public class X_R_Group extends PO implements I_R_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; } diff --git a/base/src/org/compiere/model/X_R_GroupUpdates.java b/base/src/org/compiere/model/X_R_GroupUpdates.java index 7391545025..defca65b46 100644 --- a/base/src/org/compiere/model/X_R_GroupUpdates.java +++ b/base/src/org/compiere/model/X_R_GroupUpdates.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for R_GroupUpdates * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_GroupUpdates extends PO implements I_R_GroupUpdates, I_Persistent { @@ -73,7 +73,7 @@ public class X_R_GroupUpdates extends PO implements I_R_GroupUpdates, I_Persiste 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_R_GroupUpdates extends PO implements I_R_GroupUpdates, 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_R_GroupUpdates extends PO implements I_R_GroupUpdates, I_Persiste return false; } - public I_R_Group getR_Group() throws Exception + public I_R_Group getR_Group() throws RuntimeException { Class clazz = MTable.getClass(I_R_Group.Table_Name); I_R_Group result = null; @@ -146,7 +146,7 @@ public class X_R_GroupUpdates extends PO implements I_R_GroupUpdates, 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_R_InterestArea.java b/base/src/org/compiere/model/X_R_InterestArea.java index 7c3e8c7d78..cdc0f9ed23 100644 --- a/base/src/org/compiere/model/X_R_InterestArea.java +++ b/base/src/org/compiere/model/X_R_InterestArea.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_InterestArea * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_InterestArea extends PO implements I_R_InterestArea, I_Persistent { diff --git a/base/src/org/compiere/model/X_R_IssueKnown.java b/base/src/org/compiere/model/X_R_IssueKnown.java index df5ded7ac5..ae53207f04 100644 --- a/base/src/org/compiere/model/X_R_IssueKnown.java +++ b/base/src/org/compiere/model/X_R_IssueKnown.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_IssueKnown * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_IssueKnown extends PO implements I_R_IssueKnown, I_Persistent { @@ -234,7 +234,7 @@ public class X_R_IssueKnown extends PO implements I_R_IssueKnown, I_Persistent return ii.intValue(); } - public I_R_IssueRecommendation getR_IssueRecommendation() throws Exception + public I_R_IssueRecommendation getR_IssueRecommendation() throws RuntimeException { Class clazz = MTable.getClass(I_R_IssueRecommendation.Table_Name); I_R_IssueRecommendation result = null; @@ -245,7 +245,7 @@ public class X_R_IssueKnown extends PO implements I_R_IssueKnown, 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; } @@ -273,7 +273,7 @@ public class X_R_IssueKnown extends PO implements I_R_IssueKnown, I_Persistent return ii.intValue(); } - public I_R_IssueStatus getR_IssueStatus() throws Exception + public I_R_IssueStatus getR_IssueStatus() throws RuntimeException { Class clazz = MTable.getClass(I_R_IssueStatus.Table_Name); I_R_IssueStatus result = null; @@ -284,7 +284,7 @@ public class X_R_IssueKnown extends PO implements I_R_IssueKnown, 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; } @@ -312,7 +312,7 @@ public class X_R_IssueKnown extends PO implements I_R_IssueKnown, I_Persistent return ii.intValue(); } - public I_R_Request getR_Request() throws Exception + public I_R_Request getR_Request() throws RuntimeException { Class clazz = MTable.getClass(I_R_Request.Table_Name); I_R_Request result = null; @@ -323,7 +323,7 @@ public class X_R_IssueKnown extends PO implements I_R_IssueKnown, 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_R_IssueProject.java b/base/src/org/compiere/model/X_R_IssueProject.java index 76c21f15e3..295eb4df8d 100644 --- a/base/src/org/compiere/model/X_R_IssueProject.java +++ b/base/src/org/compiere/model/X_R_IssueProject.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_IssueProject * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_IssueProject extends PO implements I_R_IssueProject, I_Persistent { @@ -74,7 +74,7 @@ public class X_R_IssueProject extends PO implements I_R_IssueProject, I_Persiste return sb.toString(); } - 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; @@ -85,7 +85,7 @@ public class X_R_IssueProject extends PO implements I_R_IssueProject, 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; } @@ -113,7 +113,7 @@ public class X_R_IssueProject extends PO implements I_R_IssueProject, 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; @@ -124,7 +124,7 @@ public class X_R_IssueProject extends PO implements I_R_IssueProject, 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_R_IssueRecommendation.java b/base/src/org/compiere/model/X_R_IssueRecommendation.java index 900e415357..000b327413 100644 --- a/base/src/org/compiere/model/X_R_IssueRecommendation.java +++ b/base/src/org/compiere/model/X_R_IssueRecommendation.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_IssueRecommendation * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_IssueRecommendation extends PO implements I_R_IssueRecommendation, I_Persistent { diff --git a/base/src/org/compiere/model/X_R_IssueStatus.java b/base/src/org/compiere/model/X_R_IssueStatus.java index 83bcbbbaf8..666e81bdd0 100644 --- a/base/src/org/compiere/model/X_R_IssueStatus.java +++ b/base/src/org/compiere/model/X_R_IssueStatus.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_IssueStatus * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_IssueStatus extends PO implements I_R_IssueStatus, I_Persistent { diff --git a/base/src/org/compiere/model/X_R_IssueSystem.java b/base/src/org/compiere/model/X_R_IssueSystem.java index 4bcf7d1ae7..4f2b9c3370 100644 --- a/base/src/org/compiere/model/X_R_IssueSystem.java +++ b/base/src/org/compiere/model/X_R_IssueSystem.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_IssueSystem * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_IssueSystem extends PO implements I_R_IssueSystem, I_Persistent { @@ -74,7 +74,7 @@ public class X_R_IssueSystem extends PO implements I_R_IssueSystem, I_Persistent return sb.toString(); } - 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; @@ -85,7 +85,7 @@ public class X_R_IssueSystem extends PO implements I_R_IssueSystem, 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_R_IssueUser.java b/base/src/org/compiere/model/X_R_IssueUser.java index fe830e84fc..4761264693 100644 --- a/base/src/org/compiere/model/X_R_IssueUser.java +++ b/base/src/org/compiere/model/X_R_IssueUser.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_IssueUser * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_IssueUser extends PO implements I_R_IssueUser, I_Persistent { @@ -73,7 +73,7 @@ public class X_R_IssueUser extends PO implements I_R_IssueUser, 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_R_IssueUser extends PO implements I_R_IssueUser, 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_R_MailText.java b/base/src/org/compiere/model/X_R_MailText.java index 1292dc9c47..bd7b873815 100644 --- a/base/src/org/compiere/model/X_R_MailText.java +++ b/base/src/org/compiere/model/X_R_MailText.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_MailText * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_MailText extends PO implements I_R_MailText, I_Persistent { diff --git a/base/src/org/compiere/model/X_R_Request.java b/base/src/org/compiere/model/X_R_Request.java index 749636ba20..a2d59c98db 100644 --- a/base/src/org/compiere/model/X_R_Request.java +++ b/base/src/org/compiere/model/X_R_Request.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_Request * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_Request extends PO implements I_R_Request, I_Persistent { @@ -94,7 +94,7 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent return sb.toString(); } - 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; @@ -105,7 +105,7 @@ public class X_R_Request extends PO implements I_R_Request, 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_R_Request extends PO implements I_R_Request, I_Persistent return ii.intValue(); } - 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; @@ -144,7 +144,7 @@ public class X_R_Request extends PO implements I_R_Request, 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_R_Request extends PO implements I_R_Request, 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; @@ -183,7 +183,7 @@ public class X_R_Request extends PO implements I_R_Request, 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,7 +211,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; @@ -222,7 +222,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; } @@ -250,7 +250,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; @@ -261,7 +261,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; } @@ -289,7 +289,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; @@ -300,7 +300,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; } @@ -328,7 +328,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; @@ -339,7 +339,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; } @@ -367,7 +367,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; @@ -378,7 +378,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; } @@ -406,8 +406,6 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent return ii.intValue(); } - /** C_InvoiceRequest_ID AD_Reference_ID=336 */ - public static final int C_INVOICEREQUEST_ID_AD_Reference_ID=336; /** Set Request Invoice. @param C_InvoiceRequest_ID The generated invoice for this request @@ -504,7 +502,7 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent return (String)get_Value(COLUMNNAME_ConfidentialTypeEntry); } - 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; @@ -515,7 +513,7 @@ public class X_R_Request extends PO implements I_R_Request, 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_R_Request extends PO implements I_R_Request, 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; @@ -554,7 +552,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; } @@ -582,7 +580,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; @@ -593,7 +591,7 @@ public class X_R_Request extends PO implements I_R_Request, 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_R_Request extends PO implements I_R_Request, I_Persistent return (String)get_Value(COLUMNNAME_LastResult); } - public I_M_ChangeRequest getM_ChangeRequest() throws Exception + public I_M_ChangeRequest getM_ChangeRequest() throws RuntimeException { Class clazz = MTable.getClass(I_M_ChangeRequest.Table_Name); I_M_ChangeRequest result = null; @@ -876,7 +874,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; } @@ -904,8 +902,6 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent return ii.intValue(); } - /** M_FixChangeNotice_ID AD_Reference_ID=351 */ - public static final int M_FIXCHANGENOTICE_ID_AD_Reference_ID=351; /** Set Fixed in. @param M_FixChangeNotice_ID Fixed in Change Notice @@ -929,7 +925,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; @@ -940,7 +936,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; } @@ -968,7 +964,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; @@ -979,7 +975,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; } @@ -1007,8 +1003,6 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent return ii.intValue(); } - /** M_ProductSpent_ID AD_Reference_ID=162 */ - public static final int M_PRODUCTSPENT_ID_AD_Reference_ID=162; /** Set Product Used. @param M_ProductSpent_ID Product/Resource/Service used in Request @@ -1032,7 +1026,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; @@ -1043,7 +1037,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; } @@ -1239,7 +1233,7 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent return bd; } - public I_R_Category getR_Category() throws Exception + public I_R_Category getR_Category() throws RuntimeException { Class clazz = MTable.getClass(I_R_Category.Table_Name); I_R_Category result = null; @@ -1250,7 +1244,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; } @@ -1340,7 +1334,7 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent return (String)get_Value(COLUMNNAME_Result); } - public I_R_Group getR_Group() throws Exception + public I_R_Group getR_Group() throws RuntimeException { Class clazz = MTable.getClass(I_R_Group.Table_Name); I_R_Group result = null; @@ -1351,7 +1345,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; } @@ -1379,7 +1373,7 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent return ii.intValue(); } - public I_R_MailText getR_MailText() throws Exception + public I_R_MailText getR_MailText() throws RuntimeException { Class clazz = MTable.getClass(I_R_MailText.Table_Name); I_R_MailText result = null; @@ -1390,7 +1384,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; } @@ -1440,8 +1434,6 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent return ii.intValue(); } - /** R_RequestRelated_ID AD_Reference_ID=341 */ - public static final int R_REQUESTRELATED_ID_AD_Reference_ID=341; /** Set Related Request. @param R_RequestRelated_ID Related Request (Master Issue, ..) @@ -1465,7 +1457,7 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent return ii.intValue(); } - public I_R_RequestType getR_RequestType() throws Exception + public I_R_RequestType getR_RequestType() throws RuntimeException { Class clazz = MTable.getClass(I_R_RequestType.Table_Name); I_R_RequestType result = null; @@ -1476,7 +1468,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; } @@ -1503,7 +1495,7 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent return ii.intValue(); } - public I_R_Resolution getR_Resolution() throws Exception + public I_R_Resolution getR_Resolution() throws RuntimeException { Class clazz = MTable.getClass(I_R_Resolution.Table_Name); I_R_Resolution result = null; @@ -1514,7 +1506,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; } @@ -1542,7 +1534,7 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent return ii.intValue(); } - public I_R_StandardResponse getR_StandardResponse() throws Exception + public I_R_StandardResponse getR_StandardResponse() throws RuntimeException { Class clazz = MTable.getClass(I_R_StandardResponse.Table_Name); I_R_StandardResponse result = null; @@ -1553,7 +1545,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; } @@ -1581,7 +1573,7 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent return ii.intValue(); } - public I_R_Status getR_Status() throws Exception + public I_R_Status getR_Status() throws RuntimeException { Class clazz = MTable.getClass(I_R_Status.Table_Name); I_R_Status result = null; @@ -1592,7 +1584,7 @@ public class X_R_Request extends PO implements I_R_Request, 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; } @@ -1620,8 +1612,6 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent return ii.intValue(); } - /** SalesRep_ID AD_Reference_ID=286 */ - public static final int SALESREP_ID_AD_Reference_ID=286; /** Set Sales Representative. @param SalesRep_ID Sales Representative or Company Agent diff --git a/base/src/org/compiere/model/X_R_RequestAction.java b/base/src/org/compiere/model/X_R_RequestAction.java index 552d759512..14f3e00946 100644 --- a/base/src/org/compiere/model/X_R_RequestAction.java +++ b/base/src/org/compiere/model/X_R_RequestAction.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for R_RequestAction * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persistent { @@ -75,7 +75,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis return sb.toString(); } - 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; @@ -86,7 +86,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, 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_R_RequestAction extends PO implements I_R_RequestAction, I_Persis return ii.intValue(); } - 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; @@ -125,7 +125,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, 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; } @@ -153,7 +153,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis 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; @@ -164,7 +164,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, 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; } @@ -192,7 +192,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, 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; @@ -203,7 +203,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, 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; } @@ -231,7 +231,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, 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; @@ -242,7 +242,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, 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; } @@ -270,7 +270,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis 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; @@ -281,7 +281,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, 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; } @@ -337,7 +337,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis return (String)get_Value(COLUMNNAME_ConfidentialType); } - 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; @@ -348,7 +348,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, 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; } @@ -376,7 +376,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, 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; @@ -387,7 +387,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, 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; } @@ -415,7 +415,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, 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; @@ -426,7 +426,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, 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; } @@ -594,7 +594,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis return (String)get_Value(COLUMNNAME_IsSelfService); } - 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; @@ -605,7 +605,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, 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; } @@ -633,7 +633,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis 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; @@ -644,7 +644,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, 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; } @@ -672,8 +672,6 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis return ii.intValue(); } - /** M_ProductSpent_ID AD_Reference_ID=162 */ - public static final int M_PRODUCTSPENT_ID_AD_Reference_ID=162; /** Set Product Used. @param M_ProductSpent_ID Product/Resource/Service used in Request @@ -697,7 +695,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis 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; @@ -708,7 +706,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, 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; } @@ -873,7 +871,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis return bd; } - public I_R_Category getR_Category() throws Exception + public I_R_Category getR_Category() throws RuntimeException { Class clazz = MTable.getClass(I_R_Category.Table_Name); I_R_Category result = null; @@ -884,7 +882,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, 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; } @@ -912,7 +910,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis return ii.intValue(); } - public I_R_Group getR_Group() throws Exception + public I_R_Group getR_Group() throws RuntimeException { Class clazz = MTable.getClass(I_R_Group.Table_Name); I_R_Group result = null; @@ -923,7 +921,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, 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; } @@ -973,7 +971,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis return ii.intValue(); } - public I_R_Request getR_Request() throws Exception + public I_R_Request getR_Request() throws RuntimeException { Class clazz = MTable.getClass(I_R_Request.Table_Name); I_R_Request result = null; @@ -984,7 +982,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, 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; } @@ -1011,7 +1009,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis return ii.intValue(); } - public I_R_RequestType getR_RequestType() throws Exception + public I_R_RequestType getR_RequestType() throws RuntimeException { Class clazz = MTable.getClass(I_R_RequestType.Table_Name); I_R_RequestType result = null; @@ -1022,7 +1020,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, 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; } @@ -1050,7 +1048,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis return ii.intValue(); } - public I_R_Resolution getR_Resolution() throws Exception + public I_R_Resolution getR_Resolution() throws RuntimeException { Class clazz = MTable.getClass(I_R_Resolution.Table_Name); I_R_Resolution result = null; @@ -1061,7 +1059,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, 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; } @@ -1089,7 +1087,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis return ii.intValue(); } - public I_R_Status getR_Status() throws Exception + public I_R_Status getR_Status() throws RuntimeException { Class clazz = MTable.getClass(I_R_Status.Table_Name); I_R_Status result = null; @@ -1100,7 +1098,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, 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; } @@ -1128,8 +1126,6 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis return ii.intValue(); } - /** SalesRep_ID AD_Reference_ID=110 */ - public static final int SALESREP_ID_AD_Reference_ID=110; /** Set Sales Representative. @param SalesRep_ID Sales Representative or Company Agent diff --git a/base/src/org/compiere/model/X_R_RequestProcessor.java b/base/src/org/compiere/model/X_R_RequestProcessor.java index 2f178f2e3b..d860f1b2ca 100644 --- a/base/src/org/compiere/model/X_R_RequestProcessor.java +++ b/base/src/org/compiere/model/X_R_RequestProcessor.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_RequestProcessor * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_RequestProcessor extends PO implements I_R_RequestProcessor, I_Persistent { @@ -355,7 +355,7 @@ public class X_R_RequestProcessor extends PO implements I_R_RequestProcessor, I_ return ii.intValue(); } - public I_R_RequestType getR_RequestType() throws Exception + public I_R_RequestType getR_RequestType() throws RuntimeException { Class clazz = MTable.getClass(I_R_RequestType.Table_Name); I_R_RequestType result = null; @@ -366,7 +366,7 @@ public class X_R_RequestProcessor extends PO implements I_R_RequestProcessor, 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; } @@ -394,8 +394,6 @@ public class X_R_RequestProcessor extends PO implements I_R_RequestProcessor, I_ return ii.intValue(); } - /** 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_R_RequestProcessorLog.java b/base/src/org/compiere/model/X_R_RequestProcessorLog.java index aa688cbb49..805086f11d 100644 --- a/base/src/org/compiere/model/X_R_RequestProcessorLog.java +++ b/base/src/org/compiere/model/X_R_RequestProcessorLog.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for R_RequestProcessorLog * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_RequestProcessorLog extends PO implements I_R_RequestProcessorLog, I_Persistent { @@ -148,7 +148,7 @@ public class X_R_RequestProcessorLog extends PO implements I_R_RequestProcessorL return (String)get_Value(COLUMNNAME_Reference); } - public I_R_RequestProcessor getR_RequestProcessor() throws Exception + public I_R_RequestProcessor getR_RequestProcessor() throws RuntimeException { Class clazz = MTable.getClass(I_R_RequestProcessor.Table_Name); I_R_RequestProcessor result = null; @@ -159,7 +159,7 @@ public class X_R_RequestProcessorLog extends PO implements I_R_RequestProcessorL } catch (Exception e) { log.log(Level.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_R_RequestProcessor_Route.java b/base/src/org/compiere/model/X_R_RequestProcessor_Route.java index 5e69330c05..140c1837e8 100644 --- a/base/src/org/compiere/model/X_R_RequestProcessor_Route.java +++ b/base/src/org/compiere/model/X_R_RequestProcessor_Route.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_RequestProcessor_Route * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_RequestProcessor_Route extends PO implements I_R_RequestProcessor_Route, I_Persistent { @@ -75,7 +75,7 @@ public class X_R_RequestProcessor_Route extends PO implements I_R_RequestProcess 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; @@ -86,7 +86,7 @@ public class X_R_RequestProcessor_Route extends PO implements I_R_RequestProcess } catch (Exception e) { log.log(Level.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_R_RequestProcessor_Route extends PO implements I_R_RequestProcess return (String)get_Value(COLUMNNAME_Keyword); } - public I_R_RequestProcessor getR_RequestProcessor() throws Exception + public I_R_RequestProcessor getR_RequestProcessor() throws RuntimeException { Class clazz = MTable.getClass(I_R_RequestProcessor.Table_Name); I_R_RequestProcessor result = null; @@ -141,7 +141,7 @@ public class X_R_RequestProcessor_Route extends PO implements I_R_RequestProcess } catch (Exception e) { log.log(Level.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_R_RequestProcessor_Route extends PO implements I_R_RequestProcess return ii.intValue(); } - public I_R_RequestType getR_RequestType() throws Exception + public I_R_RequestType getR_RequestType() throws RuntimeException { Class clazz = MTable.getClass(I_R_RequestType.Table_Name); I_R_RequestType result = null; @@ -201,7 +201,7 @@ public class X_R_RequestProcessor_Route extends PO implements I_R_RequestProcess } catch (Exception e) { log.log(Level.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_R_RequestType.java b/base/src/org/compiere/model/X_R_RequestType.java index 1bbde367cc..34834c6219 100644 --- a/base/src/org/compiere/model/X_R_RequestType.java +++ b/base/src/org/compiere/model/X_R_RequestType.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_RequestType * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_RequestType extends PO implements I_R_RequestType, I_Persistent { @@ -414,7 +414,7 @@ public class X_R_RequestType extends PO implements I_R_RequestType, I_Persistent return ii.intValue(); } - public I_R_StatusCategory getR_StatusCategory() throws Exception + public I_R_StatusCategory getR_StatusCategory() throws RuntimeException { Class clazz = MTable.getClass(I_R_StatusCategory.Table_Name); I_R_StatusCategory result = null; @@ -425,7 +425,7 @@ public class X_R_RequestType extends PO implements I_R_RequestType, 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_R_RequestTypeUpdates.java b/base/src/org/compiere/model/X_R_RequestTypeUpdates.java index 0d999a3395..6b66f836e2 100644 --- a/base/src/org/compiere/model/X_R_RequestTypeUpdates.java +++ b/base/src/org/compiere/model/X_R_RequestTypeUpdates.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for R_RequestTypeUpdates * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_RequestTypeUpdates extends PO implements I_R_RequestTypeUpdates, I_Persistent { @@ -73,7 +73,7 @@ public class X_R_RequestTypeUpdates extends PO implements I_R_RequestTypeUpdates 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_R_RequestTypeUpdates extends PO implements I_R_RequestTypeUpdates } catch (Exception e) { log.log(Level.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_R_RequestTypeUpdates extends PO implements I_R_RequestTypeUpdates return false; } - public I_R_RequestType getR_RequestType() throws Exception + public I_R_RequestType getR_RequestType() throws RuntimeException { Class clazz = MTable.getClass(I_R_RequestType.Table_Name); I_R_RequestType result = null; @@ -146,7 +146,7 @@ public class X_R_RequestTypeUpdates extends PO implements I_R_RequestTypeUpdates } catch (Exception e) { log.log(Level.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_R_RequestUpdate.java b/base/src/org/compiere/model/X_R_RequestUpdate.java index 0df6e7f377..0bde865fcd 100644 --- a/base/src/org/compiere/model/X_R_RequestUpdate.java +++ b/base/src/org/compiere/model/X_R_RequestUpdate.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_RequestUpdate * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_RequestUpdate extends PO implements I_R_RequestUpdate, I_Persistent { @@ -122,8 +122,6 @@ public class X_R_RequestUpdate extends PO implements I_R_RequestUpdate, I_Persis return (Timestamp)get_Value(COLUMNNAME_EndTime); } - /** M_ProductSpent_ID AD_Reference_ID=162 */ - public static final int M_PRODUCTSPENT_ID_AD_Reference_ID=162; /** Set Product Used. @param M_ProductSpent_ID Product/Resource/Service used in Request @@ -204,7 +202,7 @@ public class X_R_RequestUpdate extends PO implements I_R_RequestUpdate, I_Persis return (String)get_Value(COLUMNNAME_Result); } - public I_R_Request getR_Request() throws Exception + public I_R_Request getR_Request() throws RuntimeException { Class clazz = MTable.getClass(I_R_Request.Table_Name); I_R_Request result = null; @@ -215,7 +213,7 @@ public class X_R_RequestUpdate extends PO implements I_R_RequestUpdate, 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_R_RequestUpdates.java b/base/src/org/compiere/model/X_R_RequestUpdates.java index caf6d77b28..935810693a 100644 --- a/base/src/org/compiere/model/X_R_RequestUpdates.java +++ b/base/src/org/compiere/model/X_R_RequestUpdates.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for R_RequestUpdates * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_RequestUpdates extends PO implements I_R_RequestUpdates, I_Persistent { @@ -73,7 +73,7 @@ public class X_R_RequestUpdates extends PO implements I_R_RequestUpdates, I_Pers 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_R_RequestUpdates extends PO implements I_R_RequestUpdates, 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; } @@ -135,7 +135,7 @@ public class X_R_RequestUpdates extends PO implements I_R_RequestUpdates, I_Pers return false; } - public I_R_Request getR_Request() throws Exception + public I_R_Request getR_Request() throws RuntimeException { Class clazz = MTable.getClass(I_R_Request.Table_Name); I_R_Request result = null; @@ -146,7 +146,7 @@ public class X_R_RequestUpdates extends PO implements I_R_RequestUpdates, 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_R_Resolution.java b/base/src/org/compiere/model/X_R_Resolution.java index 3c8041d77f..34f8c58a7c 100644 --- a/base/src/org/compiere/model/X_R_Resolution.java +++ b/base/src/org/compiere/model/X_R_Resolution.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_Resolution * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_Resolution extends PO implements I_R_Resolution, I_Persistent { diff --git a/base/src/org/compiere/model/X_R_StandardResponse.java b/base/src/org/compiere/model/X_R_StandardResponse.java index 9b3672e042..980bef4dcd 100644 --- a/base/src/org/compiere/model/X_R_StandardResponse.java +++ b/base/src/org/compiere/model/X_R_StandardResponse.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_StandardResponse * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_StandardResponse extends PO implements I_R_StandardResponse, I_Persistent { diff --git a/base/src/org/compiere/model/X_R_Status.java b/base/src/org/compiere/model/X_R_Status.java index b41d610f6f..2f349efca3 100644 --- a/base/src/org/compiere/model/X_R_Status.java +++ b/base/src/org/compiere/model/X_R_Status.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_Status * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_Status extends PO implements I_R_Status, I_Persistent { @@ -256,8 +256,6 @@ public class X_R_Status extends PO implements I_R_Status, I_Persistent return (String)get_Value(COLUMNNAME_Name); } - /** Next_Status_ID AD_Reference_ID=345 */ - public static final int NEXT_STATUS_ID_AD_Reference_ID=345; /** Set Next Status. @param Next_Status_ID Move to next status automatically after timeout @@ -281,7 +279,7 @@ public class X_R_Status extends PO implements I_R_Status, I_Persistent return ii.intValue(); } - public I_R_StatusCategory getR_StatusCategory() throws Exception + public I_R_StatusCategory getR_StatusCategory() throws RuntimeException { Class clazz = MTable.getClass(I_R_StatusCategory.Table_Name); I_R_StatusCategory result = null; @@ -292,7 +290,7 @@ public class X_R_Status extends PO implements I_R_Status, 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; } @@ -389,8 +387,6 @@ public class X_R_Status extends PO implements I_R_Status, I_Persistent return ii.intValue(); } - /** Update_Status_ID AD_Reference_ID=345 */ - public static final int UPDATE_STATUS_ID_AD_Reference_ID=345; /** Set Update Status. @param Update_Status_ID Automatically change the status after entry from web diff --git a/base/src/org/compiere/model/X_R_StatusCategory.java b/base/src/org/compiere/model/X_R_StatusCategory.java index 7d08b6b1cc..b90ec88e78 100644 --- a/base/src/org/compiere/model/X_R_StatusCategory.java +++ b/base/src/org/compiere/model/X_R_StatusCategory.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for R_StatusCategory * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_R_StatusCategory extends PO implements I_R_StatusCategory, I_Persistent { diff --git a/base/src/org/compiere/model/X_S_ExpenseType.java b/base/src/org/compiere/model/X_S_ExpenseType.java index 3bca26643b..04ff6728c4 100644 --- a/base/src/org/compiere/model/X_S_ExpenseType.java +++ b/base/src/org/compiere/model/X_S_ExpenseType.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for S_ExpenseType * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_S_ExpenseType extends PO implements I_S_ExpenseType, I_Persistent { @@ -78,7 +78,7 @@ public class X_S_ExpenseType extends PO implements I_S_ExpenseType, I_Persistent return sb.toString(); } - 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; @@ -89,7 +89,7 @@ public class X_S_ExpenseType extends PO implements I_S_ExpenseType, 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_S_ExpenseType extends PO implements I_S_ExpenseType, 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; @@ -127,7 +127,7 @@ public class X_S_ExpenseType extends PO implements I_S_ExpenseType, 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_S_ExpenseType extends PO implements I_S_ExpenseType, I_Persistent return false; } - 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; @@ -206,7 +206,7 @@ public class X_S_ExpenseType extends PO implements I_S_ExpenseType, 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_S_Resource.java b/base/src/org/compiere/model/X_S_Resource.java index 1cc1925e8a..e87b889a3b 100644 --- a/base/src/org/compiere/model/X_S_Resource.java +++ b/base/src/org/compiere/model/X_S_Resource.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for S_Resource * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_S_Resource extends PO implements I_S_Resource, I_Persistent { @@ -46,6 +46,8 @@ public class X_S_Resource extends PO implements I_S_Resource, I_Persistent // Y setM_Warehouse_ID (0); setName (null); + setPercentUtilization (Env.ZERO); +// 100 setS_Resource_ID (0); setS_ResourceType_ID (0); setValue (null); @@ -80,7 +82,7 @@ public class X_S_Resource extends PO implements I_S_Resource, 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; @@ -91,7 +93,7 @@ public class X_S_Resource extends PO implements I_S_Resource, 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,15 +138,15 @@ public class X_S_Resource extends PO implements I_S_Resource, I_Persistent return bd; } - /** Set DailyCapacity. - @param DailyCapacity DailyCapacity */ + /** Set Daily Capacity. + @param DailyCapacity Daily Capacity */ public void setDailyCapacity (BigDecimal DailyCapacity) { set_Value (COLUMNNAME_DailyCapacity, DailyCapacity); } - /** Get DailyCapacity. - @return DailyCapacity */ + /** Get Daily Capacity. + @return Daily Capacity */ public BigDecimal getDailyCapacity () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_DailyCapacity); @@ -240,7 +242,7 @@ public class X_S_Resource extends PO implements I_S_Resource, I_Persistent return (String)get_Value(COLUMNNAME_ManufacturingResourceType); } - 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; @@ -251,7 +253,7 @@ public class X_S_Resource extends PO implements I_S_Resource, 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; } @@ -305,15 +307,17 @@ public class X_S_Resource extends PO implements I_S_Resource, I_Persistent return new KeyNamePair(get_ID(), getName()); } - /** Set PercentUtilization. - @param PercentUtilization PercentUtilization */ + /** Set % Utilization. + @param PercentUtilization % Utilization */ public void setPercentUtilization (BigDecimal PercentUtilization) { + if (PercentUtilization == null) + throw new IllegalArgumentException ("PercentUtilization is mandatory."); set_Value (COLUMNNAME_PercentUtilization, PercentUtilization); } - /** Get PercentUtilization. - @return PercentUtilization */ + /** Get % Utilization. + @return % Utilization */ public BigDecimal getPercentUtilization () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_PercentUtilization); @@ -342,15 +346,15 @@ public class X_S_Resource extends PO implements I_S_Resource, I_Persistent return ii.intValue(); } - /** Set QueuingTime. - @param QueuingTime QueuingTime */ + /** Set Queuing Time. + @param QueuingTime Queuing Time */ public void setQueuingTime (BigDecimal QueuingTime) { set_Value (COLUMNNAME_QueuingTime, QueuingTime); } - /** Get QueuingTime. - @return QueuingTime */ + /** Get Queuing Time. + @return Queuing Time */ public BigDecimal getQueuingTime () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QueuingTime); @@ -381,7 +385,7 @@ public class X_S_Resource extends PO implements I_S_Resource, I_Persistent return ii.intValue(); } - public I_S_ResourceType getS_ResourceType() throws Exception + public I_S_ResourceType getS_ResourceType() throws RuntimeException { Class clazz = MTable.getClass(I_S_ResourceType.Table_Name); I_S_ResourceType result = null; @@ -392,7 +396,7 @@ public class X_S_Resource extends PO implements I_S_Resource, 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_S_ResourceAssignment.java b/base/src/org/compiere/model/X_S_ResourceAssignment.java index a3032c6d45..8faab832f4 100644 --- a/base/src/org/compiere/model/X_S_ResourceAssignment.java +++ b/base/src/org/compiere/model/X_S_ResourceAssignment.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for S_ResourceAssignment * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_S_ResourceAssignment extends PO implements I_S_ResourceAssignment, I_Persistent { @@ -217,7 +217,7 @@ public class X_S_ResourceAssignment extends PO implements I_S_ResourceAssignment return ii.intValue(); } - public I_S_Resource getS_Resource() throws Exception + public I_S_Resource getS_Resource() throws RuntimeException { Class clazz = MTable.getClass(I_S_Resource.Table_Name); I_S_Resource result = null; @@ -228,7 +228,7 @@ public class X_S_ResourceAssignment extends PO implements I_S_ResourceAssignment } catch (Exception e) { log.log(Level.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_S_ResourceType.java b/base/src/org/compiere/model/X_S_ResourceType.java index e7ebb5cd02..d6c2ac15f0 100644 --- a/base/src/org/compiere/model/X_S_ResourceType.java +++ b/base/src/org/compiere/model/X_S_ResourceType.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for S_ResourceType * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_S_ResourceType extends PO implements I_S_ResourceType, I_Persistent { @@ -136,7 +136,7 @@ public class X_S_ResourceType extends PO implements I_S_ResourceType, I_Persiste 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; @@ -147,7 +147,7 @@ public class X_S_ResourceType extends PO implements I_S_ResourceType, 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; } @@ -174,7 +174,7 @@ public class X_S_ResourceType extends PO implements I_S_ResourceType, 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; @@ -185,7 +185,7 @@ public class X_S_ResourceType extends PO implements I_S_ResourceType, 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; } @@ -301,7 +301,7 @@ public class X_S_ResourceType extends PO implements I_S_ResourceType, I_Persiste return false; } - 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; @@ -312,7 +312,7 @@ public class X_S_ResourceType extends PO implements I_S_ResourceType, 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_S_ResourceUnAvailable.java b/base/src/org/compiere/model/X_S_ResourceUnAvailable.java index b3e5f47c71..8bd0a846cf 100644 --- a/base/src/org/compiere/model/X_S_ResourceUnAvailable.java +++ b/base/src/org/compiere/model/X_S_ResourceUnAvailable.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for S_ResourceUnAvailable * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_S_ResourceUnAvailable extends PO implements I_S_ResourceUnAvailable, I_Persistent { @@ -128,7 +128,7 @@ public class X_S_ResourceUnAvailable extends PO implements I_S_ResourceUnAvailab return (String)get_Value(COLUMNNAME_Description); } - public I_S_Resource getS_Resource() throws Exception + public I_S_Resource getS_Resource() throws RuntimeException { Class clazz = MTable.getClass(I_S_Resource.Table_Name); I_S_Resource result = null; @@ -139,7 +139,7 @@ public class X_S_ResourceUnAvailable extends PO implements I_S_ResourceUnAvailab } catch (Exception e) { log.log(Level.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_S_TimeExpense.java b/base/src/org/compiere/model/X_S_TimeExpense.java index cf612353a8..c4e9fc4d8b 100644 --- a/base/src/org/compiere/model/X_S_TimeExpense.java +++ b/base/src/org/compiere/model/X_S_TimeExpense.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for S_TimeExpense * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_S_TimeExpense extends PO implements I_S_TimeExpense, I_Persistent { @@ -107,8 +107,6 @@ public class X_S_TimeExpense extends PO implements I_S_TimeExpense, I_Persistent return bd; } - /** C_BPartner_ID AD_Reference_ID=277 */ - public static final int C_BPARTNER_ID_AD_Reference_ID=277; /** Set Business Partner . @param C_BPartner_ID Identifies a Business Partner @@ -310,7 +308,7 @@ public class X_S_TimeExpense extends PO implements I_S_TimeExpense, 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; @@ -321,7 +319,7 @@ public class X_S_TimeExpense extends PO implements I_S_TimeExpense, 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; } @@ -348,7 +346,7 @@ public class X_S_TimeExpense extends PO implements I_S_TimeExpense, 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; @@ -359,7 +357,7 @@ public class X_S_TimeExpense extends PO implements I_S_TimeExpense, 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_S_TimeExpenseLine.java b/base/src/org/compiere/model/X_S_TimeExpenseLine.java index a3d12dda0f..a1e08b24f6 100644 --- a/base/src/org/compiere/model/X_S_TimeExpenseLine.java +++ b/base/src/org/compiere/model/X_S_TimeExpenseLine.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for S_TimeExpenseLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Persistent { @@ -83,7 +83,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe return sb.toString(); } - 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; @@ -94,7 +94,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, 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; } @@ -122,7 +122,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe 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; @@ -133,7 +133,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, 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; } @@ -161,7 +161,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe 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; @@ -172,7 +172,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, 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; } @@ -200,7 +200,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, 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; @@ -211,7 +211,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, 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; } @@ -239,7 +239,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe 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; @@ -250,7 +250,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, 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; } @@ -298,7 +298,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe 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; @@ -309,7 +309,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, 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; } @@ -337,7 +337,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe 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; @@ -348,7 +348,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, 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; } @@ -376,7 +376,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe 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; @@ -387,7 +387,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, 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; } @@ -415,7 +415,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe 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; @@ -426,7 +426,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, 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; } @@ -454,7 +454,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe 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; @@ -465,7 +465,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, 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; } @@ -645,7 +645,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe 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; @@ -656,7 +656,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, 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; } @@ -848,7 +848,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe return ii.intValue(); } - public I_S_TimeExpense getS_TimeExpense() throws Exception + public I_S_TimeExpense getS_TimeExpense() throws RuntimeException { Class clazz = MTable.getClass(I_S_TimeExpense.Table_Name); I_S_TimeExpense result = null; @@ -859,7 +859,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, 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; } @@ -908,7 +908,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe return ii.intValue(); } - public I_S_TimeType getS_TimeType() throws Exception + public I_S_TimeType getS_TimeType() throws RuntimeException { Class clazz = MTable.getClass(I_S_TimeType.Table_Name); I_S_TimeType result = null; @@ -919,7 +919,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, 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_S_TimeType.java b/base/src/org/compiere/model/X_S_TimeType.java index 7ccb031283..36a96de56d 100644 --- a/base/src/org/compiere/model/X_S_TimeType.java +++ b/base/src/org/compiere/model/X_S_TimeType.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for S_TimeType * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_S_TimeType extends PO implements I_S_TimeType, I_Persistent { diff --git a/base/src/org/compiere/model/X_S_Training.java b/base/src/org/compiere/model/X_S_Training.java index 37dbde6563..3da20cc903 100644 --- a/base/src/org/compiere/model/X_S_Training.java +++ b/base/src/org/compiere/model/X_S_Training.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for S_Training * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_S_Training extends PO implements I_S_Training, I_Persistent { @@ -76,7 +76,7 @@ public class X_S_Training extends PO implements I_S_Training, I_Persistent return sb.toString(); } - 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; @@ -87,7 +87,7 @@ public class X_S_Training extends PO implements I_S_Training, 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; } @@ -114,7 +114,7 @@ public class X_S_Training extends PO implements I_S_Training, 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; @@ -125,7 +125,7 @@ public class X_S_Training extends PO implements I_S_Training, 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_S_Training extends PO implements I_S_Training, I_Persistent return (String)get_Value(COLUMNNAME_ImageURL); } - 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; @@ -248,7 +248,7 @@ public class X_S_Training extends PO implements I_S_Training, 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_S_Training_Class.java b/base/src/org/compiere/model/X_S_Training_Class.java index 97e766c8e9..96dca3966c 100644 --- a/base/src/org/compiere/model/X_S_Training_Class.java +++ b/base/src/org/compiere/model/X_S_Training_Class.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for S_Training_Class * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_S_Training_Class extends PO implements I_S_Training_Class, I_Persistent { @@ -96,7 +96,7 @@ public class X_S_Training_Class extends PO implements I_S_Training_Class, I_Pers return (Timestamp)get_Value(COLUMNNAME_EndDate); } - 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; @@ -107,7 +107,7 @@ public class X_S_Training_Class extends PO implements I_S_Training_Class, 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; } @@ -183,7 +183,7 @@ public class X_S_Training_Class extends PO implements I_S_Training_Class, I_Pers return ii.intValue(); } - public I_S_Training getS_Training() throws Exception + public I_S_Training getS_Training() throws RuntimeException { Class clazz = MTable.getClass(I_S_Training.Table_Name); I_S_Training result = null; @@ -194,7 +194,7 @@ public class X_S_Training_Class extends PO implements I_S_Training_Class, 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_T_Aging.java b/base/src/org/compiere/model/X_T_Aging.java index 87b5e72ce0..f24d38913c 100644 --- a/base/src/org/compiere/model/X_T_Aging.java +++ b/base/src/org/compiere/model/X_T_Aging.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for T_Aging * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent { @@ -46,31 +46,31 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent setC_BPartner_ID (0); setC_BP_Group_ID (0); setC_Currency_ID (0); - setDueAmt (Env.ZERO); - setDueDate (new Timestamp( System.currentTimeMillis() )); setDue0 (Env.ZERO); setDue0_30 (Env.ZERO); setDue0_7 (Env.ZERO); setDue1_7 (Env.ZERO); - setDue31_Plus (Env.ZERO); setDue31_60 (Env.ZERO); - setDue61_Plus (Env.ZERO); + setDue31_Plus (Env.ZERO); setDue61_90 (Env.ZERO); + setDue61_Plus (Env.ZERO); setDue8_30 (Env.ZERO); setDue91_Plus (Env.ZERO); + setDueAmt (Env.ZERO); + setDueDate (new Timestamp( System.currentTimeMillis() )); setInvoicedAmt (Env.ZERO); setIsListInvoices (false); setIsSOTrx (false); setOpenAmt (Env.ZERO); - setPastDueAmt (Env.ZERO); setPastDue1_30 (Env.ZERO); setPastDue1_7 (Env.ZERO); - setPastDue31_Plus (Env.ZERO); setPastDue31_60 (Env.ZERO); - setPastDue61_Plus (Env.ZERO); + setPastDue31_Plus (Env.ZERO); setPastDue61_90 (Env.ZERO); + setPastDue61_Plus (Env.ZERO); setPastDue8_30 (Env.ZERO); setPastDue91_Plus (Env.ZERO); + setPastDueAmt (Env.ZERO); setStatementDate (new Timestamp( System.currentTimeMillis() )); } */ } @@ -103,7 +103,7 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return sb.toString(); } - public I_AD_PInstance getAD_PInstance() throws Exception + public I_AD_PInstance getAD_PInstance() throws RuntimeException { Class clazz = MTable.getClass(I_AD_PInstance.Table_Name); I_AD_PInstance result = null; @@ -114,7 +114,7 @@ public class X_T_Aging extends PO implements I_T_Aging, 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; } @@ -141,7 +141,7 @@ public class X_T_Aging extends PO implements I_T_Aging, 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; @@ -152,7 +152,7 @@ public class X_T_Aging extends PO implements I_T_Aging, 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_T_Aging extends PO implements I_T_Aging, 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; @@ -191,7 +191,7 @@ public class X_T_Aging extends PO implements I_T_Aging, 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; } @@ -218,7 +218,7 @@ public class X_T_Aging extends PO implements I_T_Aging, 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; @@ -229,7 +229,7 @@ public class X_T_Aging extends PO implements I_T_Aging, 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 +256,7 @@ public class X_T_Aging extends PO implements I_T_Aging, 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; @@ -267,7 +267,7 @@ public class X_T_Aging extends PO implements I_T_Aging, 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; } @@ -295,7 +295,7 @@ public class X_T_Aging extends PO implements I_T_Aging, 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; @@ -306,7 +306,7 @@ public class X_T_Aging extends PO implements I_T_Aging, 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; } @@ -333,7 +333,7 @@ public class X_T_Aging extends PO implements I_T_Aging, 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; @@ -344,7 +344,7 @@ public class X_T_Aging extends PO implements I_T_Aging, 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; } @@ -372,7 +372,7 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return ii.intValue(); } - 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; @@ -383,7 +383,7 @@ public class X_T_Aging extends PO implements I_T_Aging, 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; } @@ -411,7 +411,7 @@ public class X_T_Aging extends PO implements I_T_Aging, 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; @@ -422,7 +422,7 @@ public class X_T_Aging extends PO implements I_T_Aging, 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; } @@ -494,47 +494,6 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return ii.intValue(); } - /** Set Amount due. - @param DueAmt - Amount of the payment due - */ - public void setDueAmt (BigDecimal DueAmt) - { - if (DueAmt == null) - throw new IllegalArgumentException ("DueAmt is mandatory."); - set_Value (COLUMNNAME_DueAmt, DueAmt); - } - - /** Get Amount due. - @return Amount of the payment due - */ - public BigDecimal getDueAmt () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_DueAmt); - if (bd == null) - return Env.ZERO; - return bd; - } - - /** Set Due Date. - @param DueDate - Date when the payment is due - */ - public void setDueDate (Timestamp DueDate) - { - if (DueDate == null) - throw new IllegalArgumentException ("DueDate is mandatory."); - set_Value (COLUMNNAME_DueDate, DueDate); - } - - /** Get Due Date. - @return Date when the payment is due - */ - public Timestamp getDueDate () - { - return (Timestamp)get_Value(COLUMNNAME_DueDate); - } - /** Set Due Today. @param Due0 Due Today */ public void setDue0 (BigDecimal Due0) @@ -611,25 +570,6 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return bd; } - /** Set Due > 31. - @param Due31_Plus Due > 31 */ - public void setDue31_Plus (BigDecimal Due31_Plus) - { - if (Due31_Plus == null) - throw new IllegalArgumentException ("Due31_Plus is mandatory."); - set_Value (COLUMNNAME_Due31_Plus, Due31_Plus); - } - - /** Get Due > 31. - @return Due > 31 */ - public BigDecimal getDue31_Plus () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Due31_Plus); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Due 31-60. @param Due31_60 Due 31-60 */ public void setDue31_60 (BigDecimal Due31_60) @@ -649,20 +589,20 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return bd; } - /** Set Due > 61. - @param Due61_Plus Due > 61 */ - public void setDue61_Plus (BigDecimal Due61_Plus) + /** Set Due > 31. + @param Due31_Plus Due > 31 */ + public void setDue31_Plus (BigDecimal Due31_Plus) { - if (Due61_Plus == null) - throw new IllegalArgumentException ("Due61_Plus is mandatory."); - set_Value (COLUMNNAME_Due61_Plus, Due61_Plus); + if (Due31_Plus == null) + throw new IllegalArgumentException ("Due31_Plus is mandatory."); + set_Value (COLUMNNAME_Due31_Plus, Due31_Plus); } - /** Get Due > 61. - @return Due > 61 */ - public BigDecimal getDue61_Plus () + /** Get Due > 31. + @return Due > 31 */ + public BigDecimal getDue31_Plus () { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Due61_Plus); + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Due31_Plus); if (bd == null) return Env.ZERO; return bd; @@ -687,6 +627,25 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return bd; } + /** Set Due > 61. + @param Due61_Plus Due > 61 */ + public void setDue61_Plus (BigDecimal Due61_Plus) + { + if (Due61_Plus == null) + throw new IllegalArgumentException ("Due61_Plus is mandatory."); + set_Value (COLUMNNAME_Due61_Plus, Due61_Plus); + } + + /** Get Due > 61. + @return Due > 61 */ + public BigDecimal getDue61_Plus () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Due61_Plus); + if (bd == null) + return Env.ZERO; + return bd; + } + /** Set Due 8-30. @param Due8_30 Due 8-30 */ public void setDue8_30 (BigDecimal Due8_30) @@ -725,6 +684,47 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return bd; } + /** Set Amount due. + @param DueAmt + Amount of the payment due + */ + public void setDueAmt (BigDecimal DueAmt) + { + if (DueAmt == null) + throw new IllegalArgumentException ("DueAmt is mandatory."); + set_Value (COLUMNNAME_DueAmt, DueAmt); + } + + /** Get Amount due. + @return Amount of the payment due + */ + public BigDecimal getDueAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_DueAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + + /** Set Due Date. + @param DueDate + Date when the payment is due + */ + public void setDueDate (Timestamp DueDate) + { + if (DueDate == null) + throw new IllegalArgumentException ("DueDate is mandatory."); + set_Value (COLUMNNAME_DueDate, DueDate); + } + + /** Get Due Date. + @return Date when the payment is due + */ + public Timestamp getDueDate () + { + return (Timestamp)get_Value(COLUMNNAME_DueDate); + } + /** Set Invoiced Amount. @param InvoicedAmt The amount invoiced @@ -817,25 +817,6 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return bd; } - /** Set Past Due. - @param PastDueAmt Past Due */ - public void setPastDueAmt (BigDecimal PastDueAmt) - { - if (PastDueAmt == null) - throw new IllegalArgumentException ("PastDueAmt is mandatory."); - set_Value (COLUMNNAME_PastDueAmt, PastDueAmt); - } - - /** Get Past Due. - @return Past Due */ - public BigDecimal getPastDueAmt () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_PastDueAmt); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Past Due 1-30. @param PastDue1_30 Past Due 1-30 */ public void setPastDue1_30 (BigDecimal PastDue1_30) @@ -874,25 +855,6 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return bd; } - /** Set Past Due > 31. - @param PastDue31_Plus Past Due > 31 */ - public void setPastDue31_Plus (BigDecimal PastDue31_Plus) - { - if (PastDue31_Plus == null) - throw new IllegalArgumentException ("PastDue31_Plus is mandatory."); - set_Value (COLUMNNAME_PastDue31_Plus, PastDue31_Plus); - } - - /** Get Past Due > 31. - @return Past Due > 31 */ - public BigDecimal getPastDue31_Plus () - { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_PastDue31_Plus); - if (bd == null) - return Env.ZERO; - return bd; - } - /** Set Past Due 31-60. @param PastDue31_60 Past Due 31-60 */ public void setPastDue31_60 (BigDecimal PastDue31_60) @@ -912,20 +874,20 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return bd; } - /** Set Past Due > 61. - @param PastDue61_Plus Past Due > 61 */ - public void setPastDue61_Plus (BigDecimal PastDue61_Plus) + /** Set Past Due > 31. + @param PastDue31_Plus Past Due > 31 */ + public void setPastDue31_Plus (BigDecimal PastDue31_Plus) { - if (PastDue61_Plus == null) - throw new IllegalArgumentException ("PastDue61_Plus is mandatory."); - set_Value (COLUMNNAME_PastDue61_Plus, PastDue61_Plus); + if (PastDue31_Plus == null) + throw new IllegalArgumentException ("PastDue31_Plus is mandatory."); + set_Value (COLUMNNAME_PastDue31_Plus, PastDue31_Plus); } - /** Get Past Due > 61. - @return Past Due > 61 */ - public BigDecimal getPastDue61_Plus () + /** Get Past Due > 31. + @return Past Due > 31 */ + public BigDecimal getPastDue31_Plus () { - BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_PastDue61_Plus); + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_PastDue31_Plus); if (bd == null) return Env.ZERO; return bd; @@ -950,6 +912,25 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return bd; } + /** Set Past Due > 61. + @param PastDue61_Plus Past Due > 61 */ + public void setPastDue61_Plus (BigDecimal PastDue61_Plus) + { + if (PastDue61_Plus == null) + throw new IllegalArgumentException ("PastDue61_Plus is mandatory."); + set_Value (COLUMNNAME_PastDue61_Plus, PastDue61_Plus); + } + + /** Get Past Due > 61. + @return Past Due > 61 */ + public BigDecimal getPastDue61_Plus () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_PastDue61_Plus); + if (bd == null) + return Env.ZERO; + return bd; + } + /** Set Past Due 8-30. @param PastDue8_30 Past Due 8-30 */ public void setPastDue8_30 (BigDecimal PastDue8_30) @@ -988,6 +969,25 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent return bd; } + /** Set Past Due. + @param PastDueAmt Past Due */ + public void setPastDueAmt (BigDecimal PastDueAmt) + { + if (PastDueAmt == null) + throw new IllegalArgumentException ("PastDueAmt is mandatory."); + set_Value (COLUMNNAME_PastDueAmt, PastDueAmt); + } + + /** Get Past Due. + @return Past Due */ + public BigDecimal getPastDueAmt () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_PastDueAmt); + if (bd == null) + return Env.ZERO; + return bd; + } + /** Set Statement date. @param StatementDate Date of the statement diff --git a/base/src/org/compiere/model/X_T_DistributionRunDetail.java b/base/src/org/compiere/model/X_T_DistributionRunDetail.java index 01b1aba43f..0b9b28f4f9 100644 --- a/base/src/org/compiere/model/X_T_DistributionRunDetail.java +++ b/base/src/org/compiere/model/X_T_DistributionRunDetail.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for T_DistributionRunDetail * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRunDetail, I_Persistent { @@ -83,7 +83,7 @@ public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRun 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; @@ -94,7 +94,7 @@ public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRun } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -121,7 +121,7 @@ public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRun 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; @@ -132,7 +132,7 @@ public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRun } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -159,7 +159,7 @@ public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRun return ii.intValue(); } - public I_M_DistributionList getM_DistributionList() throws Exception + public I_M_DistributionList getM_DistributionList() throws RuntimeException { Class clazz = MTable.getClass(I_M_DistributionList.Table_Name); I_M_DistributionList result = null; @@ -170,7 +170,7 @@ public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRun } catch (Exception e) { log.log(Level.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_T_DistributionRunDetail extends PO implements I_T_DistributionRun return ii.intValue(); } - public I_M_DistributionListLine getM_DistributionListLine() throws Exception + public I_M_DistributionListLine getM_DistributionListLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_DistributionListLine.Table_Name); I_M_DistributionListLine result = null; @@ -208,7 +208,7 @@ public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRun } catch (Exception e) { log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw e; + throw new RuntimeException( e ); } return result; } @@ -235,7 +235,7 @@ public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRun return ii.intValue(); } - public I_M_DistributionRun getM_DistributionRun() throws Exception + public I_M_DistributionRun getM_DistributionRun() throws RuntimeException { Class clazz = MTable.getClass(I_M_DistributionRun.Table_Name); I_M_DistributionRun result = null; @@ -246,7 +246,7 @@ public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRun } catch (Exception e) { log.log(Level.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_T_DistributionRunDetail extends PO implements I_T_DistributionRun return new KeyNamePair(get_ID(), String.valueOf(getM_DistributionRun_ID())); } - public I_M_DistributionRunLine getM_DistributionRunLine() throws Exception + public I_M_DistributionRunLine getM_DistributionRunLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_DistributionRunLine.Table_Name); I_M_DistributionRunLine result = null; @@ -292,7 +292,7 @@ public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRun } catch (Exception e) { log.log(Level.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 +341,7 @@ public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRun 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; @@ -352,7 +352,7 @@ public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRun } catch (Exception e) { log.log(Level.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_T_InventoryValue.java b/base/src/org/compiere/model/X_T_InventoryValue.java index 1a7d6bebcc..29ff0fa589 100644 --- a/base/src/org/compiere/model/X_T_InventoryValue.java +++ b/base/src/org/compiere/model/X_T_InventoryValue.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for T_InventoryValue * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_T_InventoryValue extends PO implements I_T_InventoryValue, I_Persistent { @@ -77,7 +77,7 @@ public class X_T_InventoryValue extends PO implements I_T_InventoryValue, I_Pers return sb.toString(); } - public I_AD_PInstance getAD_PInstance() throws Exception + public I_AD_PInstance getAD_PInstance() throws RuntimeException { Class clazz = MTable.getClass(I_AD_PInstance.Table_Name); I_AD_PInstance result = null; @@ -88,7 +88,7 @@ public class X_T_InventoryValue extends PO implements I_T_InventoryValue, 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; } @@ -115,7 +115,7 @@ public class X_T_InventoryValue extends PO implements I_T_InventoryValue, I_Pers 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; @@ -126,7 +126,7 @@ public class X_T_InventoryValue extends PO implements I_T_InventoryValue, 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; } @@ -273,7 +273,7 @@ public class X_T_InventoryValue extends PO implements I_T_InventoryValue, I_Pers 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; @@ -284,7 +284,7 @@ public class X_T_InventoryValue extends PO implements I_T_InventoryValue, 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; } @@ -312,7 +312,7 @@ public class X_T_InventoryValue extends PO implements I_T_InventoryValue, I_Pers return ii.intValue(); } - 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; @@ -323,7 +323,7 @@ public class X_T_InventoryValue extends PO implements I_T_InventoryValue, 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; } @@ -351,7 +351,7 @@ public class X_T_InventoryValue extends PO implements I_T_InventoryValue, 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; @@ -362,7 +362,7 @@ public class X_T_InventoryValue extends PO implements I_T_InventoryValue, 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; } @@ -389,7 +389,7 @@ public class X_T_InventoryValue extends PO implements I_T_InventoryValue, I_Pers 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; @@ -400,7 +400,7 @@ public class X_T_InventoryValue extends PO implements I_T_InventoryValue, 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_T_InvoiceGL.java b/base/src/org/compiere/model/X_T_InvoiceGL.java index 53e5e6d1c2..71a0751737 100644 --- a/base/src/org/compiere/model/X_T_InvoiceGL.java +++ b/base/src/org/compiere/model/X_T_InvoiceGL.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for T_InvoiceGL * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_T_InvoiceGL extends PO implements I_T_InvoiceGL, I_Persistent { @@ -87,7 +87,7 @@ public class X_T_InvoiceGL extends PO implements I_T_InvoiceGL, I_Persistent return sb.toString(); } - public I_AD_PInstance getAD_PInstance() throws Exception + public I_AD_PInstance getAD_PInstance() throws RuntimeException { Class clazz = MTable.getClass(I_AD_PInstance.Table_Name); I_AD_PInstance result = null; @@ -98,7 +98,7 @@ public class X_T_InvoiceGL extends PO implements I_T_InvoiceGL, 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; } @@ -283,8 +283,6 @@ public class X_T_InvoiceGL extends PO implements I_T_InvoiceGL, I_Persistent return (String)get_Value(COLUMNNAME_APAR); } - /** C_ConversionTypeReval_ID AD_Reference_ID=352 */ - public static final int C_CONVERSIONTYPEREVAL_ID_AD_Reference_ID=352; /** Set Revaluation Conversion Type. @param C_ConversionTypeReval_ID Revaluation Currency Conversion Type @@ -307,8 +305,6 @@ public class X_T_InvoiceGL extends PO implements I_T_InvoiceGL, I_Persistent return ii.intValue(); } - /** C_DocTypeReval_ID AD_Reference_ID=170 */ - public static final int C_DOCTYPEREVAL_ID_AD_Reference_ID=170; /** Set Revaluation Document Type. @param C_DocTypeReval_ID Document Type for Revaluation Journal @@ -332,7 +328,7 @@ public class X_T_InvoiceGL extends PO implements I_T_InvoiceGL, 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; @@ -343,7 +339,7 @@ public class X_T_InvoiceGL extends PO implements I_T_InvoiceGL, 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_T_Replenish.java b/base/src/org/compiere/model/X_T_Replenish.java index fb7efd6feb..23cb16540b 100644 --- a/base/src/org/compiere/model/X_T_Replenish.java +++ b/base/src/org/compiere/model/X_T_Replenish.java @@ -26,7 +26,7 @@ import org.compiere.util.Env; /** Generated Model for T_Replenish * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_T_Replenish extends PO implements I_T_Replenish, I_Persistent { @@ -79,7 +79,7 @@ public class X_T_Replenish extends PO implements I_T_Replenish, I_Persistent return sb.toString(); } - public I_AD_PInstance getAD_PInstance() throws Exception + public I_AD_PInstance getAD_PInstance() throws RuntimeException { Class clazz = MTable.getClass(I_AD_PInstance.Table_Name); I_AD_PInstance result = null; @@ -90,7 +90,7 @@ public class X_T_Replenish extends PO implements I_T_Replenish, 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; } @@ -117,7 +117,7 @@ public class X_T_Replenish extends PO implements I_T_Replenish, 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; @@ -128,7 +128,7 @@ public class X_T_Replenish extends PO implements I_T_Replenish, 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; } @@ -155,7 +155,7 @@ public class X_T_Replenish extends PO implements I_T_Replenish, 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; @@ -166,7 +166,7 @@ public class X_T_Replenish extends PO implements I_T_Replenish, 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; } @@ -238,7 +238,7 @@ public class X_T_Replenish extends PO implements I_T_Replenish, I_Persistent 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; @@ -249,7 +249,7 @@ public class X_T_Replenish extends PO implements I_T_Replenish, 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; } @@ -276,7 +276,7 @@ public class X_T_Replenish extends PO implements I_T_Replenish, 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; @@ -287,7 +287,7 @@ public class X_T_Replenish extends PO implements I_T_Replenish, 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; } @@ -314,8 +314,6 @@ public class X_T_Replenish extends PO implements I_T_Replenish, I_Persistent return ii.intValue(); } - /** M_WarehouseSource_ID AD_Reference_ID=197 */ - public static final int M_WAREHOUSESOURCE_ID_AD_Reference_ID=197; /** Set Source Warehouse. @param M_WarehouseSource_ID Optional Warehouse to replenish from diff --git a/base/src/org/compiere/model/X_T_Report.java b/base/src/org/compiere/model/X_T_Report.java index feb690248a..f24c801b82 100644 --- a/base/src/org/compiere/model/X_T_Report.java +++ b/base/src/org/compiere/model/X_T_Report.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for T_Report * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_T_Report extends PO implements I_T_Report, I_Persistent { @@ -77,7 +77,7 @@ public class X_T_Report extends PO implements I_T_Report, I_Persistent return sb.toString(); } - public I_AD_PInstance getAD_PInstance() throws Exception + public I_AD_PInstance getAD_PInstance() throws RuntimeException { Class clazz = MTable.getClass(I_AD_PInstance.Table_Name); I_AD_PInstance result = null; @@ -88,7 +88,7 @@ public class X_T_Report extends PO implements I_T_Report, 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; } @@ -550,7 +550,7 @@ public class X_T_Report extends PO implements I_T_Report, I_Persistent return new KeyNamePair(get_ID(), getName()); } - public I_PA_ReportLine getPA_ReportLine() throws Exception + public I_PA_ReportLine getPA_ReportLine() throws RuntimeException { Class clazz = MTable.getClass(I_PA_ReportLine.Table_Name); I_PA_ReportLine result = null; @@ -561,7 +561,7 @@ public class X_T_Report extends PO implements I_T_Report, 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_T_ReportStatement.java b/base/src/org/compiere/model/X_T_ReportStatement.java index de4dd2a87b..ba412bf404 100644 --- a/base/src/org/compiere/model/X_T_ReportStatement.java +++ b/base/src/org/compiere/model/X_T_ReportStatement.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for T_ReportStatement * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_T_ReportStatement extends PO implements I_T_ReportStatement, I_Persistent { @@ -78,7 +78,7 @@ public class X_T_ReportStatement extends PO implements I_T_ReportStatement, I_Pe return sb.toString(); } - public I_AD_PInstance getAD_PInstance() throws Exception + public I_AD_PInstance getAD_PInstance() throws RuntimeException { Class clazz = MTable.getClass(I_AD_PInstance.Table_Name); I_AD_PInstance result = null; @@ -89,7 +89,7 @@ public class X_T_ReportStatement extends PO implements I_T_ReportStatement, 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_T_ReportStatement extends PO implements I_T_ReportStatement, I_Pe 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; @@ -220,7 +220,7 @@ public class X_T_ReportStatement extends PO implements I_T_ReportStatement, 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_T_Transaction.java b/base/src/org/compiere/model/X_T_Transaction.java index b27afd0122..16dea79ac9 100644 --- a/base/src/org/compiere/model/X_T_Transaction.java +++ b/base/src/org/compiere/model/X_T_Transaction.java @@ -27,7 +27,7 @@ import org.compiere.util.Env; /** Generated Model for T_Transaction * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent { @@ -81,7 +81,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent return sb.toString(); } - public I_AD_PInstance getAD_PInstance() throws Exception + public I_AD_PInstance getAD_PInstance() throws RuntimeException { Class clazz = MTable.getClass(I_AD_PInstance.Table_Name); I_AD_PInstance result = null; @@ -92,7 +92,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, 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_T_Transaction extends PO implements I_T_Transaction, 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; @@ -130,7 +130,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, 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_T_Transaction extends PO implements I_T_Transaction, 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; @@ -169,7 +169,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, 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; } @@ -219,7 +219,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, 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; @@ -230,7 +230,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, 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; } @@ -258,7 +258,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, 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; @@ -269,7 +269,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, 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; } @@ -297,7 +297,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent return ii.intValue(); } - public I_M_Inventory getM_Inventory() throws Exception + public I_M_Inventory getM_Inventory() throws RuntimeException { Class clazz = MTable.getClass(I_M_Inventory.Table_Name); I_M_Inventory result = null; @@ -308,7 +308,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, 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; } @@ -336,7 +336,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent return ii.intValue(); } - public I_M_InventoryLine getM_InventoryLine() throws Exception + public I_M_InventoryLine getM_InventoryLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_InventoryLine.Table_Name); I_M_InventoryLine result = null; @@ -347,7 +347,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, 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; } @@ -397,7 +397,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent return ii.intValue(); } - public I_M_Movement getM_Movement() throws Exception + public I_M_Movement getM_Movement() throws RuntimeException { Class clazz = MTable.getClass(I_M_Movement.Table_Name); I_M_Movement result = null; @@ -408,7 +408,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, 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; } @@ -436,7 +436,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent return ii.intValue(); } - public I_M_MovementLine getM_MovementLine() throws Exception + public I_M_MovementLine getM_MovementLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_MovementLine.Table_Name); I_M_MovementLine result = null; @@ -447,7 +447,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, 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; } @@ -560,7 +560,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent return (String)get_Value(COLUMNNAME_MovementType); } - 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; @@ -571,7 +571,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, 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; } @@ -598,7 +598,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent return ii.intValue(); } - public I_M_Production getM_Production() throws Exception + public I_M_Production getM_Production() throws RuntimeException { Class clazz = MTable.getClass(I_M_Production.Table_Name); I_M_Production result = null; @@ -609,7 +609,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, 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; } @@ -637,7 +637,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent return ii.intValue(); } - public I_M_ProductionLine getM_ProductionLine() throws Exception + public I_M_ProductionLine getM_ProductionLine() throws RuntimeException { Class clazz = MTable.getClass(I_M_ProductionLine.Table_Name); I_M_ProductionLine result = null; @@ -648,7 +648,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, 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; } @@ -676,7 +676,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent return ii.intValue(); } - public I_M_Transaction getM_Transaction() throws Exception + public I_M_Transaction getM_Transaction() throws RuntimeException { Class clazz = MTable.getClass(I_M_Transaction.Table_Name); I_M_Transaction result = null; @@ -687,7 +687,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, 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; } @@ -711,8 +711,6 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent return ii.intValue(); } - /** Search_InOut_ID AD_Reference_ID=295 */ - public static final int SEARCH_INOUT_ID_AD_Reference_ID=295; /** Set Search Shipment/Receipt. @param Search_InOut_ID Material Shipment Document @@ -736,8 +734,6 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent return ii.intValue(); } - /** Search_Invoice_ID AD_Reference_ID=336 */ - public static final int SEARCH_INVOICE_ID_AD_Reference_ID=336; /** Set Search Invoice. @param Search_Invoice_ID Search Invoice Identifier @@ -761,8 +757,6 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent return ii.intValue(); } - /** Search_Order_ID AD_Reference_ID=290 */ - public static final int SEARCH_ORDER_ID_AD_Reference_ID=290; /** Set Search Order. @param Search_Order_ID Order Identifier diff --git a/base/src/org/compiere/model/X_Test.java b/base/src/org/compiere/model/X_Test.java index 0ad7aa55d9..9a6934f3cf 100644 --- a/base/src/org/compiere/model/X_Test.java +++ b/base/src/org/compiere/model/X_Test.java @@ -28,7 +28,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for Test * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_Test extends PO implements I_Test, I_Persistent { @@ -113,7 +113,7 @@ public class X_Test extends PO implements I_Test, 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; @@ -124,7 +124,7 @@ public class X_Test extends PO implements I_Test, 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; } @@ -152,7 +152,7 @@ public class X_Test extends PO implements I_Test, 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; @@ -163,7 +163,7 @@ public class X_Test extends PO implements I_Test, 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 +231,7 @@ public class X_Test extends PO implements I_Test, 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; @@ -242,7 +242,7 @@ public class X_Test extends PO implements I_Test, 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; } @@ -270,7 +270,7 @@ public class X_Test extends PO implements I_Test, 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; @@ -281,7 +281,7 @@ public class X_Test extends PO implements I_Test, 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; } @@ -366,7 +366,7 @@ public class X_Test extends PO implements I_Test, 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; @@ -377,7 +377,7 @@ public class X_Test extends PO implements I_Test, 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_U_BlackListCheque.java b/base/src/org/compiere/model/X_U_BlackListCheque.java index a0bf35113a..c6dbd76a5d 100644 --- a/base/src/org/compiere/model/X_U_BlackListCheque.java +++ b/base/src/org/compiere/model/X_U_BlackListCheque.java @@ -22,7 +22,7 @@ import java.util.Properties; /** Generated Model for U_BlackListCheque * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_U_BlackListCheque extends PO implements I_U_BlackListCheque, I_Persistent { diff --git a/base/src/org/compiere/model/X_U_POSTerminal.java b/base/src/org/compiere/model/X_U_POSTerminal.java index b2f392897b..87c0bc05aa 100644 --- a/base/src/org/compiere/model/X_U_POSTerminal.java +++ b/base/src/org/compiere/model/X_U_POSTerminal.java @@ -25,7 +25,7 @@ import java.util.logging.Level; /** Generated Model for U_POSTerminal * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent { @@ -101,8 +101,6 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent return false; } - /** Card_BankAccount_ID AD_Reference_ID=53283 */ - public static final int CARD_BANKACCOUNT_ID_AD_Reference_ID=53283; /** Set Card Bank Account. @param Card_BankAccount_ID Bank Account on which card transactions will be processed @@ -126,8 +124,6 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent return ii.intValue(); } - /** CardTransferBankAccount_ID AD_Reference_ID=53283 */ - public static final int CARDTRANSFERBANKACCOUNT_ID_AD_Reference_ID=53283; /** Set Transfer Card trx to. @param CardTransferBankAccount_ID Bank account on which to transfer Card transactions @@ -151,8 +147,6 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent return ii.intValue(); } - /** CardTransferCashBook_ID AD_Reference_ID=52004 */ - public static final int CARDTRANSFERCASHBOOK_ID_AD_Reference_ID=52004; /** Set Transfer Card trx to. @param CardTransferCashBook_ID Cash Book on which to transfer all Card transactions @@ -221,8 +215,6 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent return (String)get_Value(COLUMNNAME_CashBookTransferType); } - /** CashTransferBankAccount_ID AD_Reference_ID=53283 */ - public static final int CASHTRANSFERBANKACCOUNT_ID_AD_Reference_ID=53283; /** Set Transfer Cash trx to. @param CashTransferBankAccount_ID Bank Account on which to transfer all Cash transactions @@ -246,8 +238,6 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent return ii.intValue(); } - /** CashTransferCashBook_ID AD_Reference_ID=52004 */ - public static final int CASHTRANSFERCASHBOOK_ID_AD_Reference_ID=52004; /** Set Transfer Cash trx to. @param CashTransferCashBook_ID Cash Book on which to transfer all Cash transactions @@ -271,7 +261,7 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, 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; @@ -282,7 +272,7 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, 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; } @@ -309,8 +299,6 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent return ii.intValue(); } - /** C_CashBPartner_ID AD_Reference_ID=173 */ - public static final int C_CASHBPARTNER_ID_AD_Reference_ID=173; /** Set Cash BPartner. @param C_CashBPartner_ID BPartner to be used for Cash transactions @@ -333,8 +321,6 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent return ii.intValue(); } - /** Check_BankAccount_ID AD_Reference_ID=53283 */ - public static final int CHECK_BANKACCOUNT_ID_AD_Reference_ID=53283; /** Set Check Bank Account. @param Check_BankAccount_ID Bank Account to be used for processing Check transactions @@ -358,8 +344,6 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent return ii.intValue(); } - /** CheckTransferBankAccount_ID AD_Reference_ID=53283 */ - public static final int CHECKTRANSFERBANKACCOUNT_ID_AD_Reference_ID=53283; /** Set Tranfer Check trx to. @param CheckTransferBankAccount_ID Bank account on which to transfer Check transactions @@ -383,8 +367,6 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent return ii.intValue(); } - /** CheckTransferCashBook_ID AD_Reference_ID=52004 */ - public static final int CHECKTRANSFERCASHBOOK_ID_AD_Reference_ID=52004; /** Set Transfer Check trx to. @param CheckTransferCashBook_ID Cash Book on which to transfer all Check transactions @@ -429,8 +411,6 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent return (String)get_Value(COLUMNNAME_CheckTransferType); } - /** C_TemplateBPartner_ID AD_Reference_ID=173 */ - public static final int C_TEMPLATEBPARTNER_ID_AD_Reference_ID=173; /** Set Template BPartner. @param C_TemplateBPartner_ID BPartner that is to be used as template when new customers are created @@ -549,7 +529,7 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, 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; @@ -560,7 +540,7 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, 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; } @@ -605,8 +585,6 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent return (String)get_Value(COLUMNNAME_Name); } - /** 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 @@ -647,8 +625,6 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent return (String)get_Value(COLUMNNAME_PrinterName); } - /** SalesRep_ID AD_Reference_ID=316 */ - public static final int SALESREP_ID_AD_Reference_ID=316; /** Set Sales Representative. @param SalesRep_ID Sales Representative or Company Agent @@ -672,8 +648,6 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent return ii.intValue(); } - /** SO_PriceList_ID AD_Reference_ID=166 */ - public static final int SO_PRICELIST_ID_AD_Reference_ID=166; /** Set Sales Pricelist. @param SO_PriceList_ID Sales Pricelist */ public void setSO_PriceList_ID (int SO_PriceList_ID) diff --git a/base/src/org/compiere/model/X_U_RoleMenu.java b/base/src/org/compiere/model/X_U_RoleMenu.java index a246729ace..74dfd4ff17 100644 --- a/base/src/org/compiere/model/X_U_RoleMenu.java +++ b/base/src/org/compiere/model/X_U_RoleMenu.java @@ -24,7 +24,7 @@ import java.util.logging.Level; /** Generated Model for U_RoleMenu * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_U_RoleMenu extends PO implements I_U_RoleMenu, I_Persistent { @@ -73,7 +73,7 @@ public class X_U_RoleMenu extends PO implements I_U_RoleMenu, I_Persistent 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; @@ -84,7 +84,7 @@ public class X_U_RoleMenu extends PO implements I_U_RoleMenu, 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; } @@ -130,7 +130,7 @@ public class X_U_RoleMenu extends PO implements I_U_RoleMenu, I_Persistent return ii.intValue(); } - public I_U_WebMenu getU_WebMenu() throws Exception + public I_U_WebMenu getU_WebMenu() throws RuntimeException { Class clazz = MTable.getClass(I_U_WebMenu.Table_Name); I_U_WebMenu result = null; @@ -141,7 +141,7 @@ public class X_U_RoleMenu extends PO implements I_U_RoleMenu, 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_U_WebMenu.java b/base/src/org/compiere/model/X_U_WebMenu.java index e7bf083201..58658995b9 100644 --- a/base/src/org/compiere/model/X_U_WebMenu.java +++ b/base/src/org/compiere/model/X_U_WebMenu.java @@ -24,7 +24,7 @@ import org.compiere.util.Env; /** Generated Model for U_WebMenu * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_U_WebMenu extends PO implements I_U_WebMenu, I_Persistent { @@ -210,8 +210,6 @@ public class X_U_WebMenu extends PO implements I_U_WebMenu, I_Persistent return (String)get_Value(COLUMNNAME_Name); } - /** ParentMenu_ID AD_Reference_ID=52000 */ - public static final int PARENTMENU_ID_AD_Reference_ID=52000; /** Set Parent Menu. @param ParentMenu_ID Parent Menu */ public void setParentMenu_ID (int ParentMenu_ID) diff --git a/base/src/org/compiere/model/X_U_Web_Properties.java b/base/src/org/compiere/model/X_U_Web_Properties.java index 4482dc80e9..85b508ab8c 100644 --- a/base/src/org/compiere/model/X_U_Web_Properties.java +++ b/base/src/org/compiere/model/X_U_Web_Properties.java @@ -22,7 +22,7 @@ import java.util.Properties; /** Generated Model for U_Web_Properties * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_U_Web_Properties extends PO implements I_U_Web_Properties, I_Persistent { @@ -50,7 +50,7 @@ public class X_U_Web_Properties extends PO implements I_U_Web_Properties, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { diff --git a/base/src/org/compiere/model/X_W_Advertisement.java b/base/src/org/compiere/model/X_W_Advertisement.java index 2ce88553bc..e682a54e39 100644 --- a/base/src/org/compiere/model/X_W_Advertisement.java +++ b/base/src/org/compiere/model/X_W_Advertisement.java @@ -26,7 +26,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for W_Advertisement * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_W_Advertisement extends PO implements I_W_Advertisement, I_Persistent { @@ -98,7 +98,7 @@ public class X_W_Advertisement extends PO implements I_W_Advertisement, I_Persis return (String)get_Value(COLUMNNAME_AdText); } - 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; @@ -109,7 +109,7 @@ public class X_W_Advertisement extends PO implements I_W_Advertisement, 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,8 +136,6 @@ public class X_W_Advertisement extends PO implements I_W_Advertisement, I_Persis return ii.intValue(); } - /** 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 @@ -387,7 +385,7 @@ public class X_W_Advertisement extends PO implements I_W_Advertisement, I_Persis return ii.intValue(); } - public I_W_ClickCount getW_ClickCount() throws Exception + public I_W_ClickCount getW_ClickCount() throws RuntimeException { Class clazz = MTable.getClass(I_W_ClickCount.Table_Name); I_W_ClickCount result = null; @@ -398,7 +396,7 @@ public class X_W_Advertisement extends PO implements I_W_Advertisement, 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; } @@ -426,7 +424,7 @@ public class X_W_Advertisement extends PO implements I_W_Advertisement, I_Persis return ii.intValue(); } - public I_W_CounterCount getW_CounterCount() throws Exception + public I_W_CounterCount getW_CounterCount() throws RuntimeException { Class clazz = MTable.getClass(I_W_CounterCount.Table_Name); I_W_CounterCount result = null; @@ -437,7 +435,7 @@ public class X_W_Advertisement extends PO implements I_W_Advertisement, 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_W_Basket.java b/base/src/org/compiere/model/X_W_Basket.java index ee1a130783..6935814913 100644 --- a/base/src/org/compiere/model/X_W_Basket.java +++ b/base/src/org/compiere/model/X_W_Basket.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for W_Basket * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_W_Basket extends PO implements I_W_Basket, I_Persistent { @@ -74,7 +74,7 @@ public class X_W_Basket extends PO implements I_W_Basket, 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; @@ -85,7 +85,7 @@ public class X_W_Basket extends PO implements I_W_Basket, 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_W_Basket extends PO implements I_W_Basket, 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; @@ -123,7 +123,7 @@ public class X_W_Basket extends PO implements I_W_Basket, 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,7 +168,7 @@ public class X_W_Basket extends PO implements I_W_Basket, I_Persistent return (String)get_Value(COLUMNNAME_EMail); } - 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; @@ -179,7 +179,7 @@ public class X_W_Basket extends PO implements I_W_Basket, 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_W_BasketLine.java b/base/src/org/compiere/model/X_W_BasketLine.java index 991860f1b2..c73e278425 100644 --- a/base/src/org/compiere/model/X_W_BasketLine.java +++ b/base/src/org/compiere/model/X_W_BasketLine.java @@ -27,7 +27,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for W_BasketLine * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_W_BasketLine extends PO implements I_W_BasketLine, I_Persistent { @@ -127,7 +127,7 @@ public class X_W_BasketLine extends PO implements I_W_BasketLine, I_Persistent 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; @@ -138,7 +138,7 @@ public class X_W_BasketLine extends PO implements I_W_BasketLine, 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; } @@ -226,7 +226,7 @@ public class X_W_BasketLine extends PO implements I_W_BasketLine, I_Persistent return bd; } - public I_W_Basket getW_Basket() throws Exception + public I_W_Basket getW_Basket() throws RuntimeException { Class clazz = MTable.getClass(I_W_Basket.Table_Name); I_W_Basket result = null; @@ -237,7 +237,7 @@ public class X_W_BasketLine extends PO implements I_W_BasketLine, 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_W_Click.java b/base/src/org/compiere/model/X_W_Click.java index acc2e34e2d..52d645f90e 100644 --- a/base/src/org/compiere/model/X_W_Click.java +++ b/base/src/org/compiere/model/X_W_Click.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for W_Click * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_W_Click extends PO implements I_W_Click, I_Persistent { @@ -247,7 +247,7 @@ public class X_W_Click extends PO implements I_W_Click, I_Persistent return (String)get_Value(COLUMNNAME_UserAgent); } - public I_W_ClickCount getW_ClickCount() throws Exception + public I_W_ClickCount getW_ClickCount() throws RuntimeException { Class clazz = MTable.getClass(I_W_ClickCount.Table_Name); I_W_ClickCount result = null; @@ -258,7 +258,7 @@ public class X_W_Click extends PO implements I_W_Click, 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_W_ClickCount.java b/base/src/org/compiere/model/X_W_ClickCount.java index 25ba7b86fe..15e9c93594 100644 --- a/base/src/org/compiere/model/X_W_ClickCount.java +++ b/base/src/org/compiere/model/X_W_ClickCount.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for W_ClickCount * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_W_ClickCount extends PO implements I_W_ClickCount, I_Persistent { @@ -72,8 +72,6 @@ public class X_W_ClickCount extends PO implements I_W_ClickCount, 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 diff --git a/base/src/org/compiere/model/X_W_Counter.java b/base/src/org/compiere/model/X_W_Counter.java index bc8a08cb0d..fa2511f2f7 100644 --- a/base/src/org/compiere/model/X_W_Counter.java +++ b/base/src/org/compiere/model/X_W_Counter.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for W_Counter * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_W_Counter extends PO implements I_W_Counter, I_Persistent { @@ -253,7 +253,7 @@ public class X_W_Counter extends PO implements I_W_Counter, I_Persistent return (String)get_Value(COLUMNNAME_UserAgent); } - public I_W_CounterCount getW_CounterCount() throws Exception + public I_W_CounterCount getW_CounterCount() throws RuntimeException { Class clazz = MTable.getClass(I_W_CounterCount.Table_Name); I_W_CounterCount result = null; @@ -264,7 +264,7 @@ public class X_W_Counter extends PO implements I_W_Counter, 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_W_CounterCount.java b/base/src/org/compiere/model/X_W_CounterCount.java index cd0763bc34..883803a9c9 100644 --- a/base/src/org/compiere/model/X_W_CounterCount.java +++ b/base/src/org/compiere/model/X_W_CounterCount.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for W_CounterCount * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_W_CounterCount extends PO implements I_W_CounterCount, I_Persistent { @@ -72,8 +72,6 @@ public class X_W_CounterCount extends PO implements I_W_CounterCount, I_Persiste 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 diff --git a/base/src/org/compiere/model/X_W_MailMsg.java b/base/src/org/compiere/model/X_W_MailMsg.java index f7232c1062..1efb3fd2cc 100644 --- a/base/src/org/compiere/model/X_W_MailMsg.java +++ b/base/src/org/compiere/model/X_W_MailMsg.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for W_MailMsg * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_W_MailMsg extends PO implements I_W_MailMsg, I_Persistent { @@ -253,7 +253,7 @@ public class X_W_MailMsg extends PO implements I_W_MailMsg, I_Persistent return ii.intValue(); } - public I_W_Store getW_Store() throws Exception + public I_W_Store getW_Store() throws RuntimeException { Class clazz = MTable.getClass(I_W_Store.Table_Name); I_W_Store result = null; @@ -264,7 +264,7 @@ public class X_W_MailMsg extends PO implements I_W_MailMsg, 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_W_Store.java b/base/src/org/compiere/model/X_W_Store.java index 370efc73a1..5003e0437c 100644 --- a/base/src/org/compiere/model/X_W_Store.java +++ b/base/src/org/compiere/model/X_W_Store.java @@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair; /** Generated Model for W_Store * @author Adempiere (generated) - * @version Release 3.5.2a - $Id$ */ + * @version Release 3.5.3a - $Id$ */ public class X_W_Store extends PO implements I_W_Store, I_Persistent { @@ -100,7 +100,7 @@ public class X_W_Store extends PO implements I_W_Store, 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; @@ -111,7 +111,7 @@ public class X_W_Store extends PO implements I_W_Store, 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; } @@ -470,7 +470,7 @@ public class X_W_Store extends PO implements I_W_Store, 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; @@ -481,7 +481,7 @@ public class X_W_Store extends PO implements I_W_Store, 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; } @@ -508,7 +508,7 @@ public class X_W_Store extends PO implements I_W_Store, 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; @@ -519,7 +519,7 @@ public class X_W_Store extends PO implements I_W_Store, 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; } @@ -573,8 +573,6 @@ public class X_W_Store extends PO implements I_W_Store, 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