Commit 2553ab31 authored by mchauhan's avatar mchauhan

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@205392 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 3e223388
...@@ -2823,6 +2823,7 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch ...@@ -2823,6 +2823,7 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch
{ {
priceList = checkNull(rs.getString("price_list")); priceList = checkNull(rs.getString("price_list"));
priceListDisc = checkNull(rs.getString("price_list__disc")); priceListDisc = checkNull(rs.getString("price_list__disc"));
} }
rs.close(); rs.close();
rs = null; rs = null;
...@@ -2831,7 +2832,9 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch ...@@ -2831,7 +2832,9 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch
priceListType= distCommon.getPriceListType(priceList, conn); priceListType= distCommon.getPriceListType(priceList, conn);
if(priceListDisc==null||priceListDisc.trim().length()==0) if(priceListDisc==null||priceListDisc.trim().length()==0)
{ {
if( rate <= 0 && ( "C".equalsIgnoreCase(lineType) ) && "B".equalsIgnoreCase(priceListType)) //Commented By Mukesh Chauhan
/*if( rate <= 0 && ( "C".equalsIgnoreCase(lineType) ) && "B".equalsIgnoreCase(priceListType))*/
if( rate <= 0 && ( "C".equalsIgnoreCase(lineType)))//END
{ {
errCode = "VTRATE1"; errCode = "VTRATE1";
errList.add(errCode); errList.add(errCode);
......
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