Auto Populate Subpanel Account Field

Hi,

I have two custom modules, Hardware and Applications. The Accounts module then has a one to many relationship to each of these modules.
Then I have a one to many relationship from the Hardware to the Applications module.

When I create an application from the Applications subpanel found within Hardware, the hardware field/relation is pre-populated, but the account field/relation isn’t.

I would like to auto populate this account field with the value found on the parent module, in this case the Hardware module (image attached).

I’ve found the following post which seems to detail what I wish to achieve however I haven’t been able to get this to work.
https://suitecrm.com/forum/developer-help/7800-subpanel-create-set-parent-of-parent-record#27493

I was wondering if anyone else had been able to achieve this/provide any assistance.
Any help would be greatly appreciated.

thanks