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

Re: SALES REPORT

$
0
0

welcome Ricky

 

if you want current month report only then use this query

 

SELECT T0.[CardName] PartyName, T1.[Dscription] as Item_description, T0.[NumAtCard] as Customer_Ref_No, T1.[ShipDate] as  Del_Date_line_level, T0.[DocNum] as SO_No, T0.[DocDate] as SO_Date, T1.[Quantity], T1.[Price],T1.[Quantity]*T1.[Price] as Line_total_without_tax,  T1.[DelivrdQty], T1.[DelivrdQty]*T1.[Price] as  Delivered_amount_line_total_without_tax, T1.[OpenQty]*T1.[Price] as pending_qty_line_total_amount_without_tax FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry where  Month(T0.[DocDate] ) = Month(getdate()) ORDER BY T0.[DocDate]

 

Thanks

Mohammad Imran


Viewing all articles
Browse latest Browse all 8689

Trending Articles



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