diff --git a/base/src/org/compiere/model/MGLCategory.java b/base/src/org/compiere/model/MGLCategory.java index 7c4f279564..b86120ab03 100644 --- a/base/src/org/compiere/model/MGLCategory.java +++ b/base/src/org/compiere/model/MGLCategory.java @@ -163,5 +163,15 @@ public class MGLCategory extends X_GL_Category { super(ctx, rs, trxName); } // MGLCategory - + + @Override + public String toString() + { + return getClass().getSimpleName()+"["+get_ID() + +", Name="+getName() + +", IsDefault="+isDefault() + +", IsActive="+isActive() + +", CategoryType="+getCategoryType() + +"]"; + } } // MGLCategory diff --git a/base/src/org/compiere/model/MTaxCategory.java b/base/src/org/compiere/model/MTaxCategory.java index 314a9667c9..fed8a9e223 100644 --- a/base/src/org/compiere/model/MTaxCategory.java +++ b/base/src/org/compiere/model/MTaxCategory.java @@ -86,4 +86,14 @@ public class MTaxCategory extends X_C_TaxCategory return m_tax; } // getDefaultTax + + @Override + public String toString() + { + return getClass().getSimpleName()+"["+get_ID() + +", Name="+getName() + +", IsDefault="+isDefault() + +", IsActive="+isActive() + +"]"; + } } // MTaxCategory