Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Filter Lookup Based on Another lookup Value selection , help !!

(0) ShareShare
ReportReport
Posted on by

pastedimage1674477606296v1.png

here category is child under subsegment,  but in category lookup, values where subsegment is ABC only should show up , as ABC is selected for subsegment Id above it , but category is also showing (AbCD , sub3) subsegment fields data ( thats should not come here ). relations are also properly defined

Thank you !!

  • GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: Filter Lookup Based on Another lookup Value selection , help !!

    No, you need to override an lookup event handler method to achieve this.

    Thanks,

    Girish S.

  • RE: Filter Lookup Based on Another lookup Value selection , help !!

    can it be done without using event handler ??

  • Suggested answer
    GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: Filter Lookup Based on Another lookup Value selection , help !!

    Hi sachin mittal,

    You need to override the lookup event handler to filter values. Based on the selection of Subsegment you can filter category lookup.

    Copy the lookup event handler of category control and paste it in the new class. Add code for lookup and also add range to it.

    Refer to the below blog which might help you.

    https://community.dynamics.com/365/financeandoperations/b/dynamics-365-fin-ops-technical-help/posts/applying-range-on-the-lookup-based-on-the-selection-of-value-on-other-field-x

    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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,162 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans