Hi,
Try this query:
SELECT T0.[DocNum], T0.[DocDate], T0.[CardCode], T0.[CardName], T1.[SlpName] FROM OINV T0 INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode WHERE T1.[SlpCode] = '28' and T0.[DocDate] = CONVERT(VARCHAR(10),GETDATE(),110)
I don't think your OCRD table in your query.
Thanks & Regards,
Nagarajan