Fix [ 1951878 ] Warning on Initial Client Setup
This commit is contained in:
parent
1a8fae01b2
commit
df60069575
|
@ -226,8 +226,8 @@ public class MElementValue extends X_C_ElementValue
|
||||||
if (newRecord)
|
if (newRecord)
|
||||||
{
|
{
|
||||||
// afalcone [Bugs #1837219]
|
// afalcone [Bugs #1837219]
|
||||||
int ad_Tree_ID= (new MElement(getCtx(), getC_Element_ID(), null)).getAD_Tree_ID();
|
int ad_Tree_ID= (new MElement(getCtx(), getC_Element_ID(), get_TrxName())).getAD_Tree_ID();
|
||||||
String treeType= (new MTree(getCtx(),ad_Tree_ID,null)).getTreeType();
|
String treeType= (new MTree(getCtx(),ad_Tree_ID,get_TrxName())).getTreeType();
|
||||||
insert_Tree(treeType, getC_Element_ID());
|
insert_Tree(treeType, getC_Element_ID());
|
||||||
// insert_Tree(MTree_Base.TREETYPE_ElementValue, getC_Element_ID()); Old
|
// insert_Tree(MTree_Base.TREETYPE_ElementValue, getC_Element_ID()); Old
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue