Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics RMS (Archived)

Passing parameter to RMS Report Query

(0) ShareShare
ReportReport
Posted on by 90

Hello,

Need to filter the Items not sold in a given time duration and populate the records on RMS report.

We can select the duration for filtering the items on report of Store Operations Manager.

Question:

Can we pass the parameter of start date and end date to the query in 'TablesQueried' of ReportSummary section of RMS report while selecting the time duration filter?

Please suggest.

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Passing parameter to RMS Report Query

    You most likely need to create a column for each; startdate/time and enddate/time.  Set the column to be hidden if you don't want them to show on the report.  

    The report uses the columns to filter.  

    You can also use the " SelCriteria = " part of the report.  this acts like a where clause in sql server query.

    Most importantly though is the actual query under the "TablesQueried ="  because RMS doesn't track what has NOT been sold, only what has been sold.  But you could use the item table and use the lastsold column to see when something was last sold.  

    I think that will get you the information you need,  I am assuming you are looking for slow movers so that you can return or clearance those items.

    Let us know if you need more help.  

  • Shibani Profile Picture
    Shibani 90 on at
    RE: Passing parameter to RMS Report Query

    Thanks for the input; but I want to pass the selected time duration (while setting filter in report opened in Store Operations Manager) as parameters to the stored procedure\query in TablesQueried  in the report at the run time.

    Please let me know how to achieve that.

  • archelle16 Profile Picture
    archelle16 1,735 on at
    RE: Passing parameter to RMS Report Query

    Someone suggested this to me. You can use either Active or Crystal Report. In Active Report use PreQuery1. For example: PreQuery1 = "EXEC [your stored procedure name]" You can refer to your customization guide for further reading. I hope this helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,431 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans