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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Receiving Error executing code: <empty class> object does not have method 'getAllocationSection'

(0) ShareShare
ReportReport
Posted on by 166

Hi All:

When accessing the Demand Validation Exception from the GOP menu we are receiving the below error for some users (sysadmin is fine).

pastedimage1636668502500v1.png

Is this a security set up issue?

Thanks

Paul 

I have the same question (0)
  • huijij Profile Picture
    19,811 on at

    Hi Paul,

    Is the Demand Validation Exception form custom?If so please discuss with your development colleagues for help.

  • Suggested answer
    Alireza Eshaghzadeh Profile Picture
    14,743 Super User 2025 Season 2 on at

    Hi Paul,

    Like you mentioned it works for sysadmin. Then, you can troubleshoot this issue by finding privileges that one user need to access this form and add them to a user security role. Or you can check which security roles have access to this form and assign one of the security roles to the user (i.e. except sysadmin)

  • Paul V Profile Picture
    166 on at

    Hi Alireza

    If I add privileges, the error goes away, but these privileges would grant additional functionality that we don't want to provide for this role (i.e. reject, partial approval).

    Judy,

    The form is under GOP, but our dev team had made mods to it.

    So, it this a dev error?  

    Thanks

    Paul

  • Verified answer
    Alireza Eshaghzadeh Profile Picture
    14,743 Super User 2025 Season 2 on at

    Hi Paul,

    Thanks for the feedback, then, you can evaluate to either create a new security role that have access in regards to your purpose (i.e. accessing the Demand Validation) or you can edit a existing security by eliminating privileges from the security role. You need to test via a user that have this security role to ensure that the security role have access to required forms, reports and functions.

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 836 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 441 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 346 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans