Commit c2533b91 authored by manohar's avatar manohar

unnecessary old code for duplicate item checking and max(tran_id) in header commentd


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91235 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 8accdf03
...@@ -364,6 +364,7 @@ public class CustStockItem extends ValidatorEJB //implements SessionBean ...@@ -364,6 +364,7 @@ public class CustStockItem extends ValidatorEJB //implements SessionBean
StringBuffer sql5 = null; StringBuffer sql5 = null;
custCode = genericUtility.getColumnValue("cust_code",dom); custCode = genericUtility.getColumnValue("cust_code",dom);
itemSer = genericUtility.getColumnValue("item_ser",dom); itemSer = genericUtility.getColumnValue("item_ser",dom);
/* // 03/03/10 manoharan not used the tran_id just selected
if (checkNextCol) if (checkNextCol)
{ {
//changed for dynamic binding on 190309 //changed for dynamic binding on 190309
...@@ -419,7 +420,7 @@ public class CustStockItem extends ValidatorEJB //implements SessionBean ...@@ -419,7 +420,7 @@ public class CustStockItem extends ValidatorEJB //implements SessionBean
rs5 = null; rs5 = null;
stmt5.close(); stmt5.close();
stmt5 = null; stmt5 = null;
} } */ // 03/03/10 manoharan
} }
columnValue = genericUtility.getColumnValue("to_date",dom); columnValue = genericUtility.getColumnValue("to_date",dom);
if (columnValue != null) if (columnValue != null)
...@@ -769,7 +770,7 @@ public class CustStockItem extends ValidatorEJB //implements SessionBean ...@@ -769,7 +770,7 @@ public class CustStockItem extends ValidatorEJB //implements SessionBean
} }
} }
//validation for duplicate item in detail end //validation for duplicate item in detail end
/* // 03/03/10 manoharan duplicate checking already done
selQueryBuff = new StringBuffer(); selQueryBuff = new StringBuffer();
//for dynamic binding 190309 //for dynamic binding 190309
...@@ -850,6 +851,7 @@ public class CustStockItem extends ValidatorEJB //implements SessionBean ...@@ -850,6 +851,7 @@ public class CustStockItem extends ValidatorEJB //implements SessionBean
// errString = getErrorString("item_code",errCode,userId); // errString = getErrorString("item_code",errCode,userId);
// checkNextCol = false; // checkNextCol = false;
//} //}
*/ // 03/03/10 manoharan duplicate item checking already done before
} }
} }
columnValue = genericUtility.getColumnValue("cl_stock",dom); columnValue = genericUtility.getColumnValue("cl_stock",dom);
......
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