how to add Custom Dynamic Drop down field based on query options list Report module..?
Want to add dynamic Drop down Filed based on query data Options in Suitecrm/sugarcrm Report Module Fielter..?
how to add Custom Dynamic Drop down field based on query options list Report module..?
Want to add dynamic Drop down Filed based on query data Options in Suitecrm/sugarcrm Report Module Fielter..?
Hi Mk Gupta,
Create a field in module vardefs ,
Vardef Field Definition :
'field_name' =>
array (
'required' => false,
'name' => 'field_name',
'vname' => 'LBL_FIELD_NAME',
'type' => 'enum',
'massupdate' => true,
'no_default' => false,
'comments' => '',
'help' => '',
'importable' => 'true',
'duplicate_merge' => 'enabled',
'duplicate_merge_dom_value' => '1',
'audited' => false,
'reportable' => true,
'unified_search' => false,
'merge_filter' => 'disabled',
'calculated' => false,
'len' => 100,
'size' => '20',
'function' => 'getTimePeriod',
'dependency' => false,
),
Specify the function here in vardefs ,
Extend the Utils Dropdown options in the following folder
custom/Extension/application/Ext/Utils/some_function.php
<?php
function getTimePeriod()
{
return TimePeriod::get_timeperiods_dom();
//Write the logic here
}
Thanks and Regards,
Ragukumar Marimuthu,
ProV International,
Chennai.
Hello Thanks,
i have Used this Solution.
But its Working Only Edit View And Module like leads account and default module...
But i want to add drop down in report module at filter option. ???
Same issue. Any solution?