Hi I wrote an SQL Statement in x++. This Statement should return the firstonly record ordered ascending by the inventsizeid
Now inventsizeid is a string value and so return the wrong value.
e.g. I do have records with inventsizeid 7.5 8.5 9 9.5 and 10
the Statement should return 7.5 but returns 10 as lowest value….and 9.5 as highest.
How can I get the correct results?
Is it possible to use conversion str2num in order by Expression?