Hi
I am getting error Incorrect Syntax near docentry
SELECT T2."CardCode" , (Select Max(I0."Rate") from DPO5 I0 Where I0."AbsEntry" = (Select I1."BaseAbs" from PCH9 I1 where I1."DocEntry” = T2."DocEntry")) from opch t2
Thanks