MCost - apply best practices - use firstOnly instead of first
This commit is contained in:
parent
89bb37d216
commit
07ec27d080
|
@ -1295,7 +1295,7 @@ public class MCost extends X_M_Cost
|
|||
as.getM_CostType_ID(),
|
||||
as.getC_AcctSchema_ID(),
|
||||
M_CostElement_ID})
|
||||
.first();
|
||||
.firstOnly();
|
||||
//FR: [ 2214883 ] - end -
|
||||
// New
|
||||
if (cost == null)
|
||||
|
|
Loading…
Reference in New Issue