Developing for Dynamics GP   Quick Tip: How to create
conditional Triggers in Dexterity  Quick Tip: How to create
conditional Triggers in Dexterity    • Comments 1  David Meego -
Click for blog homepageHere is another Quick Tip article. This
time I wanted to discuss the best practices for making
conditional triggers in Dexterity.  There are times where we
might want to have a trigger which only runs under certain
circumstances. There are a number of methods of handling these
situations. This post will explain the various methods and when
they should be used.  Some examples of when a conditional
trigger might be used are:    1. Applying code to Alternate
windows:     Best practice is to never add your extra code
directly to the alternate form.  Just make the desired changes
to the window layouts, but apply all code using focus
triggers. This makes maintenance of the code much simpler,
especially if the alternate window needs to be recreated when
upgrading to a new version. This is explained further in the
Know