Commit 645abb51 authored by wansari's avatar wansari

D16JBAS001 update source to check udf_str1 as MIN_RATE_HIST_NO so that rate...

D16JBAS001 update source to check udf_str1  as MIN_RATE_HIST_NO so that rate will not be taken from minimum rate history


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@106295 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a6e5ca16
......@@ -8900,6 +8900,16 @@ public class SalesReturn extends ValidatorEJB implements SalesReturnLocal, Sales
}
}
System.out.println(">>>>>>>>after for loop minRate:"+minRate);
//Changed by wasim on 10-07-2017 for not allow to take rate from min rate hostory [START]
String udfStr1 = checkNull(genericUtility.getColumnValue("udf_str1",dom1));
System.out.println("MIN_RATE_HIST_NO ["+udfStr1+"]");
if("MIN_RATE_HIST_NO".equalsIgnoreCase(udfStr1))
{
minRate = 0;
}
//Changed by wasim on 10-07-2017 for not allow to take rate from min rate hostory [END]
if (minRate == 0)
{
tranDate = tranDate == null ? ( genericUtility.getValidDateString( new Timestamp( System.currentTimeMillis() ).toString(), genericUtility.getDBDateFormat(), genericUtility.getApplDateFormat() ) ).toString() : tranDate;
......
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