Commit 99ce8416 authored by pchavan's avatar pchavan

On confirm item is maintain from lot no and lot sl then lot no can not be blank.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@200921 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 49ed6598
...@@ -1375,6 +1375,7 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp ...@@ -1375,6 +1375,7 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
HashMap lockCodeWiseMap = new HashMap(), tempMap = null; HashMap lockCodeWiseMap = new HashMap(), tempMap = null;
String lockGroup = "", lockCode = "", tempLockGroup = "", tempLockCode = "", qcReqd = "N", tempTranId = ""; String lockGroup = "", lockCode = "", tempLockGroup = "", tempLockCode = "", qcReqd = "N", tempTranId = "";
String locCodeGit = ""; String locCodeGit = "";
String stockOption = "", qcReq = ""; //Added By Priyanka on 16MAY2019
try try
{ {
DistCommon distCommon = new DistCommon(); DistCommon distCommon = new DistCommon();
...@@ -1620,6 +1621,30 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp ...@@ -1620,6 +1621,30 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
* //Added by Sagar M. on 06/05/14 end * //Added by Sagar M. on 06/05/14 end
*/// comment by sagar on 24/07/14 */// comment by sagar on 24/07/14
// added by sagar on 24/07/14 // added by sagar on 24/07/14
//Added By PriyankaC on 16May2019.[Start]
sql = "select stk_opt, qc_reqd from item where item_code = ? ";
pstmt1 = conn.prepareStatement(sql);
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;
//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= ? ";
pstmt1 = conn.prepareStatement(sql); pstmt1 = conn.prepareStatement(sql);
......
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