From 322a82b1c94264f293c90c5ba6a8076051322d87 Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Fri, 4 Jun 2010 07:09:38 +0000 Subject: [PATCH] [ 3010983 ] Function getDocumentType in Doc class should be public Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=3010983 --- base/src/org/compiere/acct/Doc.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/src/org/compiere/acct/Doc.java b/base/src/org/compiere/acct/Doc.java index 80a4c58395..77378e6863 100644 --- a/base/src/org/compiere/acct/Doc.java +++ b/base/src/org/compiere/acct/Doc.java @@ -918,9 +918,9 @@ public abstract class Doc /************************************************************************** * Load Document Type and GL Info. * Set p_DocumentType and p_GL_Category_ID - * @return document type + * @return document type (i.e. C_DocType.DocBaseType) */ - protected String getDocumentType() + public String getDocumentType() { if (m_DocumentType == null) setDocumentType(null);