Hi List,
when I wrote a BSSV with a select on a table, I had a stange behaviour and found out that brackets are set wrong by JDE when using an OR in a where clause. To simplyfy everything, I wrote an additional Test BSSV with the same behaviour. For this example it just shall do
SELECT F0005.KY, F0005.DL01, F0005.DL02
FROM F0005
WHERE F0005.SY=sysvar1 AND F0005.RT=rtvar1 OR F0005.SY=sysvar2 AND F0005.RT=rtvar2
ORDER BY F0005.SY ASC, F0005.RT ASC, F0005.KY ASC
I used the JDE expression...
Read more
when I wrote a BSSV with a select on a table, I had a stange behaviour and found out that brackets are set wrong by JDE when using an OR in a where clause. To simplyfy everything, I wrote an additional Test BSSV with the same behaviour. For this example it just shall do
SELECT F0005.KY, F0005.DL01, F0005.DL02
FROM F0005
WHERE F0005.SY=sysvar1 AND F0005.RT=rtvar1 OR F0005.SY=sysvar2 AND F0005.RT=rtvar2
ORDER BY F0005.SY ASC, F0005.RT ASC, F0005.KY ASC
I used the JDE expression...
Read more