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 :
Dynamics 365 Community / Forums / Finance forum / addLookupMethod from m...
Finance forum

addLookupMethod from method in Extension table class

(0) ShareShare
ReportReport
Posted on by 115

Hi all,

I'm create a lookup that show some field from PurchTable, one of them is a display method I create new on extension class but it dont show data(column 4), standard method is work (column 5).

please correct me if I missing something.

Thank you.

Lookup00.JPGLookup01.JPGLookup02.JPG

I have the same question (0)
  • nmaenpaa Profile Picture
    101,172 Moderator on at

    What if you debug your method? Is it getting executed?

    I would first remove all logic from the method, just returning 1000 and checking if the method call itself is working or not.

  • DiepBH Profile Picture
    115 on at

    The method on extension class not jump to while debug.

    as attachment, I return 1000 but dropdown list not show data.

  • DiepBH Profile Picture
    115 on at

    Please help!!!!!

  • Suggested answer
    Mea_ Profile Picture
    60,286 on at

    So this class uses SysDictMethod to work with method you add and, as far as I know, it has no idea about extension methods. So it is obviously a bug and you need to file it so MS can fix it. Meanwhile you can extend addMethodControl() method of SysTableLookupBase class. You have to use new metadata API http://dev.goshoom.net/en/2016/11/new-metadata-api/ instead of SysDictMethod  but this is not an easy task. 

  • Mea_ Profile Picture
    60,286 on at

    Interesting enough in PU15 sysdictmethod knows about extension methods but returns name that won't work in this scenario. So it's definitely a bug and you need to file it.

  • JeffGreenrc Profile Picture
    on at

    Hi,

    is this issue fixed? Has someone file a bug for it?

    I still cannot seem to get this working P24.

    Thanks

  • JeffGreenrc Profile Picture
    on at

    Any update on this/

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans