-- Group: contactmerge
-- Name: contactused
-- Notes: Checks to see if this contact is used anywhere
-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.

SELECT cntctused(<? value("cntct_id") ?>) AS used;
