How to disable Inactive employee list to be displayed in any form?

In Create quotation form, there is a field called Quoted by which displays the list of user name of team members which has linked to the employee list.

Issue is: it is listing out all the employee list even though those employee records are
In-active in employee list.

We required only active employee list should be displayed

@Nibedita_Gouda give more details pelase

In Create quotation form, there is a field called Quoted by which displays the list of user name of team members which has linked to the employee list.

Issue is: it is listing out all the employee list even though those employee records are
In-active in employee list.

We required only active employee list should be displayed.

This needs customization as per Doctype with

frm.set_query

Method used in custom app or Client Script