locked
Dynamics CRM 2016 Subgrid RRS feed

  • Question

  • Good Day,

    I am having a bit of a situation with the subgrid.

    On Quote detail subgrid, how can i prevent a user from entering the same product more than once.

    Kind Regards,

    Sibu

    Friday, June 2, 2017 7:59 AM

All replies

  • You can create a plugin and register it on create of a quote product. (pre-operation) Then in the plug-in logic get the quote and loop through the quote products and check if the product in the current quote product is already in the quote. If throw throw an invalid plugin execution exception.

    Sachith Chandrasiri

    Sunday, June 4, 2017 10:50 PM