Sorry if this is the wrong place to ask this, but I cannot find a better place to ask.
I am running KINAMU Reporter on Sugar 6.2.0. I would like to concatenate two fields in a custom module for display in a report as a single field. I've followed the steps here:
http://dl.sugarforge.org/kinamurepor...1.5_Part_2.pdf
After rebuilding the Sugar install, I still cannot see my custom field for selection when creating a report.
Is this a feature that should be available in the free version of this plugin, or is it just for the pro version? The documentation is pretty hard to navigate, and I just can't see the answer anywhere.
-- Jason
Edited:
Just to add some detail, I've created the file:
custom/Extension/module/Options/Ext/Vardefs/sugarfield_kreporter_option_label_concat.php
The file name itself I have just made up to be unique (so maybe it is not working because it needs to follow some kind og pattern? The code is:
<?php
// 2011-10-14 JDJ Concatenate the option code and name into a reportable field.
$dictionary['Options']['fields']['option_label'] = array(
'name' => 'option_label',
'vname' => 'LBL_OPTION_LABEL',
'source' => 'non-db',
'type' => 'kreporter',
'report_data_type' => 'varchar',
'eval' => 'CONCAT($.code, \': \', $.name)',
);
Where 'code' and 'name' are the two fields I would like to concatenate in my custom "options" module.


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks