Jignesh
Jignesh

Reputation: 1

CRM 2015 - Delete takes almost 35 to 40 seconds if I select multiple records from Project-Product, Quote-Product, Order-Project (not a bulk delete)

In CRM 2015, It will takes 35 to 40 seconds to delete a more then 5 records from project product, quote product or order product list. It's not a bulk delete.

Sometimes I can see below unresponsive/wait screen in between delete process.

Wait popup when try to delete multiple records

How to fix this issue or reduce the time?

Upvotes: 0

Views: 208

Answers (1)

Aron
Aron

Reputation: 3945

Due to internal processes including recalculation of the parent Order values, deleting child records like an Order Product can take a while.

When you delete a single Order Product, the system will recalculate the parent Order's total, etc. This happens for each record, and deleting multiple records of course takes longer.

There may also be other processes happening - either custom or system processes. You can check if there are any custom ones, but the system processes are largely a black box.

I have seen situations where a client occasionally needed to create an invoice with over 10,000 lines. Since creating each line triggers a recalculation, normal automation options were timing out. I wound up creating a console app to add the lines to the monster invoices in batches.

Upvotes: 0

Related Questions