web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

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

(0) ShareShare
ReportReport
Posted on by 22

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans