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

Query for Quotes converted to sales orders by %

$
0
0

Hi guys. I am trying to write a report that shows all sales quotes that are converted to orders.

 

Returning information needs to be by date range, sales employee and percent converted but not containing those quotes manually closed.

 

I'm clearly nowhere near with the below query and frustrated by not being able to see what I need to do or where I am going wrong - any help will me massively appreciated.

 

Thank you

 

SELECT T0.[DocNum], T0.[DocStatus], T0.[CardCode] AS 'Account No.', T0.[CardName] AS 'Customer Name', T0.[DocDate], T0.[SlpCode]

 

FROM OQUT T0, [dbo].[OSLP] T0  INNER  JOIN [dbo].[OQUT] T1  ON  T1.[SlpCode] = T0.[SlpCode]

 

WHERE T0.[DocStatus] = 'C' AND T0.[DocManClsd] <> AND (T0.DocDate>='[%0]' and T0.DocDate<='[%1]')


Viewing all articles
Browse latest Browse all 2807

Trending Articles



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