Skip to main content

Notifications

Microsoft Dynamics SL forum
Unanswered

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?

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,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