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, ...
Answered

VendInvoiceDP Extension

(0) ShareShare
ReportReport
Posted on by 20

HI,

I'm trying to create a class extension of the VendInvoiceDP data provider because I need to add a logic for filling a new field in the VendInvoiceTmp table.

All the data provider's methods are private (except for processReport method) .

Is it possible to wrap a private method in the extension class? Which is the proper way to create an extension in this particular situation?

Thank You in advance for the help.

KInd Regards

Paolo

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    238,753 Most Valuable Professional on at

    No, you can't use CoC on private methods.

    Review the code; maybe there are some other methods that you could extend, e.g. an initFrom* method on VendInvoiceTmp table. (I don't have any environment on hand to check it myself.). Or maybe you're able to run your logic at the end of processReport().

    If none of it works, you can either create an extensibility request to Microsoft, or duplicate the class, modify the copy and use it instead of the standard one.

  • Suggested answer
    ergun sahin Profile Picture
    8,826 Moderator on at

    docs.microsoft.com/.../extensibility-attributes

  • PB-27051451-0 Profile Picture
    20 on at

    We decided to wrap the processReport method and add our custom logic there.

    Thanks for your help.

    Kind Regards

    Paolo

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