IDEMPIERE-3062 Unable to complete MR with qty >1 with Attribute Set of Always Mandatory (#659)
Fix wrong query on M_InoutLineMA
This commit is contained in:
parent
c0927beaa4
commit
73f0cea85a
|
@ -1197,7 +1197,7 @@ public class MInOut extends X_M_InOut implements DocAction
|
||||||
BigDecimal qtyDiff = line.getMovementQty();
|
BigDecimal qtyDiff = line.getMovementQty();
|
||||||
// verify if the ASIs are captured on lineMA
|
// verify if the ASIs are captured on lineMA
|
||||||
MInOutLineMA mas[] = MInOutLineMA.get(getCtx(),
|
MInOutLineMA mas[] = MInOutLineMA.get(getCtx(),
|
||||||
line.getM_InOut_ID(), get_TrxName());
|
line.getM_InOutLine_ID(), get_TrxName());
|
||||||
BigDecimal qtyma = Env.ZERO;
|
BigDecimal qtyma = Env.ZERO;
|
||||||
for (MInOutLineMA ma : mas) {
|
for (MInOutLineMA ma : mas) {
|
||||||
if (! ma.isAutoGenerated()) {
|
if (! ma.isAutoGenerated()) {
|
||||||
|
|
Loading…
Reference in New Issue