fixed [ 1745790 ] Error when try copy commission
http://sourceforge.net/tracker/index.php?func=detail&aid=1745790&group_id=176962&atid=879332
This commit is contained in:
parent
036e0729fd
commit
d6b1908660
|
@ -131,7 +131,6 @@ public class MCommission extends X_C_Commission
|
||||||
MCommissionLine line = new MCommissionLine (getCtx(), 0, get_TrxName());
|
MCommissionLine line = new MCommissionLine (getCtx(), 0, get_TrxName());
|
||||||
PO.copyValues(fromLines[i], line, getAD_Client_ID(), getAD_Org_ID());
|
PO.copyValues(fromLines[i], line, getAD_Client_ID(), getAD_Org_ID());
|
||||||
line.setC_Commission_ID (getC_Commission_ID());
|
line.setC_Commission_ID (getC_Commission_ID());
|
||||||
line.setC_CommissionLine_ID (0); // new
|
|
||||||
if (line.save())
|
if (line.save())
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue