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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

New Method payment format functionality has been broken after 10.0.25 upgrade

(0) ShareShare
ReportReport
Posted on by 2,486

A new payment format has been created and it worked well but my dev box has been upgraded to the 10.0.25 version, functionality is broken because public access modifier was used for the overridden method which was implemented as internal in the base class.

I also read the article posted by Code Crib which mentioned that for all other code, the only potential issue happens when your code is using INHERITANCE on a Microsoft class and the code is trying to override an internal method and/or changing its access modifier.

getClassName() method used with the public access modifier worked before 10.0.25 but it errored out after the version upgrade.

pastedimage1650795216656v1.png

but this method has been implemented with internal access modifier.

pastedimage1650795344254v2.png

Here is the error.

'VendOutPaym_XXXX.getClassName' cannot change access modifiers when overriding inherited method 'VendOutPaym.getClassName'

5873.error.png

Please suggest what has to be done to resolve this issue. Thanks in Advance.

Regards,

Raziq

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at

    Hi Raziq,

    It is recommended to use Electronic Reporting to create and configure the payment formats. You can read more in the documentation about this option:

    ER Upgrade your format by adopting a new, base version of that format - Finance & Operations | Dynamics 365 | Microsoft Docs

    ER Generate electronic documents for payments using a format configuration - Finance & Operations | Dynamics 365 | Microsoft Docs

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

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
Martin Dráb Profile Picture

Martin Dráb 611 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans