I want to help for create cutome field programmatically step by step.
Please follow the instructions on: http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_7.9/User_Interface/Fields/Creating_Custom_Fields/#Adding_the_Field_Type_to_Studio