1 select xt.install_js('XM','SalesRep','xtuple', $$
2 /* Copyright (c) 1999-2013 by OpenMFG LLC, d/b/a xTuple.
3 See www.xtuple.com/CPAL for the full text of the software license. */
7 if (!XM.SalesRep) { XM.SalesRep = {}; }
9 XM.SalesRep.isDispatchable = true;
12 Return whether a sales rep is referenced by another table.
14 @param {String} Sales Rep Number
16 XM.SalesRep.used = function(id) {
17 var exceptions = ["public.crmacct"];
18 return XM.PrivateModel.used("XM.SalesRep", id, exceptions);