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

Re: convert Rows as Column

$
0
0

Ok Deepak,

 

Try this one. I just added ItemCode here.

 

Select T0.NumAtCard,T0.DOCNUM AS

'ExInvoiceNo',CONVERT(VARCHAR(11), t0.docdate, 101) AS Posting_date,T12.FormNo,T0.U_VHCLNo,

T0.DOCTOTAL,T1.SubCatnum AS 'PartNo.',T1.ItemCode, T1.Quantity

from OINV T0

INNER JOIN INV1 T1 on T0.Docentry=T1.Docentry

INNER JOIN INV12 on T0.DocEntry=T12.DocEntry

where T0.DOCNUM >='[%0]' and t0.docnum <= '[%1]'

 

Thanks!


Viewing all articles
Browse latest Browse all 2067

Trending Articles



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