Commit 4b7af69c authored by ngadkari's avatar ngadkari

new scheme auto add functionality

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@197109 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 7c6aac3f
......@@ -336,7 +336,11 @@ public class SaleOrderPostSave extends ValidatorEJB implements SaleOrderPostSave
{
priceList = (distCommon.getDisparams( "999999", "MRP", conn ));
if(priceList ==null || priceList.trim().length() ==0 || priceList.equalsIgnoreCase("NULLFOUND"))
{
priceList = (genericUtility.getColumnValue("price_list", dom));
}
lsListType = distCommon.getPriceListType(priceList, conn);
freeBalOrdPerStr = distCommon.getDisparams( "999999", "FREE_BAL_ORD_PER", conn );
if(freeBalOrdPerStr==null || freeBalOrdPerStr.trim().length() ==0 || freeBalOrdPerStr.equalsIgnoreCase("NULLFOUND"))
{
......@@ -429,14 +433,6 @@ public class SaleOrderPostSave extends ValidatorEJB implements SaleOrderPostSave
unitSal = unit;
}
if(priceList ==null || priceList.trim().length() ==0 || priceList.equalsIgnoreCase("NULLFOUND"))
{
priceList = (genericUtility.getColumnValue("price_list", dom));
}
lsListType = distCommon.getPriceListType(priceList, conn);
sql = "select count(1) as llPlcount from pricelist where price_list=?"
+ " and item_code= ? and unit= ? and list_type=? and eff_from<=? and valid_upto >=? and min_qty<=? and max_qty>= ?"
+ " and (ref_no is not null)";
......
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