In DO3.9, there was an OnReferenced event that was raised when an entity was referenced by another entity. For example, if I have Order and OrderLineItem, when OrderLineItem.Order is set to some Order, Order.OnReferencing is raised. I have implemented soft deletes using a field called Active. I would like to prevent any deactivated records from being referenced by other entities. What is the most efficient way of implementing this? |
Hello Ara, There is a way to achieve the goal, here is how: First, subscribe to the Second, handle Hope that helps. |