Fix [ 1951878 ] Warning on Initial Client Setup

This commit is contained in:
Carlos Ruiz 2008-04-25 20:11:17 +00:00
parent 1a8fae01b2
commit df60069575
1 changed files with 2 additions and 2 deletions

View File

@ -226,8 +226,8 @@ public class MElementValue extends X_C_ElementValue
if (newRecord)
{
// afalcone [Bugs #1837219]
int ad_Tree_ID= (new MElement(getCtx(), getC_Element_ID(), null)).getAD_Tree_ID();
String treeType= (new MTree(getCtx(),ad_Tree_ID,null)).getTreeType();
int ad_Tree_ID= (new MElement(getCtx(), getC_Element_ID(), get_TrxName())).getAD_Tree_ID();
String treeType= (new MTree(getCtx(),ad_Tree_ID,get_TrxName())).getTreeType();
insert_Tree(treeType, getC_Element_ID());
// insert_Tree(MTree_Base.TREETYPE_ElementValue, getC_Element_ID()); Old