You probably already know about a feature calledbulk edit on Microsoft Dynamics CRM that lets you modify several records at once, this is definitely a great feature that enables end users to change in bulk some values for several records. The problem is that this feature is not available for all the records in Microsoft Dynamics CRM, but as usual with some dirty and UNSUPPORTED tricks this can be done.
Recently, I was playing with this feature trying to find how it works and see if it could be possible to enable it for the Sales Order entity. My first idea
This function seems to be utilised in all the Microsoft Dynamics CRM grids to manage the typical options that you have in the grid buttons and menus. Basically, this function gets some parameters to indicate the grid that is calling the function, the entity type code and what operation to execute.
In this case, we want to get this function to fire a Bulk Edit dialogue for the Sales Order entity so the call to the function would be like this doAction(‘crmGrid’,’1088′,’bulkedit’).Where crmGrid is the name of the object that represents the Grid, we will go through this object another day as it quite useful to handy multi selection buttons on the grid, the second parameter is the entity type code for the Sales Order entity and the final parameter is the command that we want to execute.
Here is the chunk of code that we need to add on the ISV.config file under the
Hope you find this useful but remember that this is a NOT SUPPORTED customisation and you should carefully test it to avoid any problem.
I didn’t try to add this functionality to other CRM Entities that don’t support