IDEMPIERE-5084 SQL error in MPaymentTransaction.getAuthorizationPaymentTransactionIDs method (#1036)
This commit is contained in:
parent
5c2effc554
commit
6637f549d7
|
@ -657,7 +657,7 @@ public class MPaymentTransaction extends X_C_PaymentTransaction implements Proce
|
|||
if (orderIDs.length() > 0 && C_Invoice_ID > 0)
|
||||
whereClause.append(" AND (C_Order_ID IN (").append(orderIDs).append(") OR C_Invoice_ID=").append(C_Invoice_ID).append(")");
|
||||
else if (orderIDs.length() > 0)
|
||||
whereClause.append(" AND C_Order_ID IN ('").append(orderIDs).append(")");
|
||||
whereClause.append(" AND C_Order_ID IN (").append(orderIDs).append(")");
|
||||
else if (C_Invoice_ID > 0)
|
||||
whereClause.append(" AND C_Invoice_ID=").append(C_Invoice_ID);
|
||||
whereClause.append(" AND IsApproved='Y' AND IsVoided='N' AND IsDelayedCapture='N' ");
|
||||
|
|
Loading…
Reference in New Issue