SDPII-177 - changing delete function to disable in document types