Hi All,
II'm just starting to develop some modules for Sugar CRM, but I'm getting some trouble trying to find which vardefs.php I must edit so the changes to fields take effect...
I'm trying to add a simple calculation to a field:
'perc_completed' =>
array (
'required' => false,
'name' => 'perc_completed',
'vname' => 'LBL_PERC_COMPLETED',
'type' => 'currency',
//This Calculation--->!!!
'calculated' => true,
'formula' => 'divide($actual_cost, $budget)',
'enforced' => true,
'massupdate' => 0,
'comments' => '',
'help' => '',
'importable' => 'true',
'duplicate_merge' => 'disabled',
'duplicate_merge_dom_value' => '0',
'audited' => false,
'reportable' => true,
'len' => 26,
'size' => '20',
),
but when I get to the module nothing changes...
I'm editing the file //sugar2/modules/mymodule/vardefs.php
does anyone lnows the file or files I miust edit for this???
Thanks


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks