Try ERPNext Try Frappe Cloud Buy Support Partners Foundation

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.