How to filter options in select datatype in grid view based on Item code? How to write custom scritpt for this?

I have created a project id as “table multiselect” custom field which is selected while creation of item.

While creating purchase order, project id should be displayed as selection dropdown based on item_code.

How to do the settings and custom script to achieve this. Kindly do the needfull.

Good morning, now I have the same problem as you. I want to filter the selections based on a specific thing. Do you know a solution to your problem so you can help me now?