Hello Experts
Am a bit new to the Crystal Report, am trying to design a Layout for AP Invoice
where i want to bring the JE (Account, Account Name, Debit & Credit) details. am using a Sub Report to Fetch the Data & using only one Parameter DocKey@.
My Problem Is, am not able to get the Account name from OACT to this sub report. It is displaying All GL Accounts.
How can i fix it? I was trying with SQL Command
SELECT T0.[Account], T1.[AcctName], T0.[Debit], T0.[Credit] FROM JDT1 T0 INNER JOIN OACT T1 ON T0.Account = T1.AcctCode but I dont know how to pass say " WHERE T0.[TransId] = ' {?Pm-?Dockey@}"
Whats the Right way to do it?
Thanks a Lot
Sandeep