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

Add new lookup field to ItemId dropdown of Sales order lines

(0) ShareShare
ReportReport
Posted on by 104

I try to add a new field(from InventTable) in the ItemId lookup of Sales lines.

Since I didn't find an easy solution through FieldGroups, I tried to extend the "InventItemLookupSimple" class and use the "addLookupField" method but it seems that it's private so it cannot be used in extensions. I also tried to use Reflection and DictClass to bypass the scope of method but I have read that these practices are not recommended.

Is there any simpler solution?

Thanks in advance.

I have the same question (0)
  • Verified answer
    GirishS Profile Picture
    27,843 Moderator on at

    Hi Vasileios Papoglou,

    To make it simple you can just write the lookup event handler for ItemId field. In the lookup event handler method you can add your required fields to be displayed in the lookup.

    Refer to the below blog for writing lookup event handler.

    https://dynamics365musings.com/override-an-existing-lookup-method-event-handler/

    Thanks,

    Girish S.

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 694

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 646 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 337

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans