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

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

  • André Arnaud de Calavon Profile Picture
    293,112 Super User 2025 Season 1 on at
    RE: New Method payment format functionality has been broken after 10.0.25 upgrade

    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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,112 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,893 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans