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
rs = null;
pstmt.close();
pstmt = null;
if("A".equalsIgnoreCase(status.trim()))
if(!("A".equalsIgnoreCase(status.trim())))
{
errCode = "VTINDNONAP";
errList.add(errCode);
......@@ -515,7 +515,6 @@ implements BillofQuantityICLocal, BillofQuantityICRemote
errFields.add(childNodeName.toLowerCase());
}
}
}
//end of changes on 05/11/12
else if (childNodeName.trim().equalsIgnoreCase("unit__rate"))
......@@ -893,7 +892,7 @@ implements BillofQuantityICLocal, BillofQuantityICRemote
{
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.setString(1, itemCode);
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