Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Filter on Look Up for Price List items within Opportunity Product Lines

Posted on by 293

Hi

When  a user is adding products on an opportunity,  I would like to limit the options of the Price list items offered. 

I have found multiple articles that talk about adding JS for that. That is fine but I am not sure where I should add it on this case, normally the examples are for Contacts and Account.  Is it on the Opportunity Form? The Price Line item ? The Opportunity Line form is the one once you do double click so I don't think it should be? 

Look-up-1.png

Look-up-recrod.pngThanks

Teresa

*This post is locked for comments

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Filter on Look Up for Price List items within Opportunity Product Lines

    Hi,

    example

    you should place the script in opportunity because the grid is located in opportunity form.

  • Tessacq Profile Picture
    Tessacq 293 on at
    RE: Filter on Look Up for Price List items within Opportunity Product Lines

    Hi

    Thanks for your answer. On which form should I attached this code? Onthe main quote form?

    Thanks

    tEresa

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Filter on Look Up for Price List items within Opportunity Product Lines

    Hi,

    There is no supported way to filter the subgrid inline lookup.

    But if you insist to try, you can refer below blog.

    bernado-nguyen-hoan.com/.../apply-filtering-to-subgrids-inline-lookup-in-crm

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans