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

Re: Query to show A/R INVOICE

$
0
0

Hi,

 

Try this query:

 

SELECT T0.[CardCode] AS 'Customer/Vendor Code', T0.[CardName] AS 'Customer/Vendor Name', t2.GroupName,t1.CardType ,T0.[ItemCode] AS 'Item No.',

T0.[Dscription] AS 'Item Description', T0.[OutQty] AS 'Issue Quantity'

FROM  [dbo].[OINM] T0

inner join ocrd t1 on t1.cardcode=t0.cardcode

inner join ocrg t2 on t2.GroupCode=t1.GroupCode

WHERE (T0.[DocDate] = (CONVERT(DATETIME, '[%0]', 112) ) ) AND (T0.[Warehouse] = (N'[%1]' ) and t1.cardtype = 'c' )

 

Thanks


Viewing all articles
Browse latest Browse all 8357

Trending Articles



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