Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

view used with AR aging report

(0) ShareShare
ReportReport
Posted on by 55

I want to query the view that is used for the Aged AR report using SSMS.  I find a select statement displays no data unless I first preview the report with Crystal.  Yet, views I have created populate with data on the action of executing a select statement.  What is the proper way to get an existing Dynamics SL view to display data with a SQL query, without first using Crystal to preview (and populate) the view layout?

Thanks for any advice

  • Mark E Profile Picture
    Mark E 6,405 on at
    RE: view used with AR aging report

    That is correct.  The view has references to the RptCompany and RptRunTime tables with inner joins, meaning if there are no records in those tables, the query results will be empty.  When the report is run, those tables get populated and the view will return records.

  • Tom R. B. Profile Picture
    Tom R. B. 55 on at
    RE: view used with AR aging report

    Are you saying those references are what keeps the view from populating when I do a select statement on it?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: view used with AR aging report

    You should be able to take the view found in Crystal and remove any references to tables that begin with RPT.

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

News and Announcements

Announcing Category Subscriptions!

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,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans