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

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
    303,349 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 509 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 375

#3
Adis Profile Picture

Adis 268 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans