Commit 979656dc authored by kdabholkar's avatar kdabholkar

commited new changes related rate

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@173934 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 78f8c5a8
...@@ -11374,7 +11374,7 @@ public class DistCommon ...@@ -11374,7 +11374,7 @@ public class DistCommon
sql = "select unit from item where item_code = ?"; sql = "select unit from item where item_code = ?";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1, pricelist); pstmt.setString(1, itemCode);
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
if (rs.next()) if (rs.next())
{ {
...@@ -11459,7 +11459,8 @@ public class DistCommon ...@@ -11459,7 +11459,8 @@ public class DistCommon
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
if (rs.next()) if (rs.next())
{ {
lsRefNo = rs.getString("ref_no"); lsRefNo = checkNull(rs.getString(1));
//lsRefNo = rs.getString(1);
} }
rs.close(); rs.close();
rs = null; rs = null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment