Commit 7a408fa4 authored by pchavan's avatar pchavan

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@200925 ce508802-f39f-4f6c-b175-0d175dae99d5
parent dd6c1615
...@@ -1623,27 +1623,31 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp ...@@ -1623,27 +1623,31 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
// added by sagar on 24/07/14 // added by sagar on 24/07/14
//Added By PriyankaC on 16May2019.[Start] //Added By PriyankaC on 16May2019.[Start]
sql = "select stk_opt, qc_reqd from item where item_code = ? "; System.out .println("Value of lotNo in Detail: "+lotNo );
pstmt1 = conn.prepareStatement(sql); if(lotNo == null && lotNo.trim().length() == 0)
pstmt1.setString(1, itemCode);
rs1 = pstmt1.executeQuery();
if (rs1.next())
{
stockOption = rs1.getString("stk_opt");
qcReq = rs1.getString("qc_reqd");
}
System.out .println("Stock and Qc value : "+stockOption +" : "+qcReq);
if("2".equalsIgnoreCase(stockOption) && "N".equalsIgnoreCase(qcReq) )
{ {
System.out .println("Stock and Qc value in : "+stockOption); sql = "select stk_opt, qc_reqd from item where item_code = ? ";
errString = itmDBAccessLocal.getErrorString("", "VMTOLOTNO", "","",conn); pstmt1 = conn.prepareStatement(sql);
break; pstmt1.setString(1, itemCode);
rs1 = pstmt1.executeQuery();
if (rs1.next())
{
stockOption = rs1.getString("stk_opt");
qcReq = rs1.getString("qc_reqd");
}
System.out .println("Stock and Qc value : "+stockOption +" : "+qcReq);
if("2".equalsIgnoreCase(stockOption) && "N".equalsIgnoreCase(qcReq) )
{
System.out .println("Stock and Qc value in : "+stockOption);
errString = itmDBAccessLocal.getErrorString("", "VMTOLOTNO", "","",conn);
break;
}
pstmt1.close();
pstmt1 = null;
rs1.close();
rs1 = null;
} }
pstmt1.close();
pstmt1 = null;
rs1.close();
rs1 = null;
//Added By PriyankaC on 16MAY2019 [END] //Added By PriyankaC on 16MAY2019 [END]
lockGroup = ""; lockGroup = "";
sql = "select lock_group from itemmnfr where item_code= ? "; sql = "select lock_group from itemmnfr where item_code= ? ";
......
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