on 09-28-2012 9:53 PM
Hi,
We have a request wherein a lot of Amendments / Contracts have been created on different Master agreements in error by different users.
Is there a way to mass delete them? Going into each MA and then navigating to Contract documents tab to delete one by one is tedious...
Thank you,
Vikram
void | purge(ContractDocumentIBeanIfc doc) Deletes all Document versions objects prior to the latest one that is in the 'Executed' phase. |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vikram,
Hope you are doing good.
I have a method in mind. You can give this a try.
First step should be marking the documents you want to delete. This can be by creating a check box and then deactivating it from the UI after you have deleted the documents. Next, You will have to write a script that does the following:
Please keep in mind that findAll() is a resource consuming method so this script should be run only when user load on the system is comparatively less.
Hope this helps.
Thanks
Devesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.