Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / New Method payment for...
Finance forum
Unanswered

New Method payment format functionality has been broken after 10.0.25 upgrade

Posted on by 2,430

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
    André Arnaud de Cal... 287,995 Super User 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

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,995 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,610 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans