Community Code for EDX Trigger

    The EDX code as requested (this is pre QV 11 code and all references to databases and connections have been replaced with generic placeholders)