IDEMPIERE-3388: Manual posting for reversed invoice throwing posting error (#8)

This commit is contained in:
Deepak Pansheriya 2020-01-08 17:54:56 +05:30 committed by Carlos Ruiz
parent ac94565b3b
commit 0d239fbacf
1 changed files with 1 additions and 0 deletions

View File

@ -129,6 +129,7 @@ public class MMatchInv extends X_M_MatchInv
+" WHERE M_MatchInv.C_InvoiceLine_ID=il.C_InvoiceLine_ID AND il.C_Invoice_ID=?)";
List<MMatchInv> list = new Query(ctx, I_M_MatchInv.Table_Name, whereClause, trxName)
.setParameters(C_Invoice_ID)
.setOrderBy(COLUMNNAME_ProcessedOn)
.list();
return list.toArray (new MMatchInv[list.size()]);
} // getInvoice