Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL (Archived)

SL 2018 CU1 Web Apps Project Net Profit error - ProjectNetProfitPerPeriod function

Posted on by

In SL 2018 CU1 (on a DB upgraded from SL 2018, just in case that matters), the Project Net Profit report off Project Analyst in Web Apps will not run.

The reason boils down to these 2 functions - [ProjectNetProfitPerPeriod] and [CuryProjectNetProfitPerPeriod].  Both of them expects two parameters - @Per and @ProjID.   But the calling view QQProjectNetProfit only passes in the period parameter.

I know we dealt with this issue before in 2015 Web Apps, so was surprised to see it resurface.   Sure enough, on a SL 2015 CU2 db, those 2 functions expect only one parameter - @Per.   Applying them to my 2018 CU1 DB solves the report problem.

Question -

1. What's the correct version of these 2 functions?

2. Is re-applying the SL 2015 CU2 version of those functions to SL 2018 CU1 the correct fix?

*This post is locked for comments

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans