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

Re: Query to show A/R INVOICE

$
0
0

Try This

 

 

 

 

 

 

 

 

 

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]' ) )

 

 

Rgds

Kennedy


Viewing all articles
Browse latest Browse all 8378

Trending Articles