Is there a good way to check whether an occurrence is deletable (i.e. check its relationship constraints), without having to change the code manually any time a new constraint is added?
We are currently getting error messages in our server log files, indicating that the record cannot be deleted because there is a 'down' entity with the restriction on delete.
There are other down entities with cascade or nullify relationships, so simply checking whether any of them have data (using INNERENTITIES on a loop) won't do it unless we can also find their relationship status in proc code.
Thanks
Iain