Hi i have one session where i've Maintained values like, if my value
upto 10000 - 1,
upto 50000 - 3 ,
upto 99999999(greater than 50000) - 5
For example:
I have an value of 118795. It's greater than 50000 so it has to take value of 5. But its taking 3. Below is logic i have used
select tiesc071.*
from tiesc071
where tiesc071._index1 = {:efdt,:tiesc062.crit}
and tiesc071.risk >= :tiesc062.cval
order by tiesc071.risk
as set with 1 rows
selectdo
invl = tiesc071.rval
endselect
For other values it's working only amount's greater than 100000 not working
upto 10000 - 1,
upto 50000 - 3 ,
upto 99999999(greater than 50000) - 5
For example:
I have an value of 118795. It's greater than 50000 so it has to take value of 5. But its taking 3. Below is logic i have used
select tiesc071.*
from tiesc071
where tiesc071._index1 = {:efdt,:tiesc062.crit}
and tiesc071.risk >= :tiesc062.cval
order by tiesc071.risk
as set with 1 rows
selectdo
invl = tiesc071.rval
endselect
For other values it's working only amount's greater than 100000 not working