I've problem with an if in a query.
In particular when the select field SS (special stock declared as selection criteria) hasn't values, the 2nd if doesn't work (if... SS is initial).
I've debbugged the query, the SS is empty but the program jump the 2nd if and goes directly to endif,
Where is the mistake?
Thanks and regards.