Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9369

Help on Ledger query report

$
0
0


Hi All

 

Please help me in query report wherein I want to have all the entries where account name has TDS in it.

 

 

T0.[TransId],T0.[BtfStatus],T0.[TransType],T0.[BaseRef],T0.[RefDate],T0.[Memo],


.[Ref1],T0.[Ref2],T0.[Ref2],T0.[Number],T1.[Line_ID],T1.[Account],T2.CardName,T3.AcctName,T1.[ShortName],


.[Debit],T1.[Credit]FROMOJDTT0  INNERJOINJDT1T1ONT0.TransId=T1.TransId 


JOINOCRDT2ONT1.[Account]=T2.[CardCode] 


JOINOACTT3ON  T1.[Account]=T3.[AcctCode]  WHERET0.[RefDate]='20140331'


  T0.[TransId]=(SelectT0.[TransId]fromJDT1whereT3.AcctNameLIKE'%TDS%')

 

 

But the above query gives only that line which has this account name but I want to have complete it (i.e. the corresponding accounts also which has been debited or credit with this account).

 

 

Thanks In Advance

 

 

Thanks & Regards

 

Preeti


Viewing all articles
Browse latest Browse all 9369

Trending Articles



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