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

Re: SALES REPORT

$
0
0

Hi Ricky,

 

check this

 

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 T0.[CardName] = [%0] and  T0.[DocDate] between [%1] and [%2]

 

Thanks

Mohammad Imran


Viewing all articles
Browse latest Browse all 8430

Trending Articles



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