Showing fields from related module in detail view

I have a related field called ‘REMODELING STORE’ on my ‘CONTRACT’ record. I would like to show some fields from the related ‘REMOD_MAG_2000’ record on the detail view of the REMODELING record.
For example,
The Year-end dividend for ‘TEST3’ Contract is ‘REMOD_MAG_2000’.
I would like to show the :

  • Remodeling rates
  • Package remodeling
    fields of REMOD_MAG_2000, on the detail view of the year-end dividend TEST3.

I have accomplished what you are looking for by following the tutorial at the link: https://johndopenotes.wordpress.com/2013/03/18/sugarcrm-populating-fields-using-a-relate-field/