Commit 70c106f5 authored by asikarwar's avatar asikarwar

add validation for cancel boq


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92972 ce508802-f39f-4f6c-b175-0d175dae99d5
parent bd75e6a0
......@@ -171,7 +171,7 @@ implements BillofQuantityICLocal, BillofQuantityICRemote
//added by cpandey validation for duplicate entry of indent no in boqhdr on 07/03/13
if("A".equalsIgnoreCase(editFlag))
{
sql = "select count(*) from boqhdr where indent_no = ?";
sql = "select count(*) from boqhdr where status != 'X' and indent_no = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, indentNo);
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