How to get Item drop down where status is equal to Variant

I have created one new child table for item dropdown
and I called it in one of the Doctype but it is showing all items in that dropdown but I need item dropdown where status== Variant.

Can anyone suggest me how to get it?

hi @subhambaral I believe you need to make a change to the template for certain fields, and then based on the setting, values of the fields will be propagated to all variants created from that template.

Hello,Thank you for your input.

based one the setting didn’t understand.

I want to do it by custom script…can any one help me?
If any one suggest me any other way…so I can try

I have done make changes status Variant and Template.

drop down is showing correctly in exist format doctype but new doctype having issue.