Getting aquainted with frappe stucture

Hello guys, am New to frappe, but already getting a grip at it, am developing a new module before intergrating erpnext into it! i wish to know if there is another way to select the field to be displayed when creating a link to a doctype apart from using a query

Not clear, please specify what you want to do?

when i create a link to the say “rooms type doctype” from my current doctype, what i see when i click that field is the room type ID “eg ebdip23lsp11” but what i want is the room type name to be displayed as options in that field. I did a query and it worked but i wish to know if there is another simpler way to specify what field should be displayed.

@djff name your room type based on your title (default is hash), check how Activity Type is named.