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

Multi-lookup in D365

(0) ShareShare
ReportReport
Posted on by 65

I have created  multi lookup for customer account in my form:

msCtrlCust = SysLookupMultiSelectCtrl::constructWithQuery(element, CustAccount, query);

i am able to select multiple values in lookup and those values are shown on the text box,.

Now my requirement is like when i remove one value on the text box, then selection should also be removed in the lookup., how can i achieve this?

Thanks in advance for your help.

  • Suggested answer
    Deepak Agarwal Profile Picture
    9,401 Super User 2026 Season 2 on at

    Hi Chaitanya,

    I am not clear about the 2nd part of the question "Now my requirement is like when i remove one value on the text box, then selection should also be removed in the lookup., " Pl share more details on it. Meanwhile, you can refer below link.

    www.theaxapta.com/.../multiple-tables-in-field-lookup-method.html

    This very old post (AX2009) but I hope you will get some references.

  • Verified answer
    nmaenpaa Profile Picture
    101,174 Moderator on at

    Normally when you use a multi select lookup, the changes to the field are allowed / possible only via the lookup.

    You can check for example the Purpose field in LogisticsPostalAddress form.

    Do you know some multi select lookup in the standard system that works like you are now asking? If yes, then you can use it as an example.

    If there are no such lookups, I suggest you to stick to the examples and look&feel that you already find in the standard system.

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

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 284 Super User 2026 Season 2

#2
Aayush Tiwari Profile Picture

Aayush Tiwari 213

#3
Subra Profile Picture

Subra 200 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans