Filter Sales Person by User Role

I want to apply filter on sales person in Sales Order DocType where dropdown list returned those who has sales roles

Sales Person field in Sales Order is linked to “Sales Person” doctype/form. Hence you cannot set the results based on User and its role.

For that may be you can add another custom field linked to User and hide the existing field.

Thanks I will do the same as you guide me