Hi. In one of setup tables I created my new custom field. This field depends on value of five other fields - all these field must be 'true' if value of my custom field also can be 'true'.
So when user set 'false' value of one of these five fields - my custom field should change value to 'false'.
What is the most optimal way to achieve this?
Trigger OnModify() inside table? OnAfterModify Event Subcsriber in separate CodeUnit? Or maybe any other idea?