Hi, james
You can create an extended vardefs for the module.
Supposing you are talking about the Contacts module in the SugarCRM CE 5.0.0x version.
1. Create the file custom/Extension/modules/Contacts/Ext/Vardefs/vardefs.ext.php
2. Create an array which modify the type of the field and defines the option
PHP Code:
$dictionary['Contact']['fields']['department']['type'] = 'enum';
$dictionary['Contact']['fields']['department']['options'] = 'department_dom';
After that you have to Rebuild Extensions
Cheers
Bookmarks