How to bulk delete Organization record in Pega Sales Automation?
I have imported over 200 organizations via de import wizard. But I have discussed with my stakeholders that the organizations need to be deleted. I have tried to select the "delete" option during the import process but there is no "delete" option in the dropdown. I have the SysAdmin4 rights.
How do I bulk delete the organizations from my application?
Platform is not providing delete option for Work- derived classes, here Organization class is work- inherited class so it is not coming in the drop down (please refer "pzLoadImportPurposes" DT).
And one more thing, sales automation has overridden "pyLoadCustomImportPurposes" to remove "delete" option even for Data- classes.
I never checked that how delete will perform for work classes, you can override "pyLoadCustomImportPurposes" DT to add that option. Generally we don't recommend to delete work instances, just we make them into resolved.