Filter field that linked with other doctype

i have full name field that linked with employee name i want show in the field. only ‘OSA NOSA’ and ignore showing other Names by using. Client Script