Auto-completing fields based on selections - Custom Module

We sell large machines, and everytime we sell one of these we want to record an “Asset” to the customer with a Serial Number.

I have created a Custom Module called Assets which is associated to
Accounts
Cases
Contracts
Product

The process works well but I want to improve on it.

In “cases” when the user selects an asset from the Assets module, I would like it to automatically complete the “Product” and “Accounts” field in the necessary fields in Cases.

Is their a simple concept that I can use for this?

Hi DCPaus,

It is required to write a code for it.

Have a look at this post - http://developer.sugarcrm.com/2011/08/31/howto-using-a-relate-field-to-populate-a-custom-field/

Asset should be related with single Account , single product.

Regards,
Alpesh Savaliya