AnsweredAssumed Answered

custom dependancy for quote line items not working

Question asked by Vijayakumar S on Feb 14, 2018
Latest reply on Feb 14, 2018 by Vijayakumar S
  • I am using sugarcrm 7.9
  • I need to get product information in quote line item, inorder to validate some fields in quote line item
  • Try to achieve this with Custom dependency
  • But  it is not working in create quote page


Find my custom dependency code


$dependencies['Products']['required_sla_on_maintenance'] = array(
   'hooks' => array("edit"),
   'trigger' => 'true',
   'triggerFields' => array('trigger_field'),
    'onload' => false,
   'actions' => array(
            'name' => 'SetRequired',
            'params' => array(
                  'target' => 'target_field',
                  'value' => 'equal(related($trigger_field,


Thanks in advance