Hi Experts
I need Query Based Alert for sales order .
when Sum of Quantity reaches 55500 when process equal to some X process in a particular month then it should pop an Alert
Ex:
SELECT SUM(T1.[Quantity]) FROM ORDR T0 INNER JOIN RDR1 T1 on T0.DocEntry = T1.DocEntry
WHERE T0.[U_Process] = 'PEACHING' and T0.[DocDate] = (Select getdate()) AND SUM(T1.[Quantity]) = '555000'
So please make changes for this query or write a new query please do needful
Regards
Jenny