AnsweredAssumed Answered

How to set on massupdate function for a related field

Question asked by r. adrian aguilera perez on Mar 9, 2018
Latest reply on Mar 23, 2018 by r. adrian aguilera perez

SugarCRM Enterprise, Version 7.11.1.0 (Build 153) (Winter '18)

Ondemand

 

 

Hi guys im trying to set the mass update function for a related field but is not working as i wish

 

i have this field (keyaccount) from Prospects =  Leads and this field is related tu Users

 

 

 

 

 

When i select this field in the mass update function

 

 

 

The keyaccount has no information is a text box insted of a users select list

 

 

My code is

<?php
$dictionary["Lead"]["fields"]["intk_keyaccount_rel_c"] = array (
'name' => 'intk_keyaccount_rel_c',
'type' => 'Relate',

'relationship' => 'intk_keyaccount_rel_c',
'source' => 'non-db',
'module' => 'Users',
'bean_name' => 'Lead',
'vname' => 'LBL_INTK_KEYACCOUNT_REL',
'id_name' => 'lead_id',
'massupdate' => 'true',

);

 

i followed this steps http://support.sugarcrm.com/Knowledge_Base/Studio_and_Module_Builder/Adding_a_Field_to_Mass_Update/ 

by the way what is the id_name? how can i know this info.

 

Please help. ideas?

 

Thanks

 

Adrian Aguilera

Outcomes