IDEMPIERE-355 Fact Acct from GL Journal uses category from doctype instead of journal
This commit is contained in:
parent
7f8ab75983
commit
a3e4c6cf08
|
@ -1581,6 +1581,13 @@ public abstract class Doc
|
||||||
*/
|
*/
|
||||||
public int getGL_Category_ID()
|
public int getGL_Category_ID()
|
||||||
{
|
{
|
||||||
|
int index = p_po.get_ColumnIndex("GL_Category_ID");
|
||||||
|
if (index != -1)
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)p_po.get_Value(index);
|
||||||
|
if (ii != null)
|
||||||
|
return ii.intValue();
|
||||||
|
}
|
||||||
return m_GL_Category_ID;
|
return m_GL_Category_ID;
|
||||||
} // getGL_Category_ID
|
} // getGL_Category_ID
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue