Hi.
Currently the default series when we creates Purchase request is 'Primary'. But now I need to separate it if IT department then they need to use 'Indirect' series that I already created. Right now my user need to manually select the series and sometimes they forgot to choose 'Indirect'.

can someone help me the formatted search query? i am using below query but its not working
SELECT T0.Series
FROM OPRQ T0
WHERE T0.DocEntry = $[OPRQ.DocEntry]
AND T0.department = '15'