When viewing child records and displaying the Master record, the custom code is executing. How can one prevent the code from running if the Master List Detail is displaying?
For example:
Master -> Children. All Master records are listed. User clicks a Child Link and the master is displayed at the top then the children. When the master record is displayed at the top I don't want a piece of custom code to execute.
I've tried setting session variables as flags and can't seem to stop it from executing.
Thanks in advance.