Peter ,
I just modified that code as follows ,but it is not working.It is also trigger the approval procedure for the excluded suppliers too.
SELECT distinct 'TRUE' FROM OPDN T0 INNER JOIN PDN1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode where T2.ItmsGrpCod = 104 and T1.ItemCode=$[$38.1.0] AND T0.CardCode NOT IN ('S00154','S00318','S00031','S00034')