AnsweredAssumed Answered

Auto pupulate fields value from one module to another based on relationship field value

Question asked by Lavanya MR on Oct 17, 2018

Hi all,

I have two modules, Cases and Assets. Assets is a custom module. I have created relationship between these two modules. If i select Assets(asset_assets_cases_1_name) in cases, some fields from Assets should populate in Cases module.

 

I have used below code and unable to populate account_name(relationship field for Cases and Account),

$dictionary['Case']['fields']['asset_assets_cases_1_name']['populate_list']['testaccountname_c']='account_name';
$dictionary['Case']['fields']['asset_assets_cases_1_name']['populate_list']['testaccountname_c']='testfield_c';

 

In above example, i can able to populate same value in testfield_c field and its a text field but not in relationship field account_name in Cases based on Assets.

 

Please any one suggest the solution for my problem.

 

Thanks & regards,

Lavanya

Outcomes