Skip to main content

Notifications

Microsoft Dynamics SL forum
Suggested answer

Problem with custom report in SL2011

Posted on by 1,170

I have a custom report that uses the same view and preprocess as the 08620 reports (view = vr_08620, preprocess = pb_08620). The report runs perfectly in SL7.0. However, SL2011 it generates a message detailed in the screenshot:

 

This appears to be related to a change in the preprocess whereby the view's name is prefixxed to the cRI_ID field, returning a value that is unrecognizable to the report.

I am by no means a report/Crystal expert, so would greatly appreciate any help that could be offered.

Stuart Nottingham

  • Stuart Nottingham Profile Picture
    Stuart Nottingham 1,170 on at
    Re: Problem with custom report in SL2011

    I've resolved this issue. While Don's answer wasn't 100% there, it did trigger something in my head. I modified the SP with a CASE statement to allow for the new reportnames for the custom reports. Problem solved!

    Stuart

  • Suggested answer
    Re: Problem with custom report in SL2011

    Dear Stuart

    Why did you find it necessary to change the name of the view to "vr_08620AVGSUM" in the report?  Did you modify the view?  From the custom report name "AvgSUM" it sounds like you are performing some mathematical calculations to average information in the report?  Are you doing those calculations in the revised view?  Generally I try to use the same view as SL where there is a preprocess in place.  Is it possible to do the averaging in the report using total fields or formulas instead?

    What does the formula field @ParentDocType look like?  I do not see that in the standard 08620 report?  

    Does the report work without the record selection?

    Thanks

    Don

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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

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

#2
Martin Dráb Profile Picture

Martin Dráb 228,441 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans