Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Editable Subgrid

Posted on by 85

Hi All,

I have a custom entity called "Products". I want to have a grid on my "Account" form to add products.

The "Products" entity has two fields - "Product Code" and "Description". However, I have added the editable subgrid on the account form to add products which the account wants to order.

I also want a column on my subgrid to add "Quantity" of each product required. As "Product" entity does not have "Quantity" field I cannot add it to the view on subgrid. I even tried to add a field quantity on "Products" entity so that I can use it on my subgrid. But when I am adding the quantity for a product on subgrid, it updates the quantity field for "Products" record which is definitely not the requirement.

I want to add products from "Products" entity but the quantity field should be specific to the account record.

Please suggest any way to accomplish this requirement. I think I am missing some logic.

Thanks

Amrita

*This post is locked for comments

  • Amrita P Profile Picture
    Amrita P 85 on at
    RE: Editable Subgrid

    MSCRM Guru, Thanks for your response. But is there not any other way possible to accomplish this?

  • Suggested answer
    MSCRM Guru Profile Picture
    MSCRM Guru 600 on at
    RE: Editable Subgrid

    Hi Amrita,

    Sounds like you need to create another custom entity to connect Account to Product.  This custom entity will have a lookup to Account and to Product, and there you can capture additional information such as the quantity, the purchase date, warranty finish date, and more.

    Good Luck!

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,104 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans