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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

COC error on [ExtensionOf(tableStr(ContactPerson))]

(0) ShareShare
ReportReport
Posted on by 77

Hi, when I try to extend contactperson table update() getting below error. Please advise!!

0880.pastedimage1674674905909v1.png

Default parameter values on chain of command methods may not be provided on the corresponding extension methods. Make the parameter on the extension method non-default, omitting the default value

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

    The error message tells you exactly what to do: "Make the parameter on the extension method non-default, omitting the default value".

    Therefore the signature will be: public void update(boolean _updateDateAndTime).

    Then you should pass the parameter value to next update().

  • Suggested answer
    MyDynamicsNAV Profile Picture
    77 on at

    Hi Martin, thanks for the response. I tried that also I was getting the same error

    I build my model from D365 extension and that resolved the error

    Thanks you

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
SajeedMullaji Profile Picture

SajeedMullaji 698

#2
Martin Dráb Profile Picture

Martin Dráb 327 Most Valuable Professional

#3
CU10121822-0 Profile Picture

CU10121822-0 320

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans