Showing field from table in detail view

Hello,
I am using Version 7.10.11
Sugar Version 6.5.25 (Build 344)

I made custom module “test” in module builder with a text field “auto” . Default value for “auto” is 1. When i create new record with module “test” it saves information in database in table “test” : records id and field “auto” value. Like this
[table]
[tr]
[td]id[/td]
[td]auto[/td]
[/tr]
[tr]
[td]2b09f11b-acc5-9d2d-226d-5c3eece6a0b8[/td]
[td]1[/td]
[/tr]
[/table]

I want to make that in detail view i have a field “auto” witch displays id value from the “test” modules table in database. What do i have to do to make this happen.

I am new to suitecrm and php , so i would very much appreciate your help.
Thank you!

Here some ideas:

https://community.sugarcrm.com/thread/21184

What exactly you need?
Just printing ID on detailView?

Yes i want to print ID on detailView, this way i will also understand how to get data out of database.
Thanks!

Just make a after retrieve hook , assign ID to auto field.