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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

CoC on Table display methods

(0) ShareShare
ReportReport
Posted on by

Hi All,

While creating CoC on table display method getting the below error.

pastedimage1584341145231v1.png

If we provide the default value to the parameter getting another error as below.

pastedimage1584341202722v2.png

Any suggestions? Whether CoC available on Table display method?

I have the same question (0)
  • Suggested answer
    DaniPm Profile Picture
    185 on at

    There is no method with that name in the table CustInvoiceTable.

    You can't use "next" sentence.

  • Community Member Profile Picture
    on at

    Hi Daniel,

    There is a method as below.

    pastedimage1584344163884v1.png

  • Suggested answer
    DaniPm Profile Picture
    185 on at

    Can you try this:

    [SysClientCacheDataMethodAttribute(true)]  

    public static display Name custGroupName(CustTable _this)

    {

    return  CustGroup::find(_this.CustGroup).Name;

    }

  • Community Member Profile Picture
    on at

    Hi Daniel,

    Thanks for the reply.

    Actually I want to implement CoC on standard display method. And my code is below which is giving error when I implement CoC.

    pastedimage1584346269268v1.png

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    Which Platform Update are you on?

    To me this seems like a platform bug, so if you already have the latest version, I suggest reporting it to Microsoft.

  • Community Member Profile Picture
    on at

    Hi Nikolaos,

    I am on PU 32.

  • Suggested answer
    Joris dG Profile Picture
    17,775 on at

    We've actually been discussing this internally. It's arguably a platform bug, but rather the bug is that we should not allow a display method to have a parameter that is not a table buffer. It goes against the normal display method signature.

    We're discussing how we can mitigate these going forward.

    For now, please file an extensibility request on the module owning cust invoice trans to sort it out. Or perhaps introduce a new control using an entirely new display method... the new display method can call the old one, for the same effect.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 565 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans