From 5c76bd07f69f68fa4deead398264b32b89b1057c Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Mon, 20 Jul 2009 04:11:04 +0000 Subject: [PATCH] https://sourceforge.net/tracker/?func=detail&aid=2819356&group_id=176962&atid=879335 - Added GoalDisplay column to PA_DashboardContent ( the comment for revision 9707 say PA_Goal which is wrong ) --- .../compiere/model/I_PA_DashboardContent.java | 13 ++++++++++ .../compiere/model/X_PA_DashboardContent.java | 26 ++++++++++++++++++- 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/base/src/org/compiere/model/I_PA_DashboardContent.java b/base/src/org/compiere/model/I_PA_DashboardContent.java index a2b1970fa8..eb6b04b337 100644 --- a/base/src/org/compiere/model/I_PA_DashboardContent.java +++ b/base/src/org/compiere/model/I_PA_DashboardContent.java @@ -119,6 +119,19 @@ public interface I_PA_DashboardContent */ public String getDescription(); + /** Column name GoalDisplay */ + public static final String COLUMNNAME_GoalDisplay = "GoalDisplay"; + + /** Set Goal Display. + * Type of goal display on dashboard + */ + public void setGoalDisplay (String GoalDisplay); + + /** Get Goal Display. + * Type of goal display on dashboard + */ + public String getGoalDisplay(); + /** Column name HTML */ public static final String COLUMNNAME_HTML = "HTML"; diff --git a/base/src/org/compiere/model/X_PA_DashboardContent.java b/base/src/org/compiere/model/X_PA_DashboardContent.java index f550a7ced7..4d2692643c 100644 --- a/base/src/org/compiere/model/X_PA_DashboardContent.java +++ b/base/src/org/compiere/model/X_PA_DashboardContent.java @@ -34,7 +34,7 @@ public class X_PA_DashboardContent extends PO implements I_PA_DashboardContent, /** * */ - private static final long serialVersionUID = 20081221L; + private static final long serialVersionUID = 20090720; /** Standard Constructor */ public X_PA_DashboardContent (Properties ctx, int PA_DashboardContent_ID, String trxName) @@ -153,6 +153,30 @@ public class X_PA_DashboardContent extends PO implements I_PA_DashboardContent, return (String)get_Value(COLUMNNAME_Description); } + /** GoalDisplay AD_Reference_ID=53316 */ + public static final int GOALDISPLAY_AD_Reference_ID=53316; + /** HTML Table = T */ + public static final String GOALDISPLAY_HTMLTable = "T"; + /** Chart = C */ + public static final String GOALDISPLAY_Chart = "C"; + /** Set Goal Display. + @param GoalDisplay + Type of goal display on dashboard + */ + public void setGoalDisplay (String GoalDisplay) + { + + set_Value (COLUMNNAME_GoalDisplay, GoalDisplay); + } + + /** Get Goal Display. + @return Type of goal display on dashboard + */ + public String getGoalDisplay () + { + return (String)get_Value(COLUMNNAME_GoalDisplay); + } + /** Set HTML. @param HTML HTML */ public void setHTML (String HTML)