Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 9169

Crystal Report Where Condition in Command

$
0
0

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


Viewing all articles
Browse latest Browse all 9169

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>