Hi
I have below query and i am getting error - Aggregate function not allowed
SELECT T1."TransId", Max(T1."RefDate") FROM OJDT T0 INNER JOIN JDT1 T1 ON T0."TransId" = T1."TransId" WHERE (Select Count(T1."BPLId") from JDT1 A1 where A1."TransId" = T1."TransId") > 0 group By T1."TransId"
Thanks