IDEMPIERE-5098 MCost.get: new MCost created without trxName (#1048)
This commit is contained in:
parent
e5344194a3
commit
1eedd3f5a6
|
|
@ -1378,8 +1378,11 @@ public class MCost extends X_M_Cost
|
||||||
//FR: [ 2214883 ] - end -
|
//FR: [ 2214883 ] - end -
|
||||||
// New
|
// New
|
||||||
if (cost == null)
|
if (cost == null)
|
||||||
|
{
|
||||||
cost = new MCost (product, M_AttributeSetInstance_ID,
|
cost = new MCost (product, M_AttributeSetInstance_ID,
|
||||||
as, AD_Org_ID, M_CostElement_ID);
|
as, AD_Org_ID, M_CostElement_ID);
|
||||||
|
cost.set_TrxName(trxName);
|
||||||
|
}
|
||||||
return cost;
|
return cost;
|
||||||
} // get
|
} // get
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue