Commit 14a49721 authored by msharma's avatar msharma

Get BOQ id from header screen to get boq details


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92827 ce508802-f39f-4f6c-b175-0d175dae99d5
parent db6c621b
......@@ -153,15 +153,15 @@ implements BillofQuantityActLocal, BillofQuantityActRemote
System.out.println("loginSite---->>>["+loginSite+"]------>>>>>");
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
itemCode = genericUtility.getColumnValue("item_code", dom);
boqId = genericUtility.getColumnValue("boq_id", dom1);
boqId = genericUtility.getColumnValue("tran_id__boq", dom1);
System.out.println("item code = " + itemCode+"indent no -->>"+indentNo+"boq id-->> "+boqId);
conn = connDriver.getConnectDB("DriverITM");
//changes for temp test
sql = "select confirmed from boqhdr where item_code = ?";
sql = "select confirmed from boqhdr where tran_id = ?";
pstmt = conn.prepareStatement(sql);
//dItemCode
pstmt.setString(1, itemCode);
pstmt.setString(1, boqId);
rs = pstmt.executeQuery();
if(rs.next())
{
......
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