2 if (!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
3 /*********************************************************************************
4 * SugarCRM Community Edition is a customer relationship management program developed by
5 * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
7 * This program is free software; you can redistribute it and/or modify it under
8 * the terms of the GNU Affero General Public License version 3 as published by the
9 * Free Software Foundation with the addition of the following permission added
10 * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
11 * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
12 * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
14 * This program is distributed in the hope that it will be useful, but WITHOUT
15 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16 * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
19 * You should have received a copy of the GNU Affero General Public License along with
20 * this program; if not, see http://www.gnu.org/licenses or write to the Free
21 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
24 * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
25 * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
27 * The interactive user interfaces in modified source and object code versions
28 * of this program must display Appropriate Legal Notices, as required under
29 * Section 5 of the GNU Affero General Public License version 3.
31 * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
32 * these Appropriate Legal Notices must retain the display of the "Powered by
33 * SugarCRM" logo. If the display of the logo is not reasonably feasible for
34 * technical reasons, the Appropriate Legal Notices must display the words
35 * "Powered by SugarCRM".
36 ********************************************************************************/
38 $dictionary['Tracker'] = array(
47 'auto_increment' => true,
51 'name' => 'monitor_id',
52 'vname' => 'LBL_MONITOR_ID',
59 'vname' => 'LBL_USER_ID',
65 'name' => 'module_name',
66 'vname' => 'LBL_MODULE_NAME',
73 'vname' => 'LBL_ITEM_ID',
78 'item_summary'=>array(
79 'name' => 'item_summary',
80 'vname' => 'LBL_ITEM_SUMMARY',
85 'date_modified'=>array(
86 'name' => 'date_modified',
87 'vname' => 'LBL_DATE_LAST_ACTION',
93 'vname' => 'LBL_ACTION',
99 'name' => 'session_id',
100 'vname' => 'LBL_SESSION_ID',
107 'vname' => 'LBL_VISIBLE',
114 'vname' => 'LBL_DELETED',
118 'comment' => 'Record deletion indicator'
120 'assigned_user_link'=>array (
121 'name' => 'assigned_user_link',
123 'relationship' => 'tracker_user_id',
124 'vname' => 'LBL_ASSIGNED_TO_USER',
125 'link_type' => 'one',
130 'monitor_id_link'=>array (
131 'name' => 'monitor_id_link',
133 'relationship' => 'tracker_monitor_id',
134 'vname' => 'LBL_MONITOR_ID',
135 'link_type' => 'one',
136 'module'=>'TrackerPerfs',
137 'bean_name'=>'TrackerPerf',
145 'name' => 'tracker_pk',
152 'name' => 'idx_tracker_iid',
159 // shortened name to comply with Oracle length restriction
160 'name' => 'idx_tracker_userid_vis_id',
169 // shortened name to comply with Oracle length restriction
170 'name' => 'idx_tracker_userid_itemid_vis',
179 'name' => 'idx_tracker_monitor_id',
186 'name' => 'idx_tracker_date_modified',
195 'relationships' => array (
196 'tracker_monitor_id' =>
198 'lhs_module'=> 'TrackerPerfs', 'lhs_table'=> 'tracker_perf', 'lhs_key' => 'monitor_id',
199 'rhs_module'=> 'Trackers', 'rhs_table'=> 'tracker', 'rhs_key' => 'monitor_id',
200 'relationship_type'=>'one-to-one'