AnsweredAssumed Answered

Sugar 7.2.1 how to populate parent_name from Sales Opportunities, in a customized bwc Meeting module?

Question asked by Orlando Briceno on Oct 4, 2015
I have a custom Meetings module in Sugar 7.2.1 enterprise.

I have ax Flex Relate parent_name field that I want it to be auto populated depending on which module 'invokes' the Meetings module, this works for Accounts, Project Opportunities (A from scratch module of us), but not for standard Sales Opportunities.

I enabled the Meetings subpanel in the Sales Opportunities module, so when I go to a Sales Opp I am able to go and create a new meeting, but the Sales Opp name, doesn't get populated in the Meeting.

array (      'name' => 'parent_name',
  'customLabel' => '{sugar_translate label=\'LBL_MODULE_NAME\' module=$fields.parent_type.value}:',
  //'customCode' => '<input type="text" value="ORLY - {$fields.parent_type.value}"',
  'displayParams' =>
    array (
    'class' => 'sqsEnabled sqsNoAutofill orly',

 // created: 2014-02-18 23:19:08
 // created: 2014-02-18 23:19:08

 // created: 2014-02-18 23:19:08


I can't find anywhere where the parent_name, parent_type, parent_id parameters get assigned explicitly to the input field or to a property anywhere, any advice on where to find it?

This should be an out of the box behavior? 

thanks in advance!