Quantcast
Channel: Microsoft Dynamics RMS Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4248

Report Help - View, TableQueried or SelCriteria?

$
0
0

Would like to create a custom QRP report, where I would put the query enclosed below. Would it go in the TablesQueried or SelCriteria section of the report or would I have to create a view. Any help would be appreciated.

Thanks

Danny

SQL Query used:

select itemlookupcode, description, departmentid, categoryid, quantity, inactive from item where convert(varchar, lastupdated, 111) < '2010/12/31' and lastsold <> '' and quantity <= 0 and departmentid = 7 and not exists(select transactionentry.itemid from transactionentry, [transaction]  where transactionentry.transactionnumber = [transaction].transactionnumber and  item.id = transactionentry.itemid and convert(varchar, [transaction].time, 111) > '2010/12/31')


Viewing all articles
Browse latest Browse all 4248

Trending Articles



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