Commit 4d7b161c authored by kmandhre's avatar kmandhre

change in pickRate() method


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92236 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 290a3f9b
...@@ -3234,6 +3234,7 @@ public class DistCommon ...@@ -3234,6 +3234,7 @@ public class DistCommon
double rate = 0.0; double rate = 0.0;
double conv = 0; double conv = 0;
int cnt = 0; int cnt = 0;
String tempDate = trDate;
type = getPriceListType(priceList,conn); type = getPriceListType(priceList,conn);
try try
...@@ -3350,7 +3351,11 @@ public class DistCommon ...@@ -3350,7 +3351,11 @@ public class DistCommon
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
rs2 = null; rs2 = null;
return -1; rate = pickRate(priceListParent,tempDate,itemCode,aLotNo,listType, quantity,conn);
return rate;
//return -1; //change done by kunal on 29/11/12 as per Manoj Sharma instruction
} }
}//try 3 }//try 3
catch(Exception e) catch(Exception e)
......
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