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:
Carlos Ruiz 2021-04-21 15:39:23 +02:00 committed by GitHub
parent c0927beaa4
commit 73f0cea85a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1197,7 +1197,7 @@ public class MInOut extends X_M_InOut implements DocAction
BigDecimal qtyDiff = line.getMovementQty();
// verify if the ASIs are captured on lineMA
MInOutLineMA mas[] = MInOutLineMA.get(getCtx(),
line.getM_InOut_ID(), get_TrxName());
line.getM_InOutLine_ID(), get_TrxName());
BigDecimal qtyma = Env.ZERO;
for (MInOutLineMA ma : mas) {
if (! ma.isAutoGenerated()) {