I want to add a conditional rule to protect Product business object from changes by some categories of users. I want to protect Product if this Product was ordered before. When a product is ordered, it is linked to OrderItem business object by Product.ProductOrdered attribute. I tried to add this rule to the Product
If OLD_VALUE(Product.ProductOrdered) IS DEFINED
Then PROTECT Product FROM ALL EXCEPT Administrator AND Manager
However the system did not accept IS DEFINED with OLD_VALUE, is it what supposed to be? Can you suggest another way to protect Product?
Thank you.
I am using AwareIM version 1.3 build 693
Conditional protection; usage of OLD_VALUE function
-
- Posts: 7532
- Joined: Sun Apr 24, 2005 12:36 am
- Contact: