File: /home/nexper/public_html/crm/modules/jjwg_Areas/vardefs.php
<?php
$dictionary['jjwg_Areas'] = array(
'table'=>'jjwg_areas',
'audited'=>true,
'fields'=>array (
'city' =>
array (
'required' => false,
'name' => 'city',
'vname' => 'LBL_CITY',
'type' => 'varchar',
'massupdate' => 0,
'comments' => '',
'help' => 'City',
'importable' => 'true',
'duplicate_merge' => 'disabled',
'duplicate_merge_dom_value' => '0',
'audited' => false,
'reportable' => true,
'len' => '255',
'size' => '20',
),
'state' =>
array (
'required' => false,
'name' => 'state',
'vname' => 'LBL_STATE',
'type' => 'varchar',
'massupdate' => 0,
'comments' => '',
'help' => 'State',
'importable' => 'true',
'duplicate_merge' => 'disabled',
'duplicate_merge_dom_value' => '0',
'audited' => false,
'reportable' => true,
'len' => '255',
'size' => '20',
),
'country' =>
array (
'required' => false,
'name' => 'country',
'vname' => 'LBL_COUNTRY',
'type' => 'varchar',
'massupdate' => 0,
'comments' => '',
'help' => 'Country',
'importable' => 'true',
'duplicate_merge' => 'disabled',
'duplicate_merge_dom_value' => '0',
'audited' => false,
'reportable' => true,
'len' => '255',
'size' => '20',
),
'coordinates' =>
array (
'required' => false,
'name' => 'coordinates',
'vname' => 'LBL_COORDINATES',
'type' => 'text',
'massupdate' => 0,
'comments' => '',
'help' => 'Coordinates Format: Lng, Lat, Elv',
'importable' => 'true',
'duplicate_merge' => 'disabled',
'duplicate_merge_dom_value' => '0',
'audited' => false,
'reportable' => true,
'size' => '20',
'studio' => 'visible',
'rows' => '6',
'cols' => '80',
),
),
'relationships'=>array (
),
'optimistic_locking'=>true,
);
if (!class_exists('VardefManager')){
require_once('include/SugarObjects/VardefManager.php');
}
VardefManager::createVardef('jjwg_Areas','jjwg_Areas', array('basic','assignable'));