
Originally Posted by
elvinjoe Hi guys,
I would like to create a field in SugarCRM that the displays a computed value.Age to be specific
I created the function getCustomerAge() in modules/CustomModule/CustomModule.php.
Added the 'function' => array('name =>''getCustomerAge', 'include' => 'modules/CustomModule/CustomModule.php.') in the field array for the computed field.
However everytime i open a record the following error occurs
Fatal error: Call to undefined function getCustomerAge() in D:\www\SugarEE_local\include\EditView\EditView2.ph p
I even tried defining and calling the default function fill_in_additional_list_fields() but the same thing happens. . . .
did I miss something. . . please enlighten me. . .
thanks
elvinjoe
Bookmarks