From 003ff7f80224fb6e60771f402ed038876961b90e Mon Sep 17 00:00:00 2001 From: Gopi Katwala Date: Wed, 17 Jul 2019 11:11:27 -0400 Subject: [PATCH] Fixed getPreviuoslyBilledAmt --- AstuteSystem/src/main/java/com/astute/dao/SqlDAO.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AstuteSystem/src/main/java/com/astute/dao/SqlDAO.java b/AstuteSystem/src/main/java/com/astute/dao/SqlDAO.java index 57292fa..8834844 100644 --- a/AstuteSystem/src/main/java/com/astute/dao/SqlDAO.java +++ b/AstuteSystem/src/main/java/com/astute/dao/SqlDAO.java @@ -413,7 +413,7 @@ public class SqlDAO extends DAO { // TODO remainingQuantity not used, need to take it out from signature System.out.println("Calling create_po_detail Procedure"); double billAmt=0.0; - CallableStatement stmt = conn.prepareCall("{call get_previously_billed_amt(?,?)}"); + CallableStatement stmt = conn.prepareCall("{? = call get_previously_billed_amt(?,?)}"); stmt.registerOutParameter(1,Types.DOUBLE); stmt.setString(2, poNum); stmt.setString(3, invoiceNumber);