Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL forum
Unanswered

view used with AR aging report

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

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans