Commit 61fd18ae authored by cpandey's avatar cpandey

changes condition for approved indent number


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92151 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b60f4f65
...@@ -177,7 +177,7 @@ implements BillofQuantityICLocal, BillofQuantityICRemote ...@@ -177,7 +177,7 @@ implements BillofQuantityICLocal, BillofQuantityICRemote
rs = null; rs = null;
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
if("A".equalsIgnoreCase(status.trim())) if(!("A".equalsIgnoreCase(status.trim())))
{ {
errCode = "VTINDNONAP"; errCode = "VTINDNONAP";
errList.add(errCode); errList.add(errCode);
...@@ -515,7 +515,6 @@ implements BillofQuantityICLocal, BillofQuantityICRemote ...@@ -515,7 +515,6 @@ implements BillofQuantityICLocal, BillofQuantityICRemote
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
} }
} }
} }
//end of changes on 05/11/12 //end of changes on 05/11/12
else if (childNodeName.trim().equalsIgnoreCase("unit__rate")) else if (childNodeName.trim().equalsIgnoreCase("unit__rate"))
...@@ -893,7 +892,7 @@ implements BillofQuantityICLocal, BillofQuantityICRemote ...@@ -893,7 +892,7 @@ implements BillofQuantityICLocal, BillofQuantityICRemote
{ {
valueXmlString.append("<status_date >").append("<![CDATA["+sdf.format(statusDate)+"]]>").append("</status_date>"); valueXmlString.append("<status_date >").append("<![CDATA["+sdf.format(statusDate)+"]]>").append("</status_date>");
} }
sql = "select descr ,item_ser ,unit__rate from item where item_code = ?"; sql = "select descr ,item_ser ,unit ,unit__rate from item where item_code = ?";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1, itemCode); pstmt.setString(1, itemCode);
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
......
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