Commit bedb1144 authored by sshinde's avatar sshinde

Change Logic for Lot No


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93661 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 2598644b
......@@ -4352,7 +4352,7 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
System.out.println("generatedTranId is :"+generatedTranId);
System.out.println("outer hash key:"+Integer.parseInt(entry.getKey().toString()));
lotNoMap.put(Integer.parseInt(entry.getKey().toString()), tg.generateTranSeqID("QC-ORD", "lot_no", keyStr, conn));
//lotNoMap.put(Integer.parseInt(entry.getKey().toString()), tg.generateTranSeqID("QC-ORD", "lot_no", keyStr, conn));
if (("ERROR").equalsIgnoreCase(lotNoMap.get(Integer.parseInt(entry.getKey().toString()))))
{
......@@ -4403,7 +4403,7 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
if(expDate!=null)
{
pstmtRbHdr.setTimestamp(14, expDate);
pstmtRbHdr.setTimestamp(14, expDate);
}
else
{
......@@ -4414,6 +4414,10 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
if( lotNo!=null )
{
pstmtRbHdr.setString(19,lotNo);
lotNoMap.put(Integer.parseInt(entry.getKey().toString()),lotNo);
pstmtRbHdr.setString(19, lotNoMap.get(Integer.parseInt(entry.getKey().toString())));
}
else
{
......@@ -5148,7 +5152,6 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
pstmt1 = null;
rs1.close();
rs1 = null;
sql = "SELECT ITEM_CODE__ORD, QUANTITY, EXP_LEV , QTY_ALLOC FROM SORDITEM WHERE SALE_ORDER = ? AND TRIM(LINE_NO)= ? AND LINE_TYPE = 'I'";
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