Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

opportunitydetail subgrid on opportunity - how to properly customize it

Posted on by 225

I'm trying to customize the 'opportunitydetail' grid on the 'opportunity' Entity, as we require additional fields to be shown (eg. purchasing price). 

1) When modifying the view used I was forced to save it as a new view, apparently the original view (should be called something similar to "Opportunity Product Inline Edit View(Product)") is protected from tinkering. I've then changed the subgrid 'opportunitydetailGrid' on the Opportunity form for the Entity 'opportunity' to use the new, customized, view - this broke the ability to edit rows inline.

Note: All this is using the standard (read-only) grid control.

2) After doing some research I found a great article explaining Editable Grids https://community.dynamics.com/crm/b/razdynamicscrmconsultant/archive/2016/12/29/configuring-editable-grids-in-dynamics-365 and followed the instructions step by step, but for some reason the result is an even more broken subgrid that's still not allowing inline edits - and on top of that it's not displaying the column names either, even though I've checked multiple times that the option for that is set correctly on both the opportunitydetail entity control as well as the control of the subgrid:

broken_5F00_opportunityDetail.PNG

3) When looking directly at the opportunitydetail Entity, none the views allow inline edits even though they should - but at least the column names are showing.

4) I've used the same guide on a different (custom) entity with a subgrid showing a different related (custom) entity, and there it's working just as described in the guide.

In conclusion I think there's something special about the opportunitydetail Entity (and it seems like this is also true for quotedetail and salesorderdetail) that's preventing Editable Grids from working correctly - has anyone experienced this before and knows how to get this to work?

Having either the ootb 'inline edit' working for a customized view or having the 'Editable Grid' working properly would work (while both look and feel differently, either one is fine for my requirements)

*This post is locked for comments

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: opportunitydetail subgrid on opportunity - how to properly customize it

    Hi,

    like what you wrote in last sentence, you only can choose either one. If you like to have customized editable grid for opportunity product subgrid, go for html, but this is not easy.

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans