Add View details option to dialog field

Hello, friends

I need to add View details option to several dialog fields (screenshot). I see that the option is automatically implemented for some of them - Vendor account, Invoice account. I need to implement the option for Tractor Number, Trailer Number. All fields are extended data types (for example, Vendor account - VendAccount, TractorNumber - TMSTractorNumber). It would be nice if you could explain me why you cant see the View details option for all the fields and how to add the option manually?

Best regards,