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['ImportMap'] = array (
39 'table' => 'import_maps',
40 'comment' => 'Import mapping control table',
48 'comment' => 'Unique identifier',
52 'vname' => 'LBL_NAME',
56 'comment' => 'Name of import map',
60 'vname' => 'LBL_SOURCE',
66 'enclosure' => array (
67 'name' => 'enclosure',
68 'vname' => 'LBL_CUSTOM_ENCLOSURE',
75 'delimiter' => array (
76 'name' => 'delimiter',
77 'vname' => 'LBL_CUSTOM_DELIMITER',
86 'vname' => 'LBL_MODULE',
90 'comment' => 'Module used for import',
94 'vname' => 'LBL_CONTENT',
96 'comment' => 'Mappings for all columns',
98 'default_values' => array (
99 'name' => 'default_values',
100 'vname' => 'LBL_CONTENT',
102 'comment' => 'Default Values for all columns',
104 'has_header' => array (
105 'name' => 'has_header',
106 'vname' => 'LBL_HAS_HEADER',
110 'comment' => 'Indicator if source file contains a header row',
114 'vname' => 'LBL_DELETED',
118 'comment' => 'Record deletion indicator',
120 'date_entered' => array (
121 'name' => 'date_entered',
122 'vname' => 'LBL_DATE_ENTERED',
123 'type' => 'datetime',
125 'comment' => 'Date record created',
127 'date_modified' => array (
128 'name' => 'date_modified',
129 'vname' => 'LBL_DATE_MODIFIED',
130 'type' => 'datetime',
132 'comment' => 'Date record last modified',
134 'assigned_user_id' => array (
135 'name' => 'assigned_user_id',
136 'rname' => 'user_name',
137 'id_name' => 'assigned_user_id',
138 'vname' => 'LBL_ASSIGNED_TO',
139 'type' => 'assigned_user_name',
144 'comment' => 'Assigned-to user',
146 'is_published' => array (
147 'name' => 'is_published',
148 'vname' => 'LBL_IS_PUBLISHED',
153 'comment' => 'Indicator if mapping is published',
158 'name' =>'import_mapspk',
160 'fields'=>array('id')
163 'name' =>'idx_owner_module_name',
165 'fields'=>array('assigned_user_id','module','name','deleted')
170 $dictionary['UsersLastImport'] = array (
171 'table' => 'users_last_import',
172 'comment' => 'Maintains rows last imported by user',
180 'comment' => 'Unique identifier'
182 'assigned_user_id' => array (
183 'name' => 'assigned_user_id',
184 'rname' => 'user_name',
185 'id_name' => 'assigned_user_id',
186 'vname' => 'LBL_ASSIGNED_TO',
187 'type' => 'assigned_user_name',
192 'comment' => 'User assigned to this record'
194 'import_module' => array (
195 'name' => 'import_module',
196 'vname' => 'LBL_BEAN_TYPE',
199 'comment' => 'Module for which import occurs'
201 'bean_type' => array (
202 'name' => 'bean_type',
203 'vname' => 'LBL_BEAN_TYPE',
206 'comment' => 'Bean type for which import occurs'
210 'vname' => 'LBL_BEAN_ID',
213 'comment' => 'ID of item identified by bean_type'
217 'vname' => 'LBL_DELETED',
221 'comment' => 'Record deletion indicator'
226 'name' =>'users_last_importpk',
228 'fields'=>array('id')
231 'name' =>'idx_user_id',
233 'fields'=>array('assigned_user_id')