Unfortunately this does not work. It give and error that says cannot commit transaction Error -1.
If I try to use:
SELECT 'TRUE'
WHERE $[OPOR.DocTotal] > ‘200’ and $[OPOR.DocType] = 'S'
Then it automatically process PO < 200 and asks for approval for any PO >/= 200 up until 999 after which it automatically approves them again until you get too 2001.