2 if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
3 /*********************************************************************************
4 * SugarCRM is a customer relationship management program developed by
5 * SugarCRM, Inc. Copyright (C) 2004-2011 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['ProspectList'] = array (
39 'table' => 'prospect_lists',
50 'vname' => 'LBL_NAME',
53 'importable' => 'required',
55 'list_type' => array (
56 'name' => 'list_type',
57 'vname' => 'LBL_TYPE',
59 'options' => 'prospect_list_type_dom',
61 'importable' => 'required',
63 'date_entered' => array (
64 'name' => 'date_entered',
65 'vname' => 'LBL_DATE_ENTERED',
68 'date_modified' => array (
69 'name' => 'date_modified',
70 'vname' => 'LBL_DATE_MODIFIED',
73 'modified_user_id' => array (
74 'name' => 'modified_user_id',
75 'rname' => 'user_name',
76 'id_name' => 'modified_user_id',
77 'vname' => 'LBL_MODIFIED',
78 'type' => 'assigned_user_name',
79 'table' => 'modified_user_id_users',
84 'modified_by_name' => array (
85 'name' => 'modified_by_name',
86 'vname' => 'LBL_MODIFIED',
88 'reportable' => false,
91 'id_name' => 'modified_user_id',
93 'duplicate_merge' => 'disabled',
95 'assigned_user_id' => array (
96 'name' => 'assigned_user_id',
97 'rname' => 'user_name',
98 'id_name' => 'assigned_user_id',
99 'vname' => 'LBL_ASSIGNED_TO',
100 'type' => 'assigned_user_name',
106 'assigned_user_name' =>
108 'name' => 'assigned_user_name',
109 'vname' => 'LBL_ASSIGNED_TO_USER',
111 'reportable' => false,
112 'source' => 'non-db',
114 'id_name' => 'assigned_user_id',
116 'duplicate_merge' => 'disabled',
118 'created_by' => array (
119 'name' => 'created_by',
120 'rname' => 'user_name',
121 'id_name' => 'created_by',
122 'vname' => 'LBL_CREATED',
123 'type' => 'assigned_user_name',
124 'table' => 'created_by_users',
128 'created_by_name' => array (
129 'name' => 'created_by_name',
130 'vname' => 'LBL_CREATED',
132 'reportable' => false,
133 'source' => 'non-db',
135 'id_name' => 'created_by',
137 'duplicate_merge' => 'disabled',
141 'vname' => 'LBL_CREATED_BY',
146 'description' => array (
147 'name' => 'description',
148 'vname' => 'LBL_DESCRIPTION',
151 'domain_name' => array (
152 'name' => 'domain_name',
153 'vname' => 'LBL_DOMAIN_NAME',
159 'name' => 'entry_count',
162 'vname'=>'LBL_LIST_ENTRIES',
166 'name' => 'prospects',
168 'relationship' => 'prospect_list_prospects',
173 'name' => 'contacts',
175 'relationship' => 'prospect_list_contacts',
182 'relationship' => 'prospect_list_leads',
187 'name' => 'accounts',
189 'relationship' => 'prospect_list_accounts',
192 'campaigns'=> array (
193 'name' => 'campaigns',
195 'relationship' => 'prospect_list_campaigns',
202 'relationship' => 'prospect_list_users',
205 'marketing_id' => array (
206 'name' => 'marketing_id',
207 'vname' => 'LBL_MARKETING_ID',
212 'marketing_name' => array (
213 'name' => 'marketing_name',
214 'vname' => 'LBL_MARKETING_NAME',
223 'name' =>'prospectlistsspk',
225 'fields'=>array('id')
228 'name' =>'idx_prospect_list_name',
230 'fields'=>array('name')
235 VardefManager::createVardef('ProspectLists','ProspectList', array(