Commit 713d6186 authored by smanohar's avatar smanohar

Unnecessary commented parts of code removed

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@215959 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e909e4b2
......@@ -2517,16 +2517,6 @@ public class UnpostFin extends ProcessEJB
mainStr= begDesc +oDescr + " " + trace + endDesc;
//System.out.println("mainStr 1 [" + mainStr + "]");
/*
String begPart = errString.substring(0,errString.indexOf("<message>")+9);
String begDesc = errString.substring(0,errString.indexOf("<description>")+13);
String endDesc = errString.substring(errString.indexOf("</description>"));
mainStr= begPart + trace + " </message><description>";
mainStr= mainStr+endDesc;
begPart = null;
*/
itmDBAccessEJB = null;
}
catch(Exception e)
......@@ -2981,91 +2971,6 @@ public class UnpostFin extends ProcessEJB
rs1=null;
}
//end [MONIKA SALLA]
/* sql = "update porddet set dlv_qty = dlv_qty - ? "
+ " where purc_order = ? and line_no = ? ";
pstmtUpd = conn.prepareStatement(sql);
pstmtUpd.setDouble(1, quantity);
pstmtUpd.setString(2, porder);
pstmtUpd.setString(3, lineNoOrd);
count = pstmtUpd.executeUpdate();
if (count != 1)
{
errCode = "DS000NR";
errString = getMsg("Update purchase order detail failed ",errCode, conn);
break;
}
pstmtUpd=null;
pstmtUpd.close();
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;*/
/* sql = "update stock set quantity = quantity - ? "
+ " where item_code = ? "
+ " and site_code = ? "
+ " and loc_code = ? "
+ " and lot_no = ? "
+ " and lot_sl = ? ";
pstmtUpd = conn.prepareStatement(sql);
pstmtUpd.setDouble(1, quantity);
pstmtUpd.setString(2, itemCode);
pstmtUpd.setString(3, siteCode);
pstmtUpd.setString(4, locCode);
pstmtUpd.setString(5, lotNo);
pstmtUpd.setString(6, lotSl);
count = pstmtUpd.executeUpdate();
if (count != 1)
{
errCode = "DS000NR";
errString = getMsg("Update stock order detail failed ",errCode, conn);
break;
}*/
/*}
rs1.close();
rs1 = null;
pstmt1.close();
pstmt1 = null;
sql = "delete from invtrace where ref_ser = ? and ref_id = ? ";
pstmtUpd = conn.prepareStatement(sql);
pstmtUpd.setString(1, refSer);
pstmtUpd.setString(2, refId);
count = pstmtUpd.executeUpdate();
if (count <= 0)
{
errCode = "DS000NR";
errString = getMsg("Deleting invtrace failed ",errCode, conn);
isError = true;
return errString;
}
sql = " update porcp set qc_reqd = 'N' where tran_id = ? ";
pstmtUpd = conn.prepareStatement(sql);
pstmtUpd.setString(1, refId);
count = pstmtUpd.executeUpdate();
if (count != 1)
{
errCode = "DS000NR";
errString = getMsg("Update purchase receipt failed ",errCode, conn);
isError = true;
return errString;
}*/
//}
}
......
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