I know I know, normally I would have an owned/owner relationship, but because I'm using these BOs in a tree widget, I'm forced to use a peer relationship. Otherwise child instances can get deleted in a drag/drop. See https://forum.awareim.com/d/9957> to learn why.
So in the parent BO's deletion rules, I want to add the following rule:
DELETE Child WHERE Child.Parent_Reference=Parent
But I get a syntax error at the WHERE token (with or without parentheses). According to the user guide, you can't use reference attributes in a CLEAN action, but this is a DELETE action. What am I doing wrong and I how I do it right?