PHP Code:
$dictionary['Opportunity'] = array('table' => 'opportunities','audited'=>true, 'unified_search' => true,'duplicate_merge'=>true,
'comment' => 'An opportunity is the target of selling activities',
'fields' => array (
'name' =>
array (
'name' => 'name',
'vname' => 'LBL_OPPORTUNITY_NAME',
'type' => 'name',
'dbType' => 'varchar',
'len' => '50',
'unified_search' => true,
'comment' => 'Name of the opportunity',
'merge_filter' => 'selected',
'importable' => 'required',
'required' => true,
),
'opportunity_type' =>
array (
'name' => 'opportunity_type',
'vname' => 'LBL_TYPE',
'type' => 'enum',
'options'=> 'opportunity_type_dom',
'len' => '255',
'audited'=>true,
'comment' => 'Type of opportunity (ex: Existing, New)',
'merge_filter' => 'enabled',
),
/* 'account_name' =>
array (
'name' => 'account_name',
'rname' => 'name',
'id_name' => 'account_id',
'vname' => 'LBL_ACCOUNT_NAME',
'type' => 'relate',
'table' => 'accounts',
'join_name'=>'accounts',
'isnull' => 'true',
'module' => 'Accounts',
'dbType' => 'varchar',
'link'=>'accounts',
'len' => '255',
'source'=>'non-db',
'unified_search' => true,
'required' => true,
'importable' => 'required',
'required' => true,
),*/
Bookmarks