 This query determines whether a given contact should be kept
        active because other active records depend on it.
        Todo - should this be moved to the cntctAfterTrigger?
 Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
 See www.xtuple.com/CPAL for the full text of the software license.
