Default RLI field based on parent Opportunity

Hi all,

I have a field call Branch that exists in both the Opportunity and Revenue Line Item modules.  When an RLI record is created, I want the Branch field in that record to be set to the same value as in the parent Opportunity record, unless the user has explicitly set a value.  I thought I may be able to use a Process Definition for this but it doesn't appear to be possible.

Any suggestions much appreciated.

Dave Hodgman

Parents
  • When creating RLI from subpanel-create you need to customize the js controller SubpanelListCreateView overriding the method _addCustomFieldsToBean.

    When creating RLI from regular subpanel you just need to create an extended vardefs on Opportunities for the field revenuelineitems in order to setup the attribute 'populate_list', so you can map the source (Opportunities) and target (RLI).

    Regards

    André Lopes
    Lampada Global
    Skype: andre.lampada
Reply
  • When creating RLI from subpanel-create you need to customize the js controller SubpanelListCreateView overriding the method _addCustomFieldsToBean.

    When creating RLI from regular subpanel you just need to create an extended vardefs on Opportunities for the field revenuelineitems in order to setup the attribute 'populate_list', so you can map the source (Opportunities) and target (RLI).

    Regards

    André Lopes
    Lampada Global
    Skype: andre.lampada
Children