Quantcast
Channel: Baanboard.com
Viewing all articles
Browse latest Browse all 4216

Setting Values

$
0
0
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

Attached Images
File Type: png Values.png (14.5 KB)

Viewing all articles
Browse latest Browse all 4216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>