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, ...
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.

I have the same question (0)
  • Suggested answer
    Deepak Agarwal Profile Picture
    8,602 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,162 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

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 503 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans