@YogiYang Your code is wrong. It should be like the following.
frm.set_query('fieldname of link field in child table', 'fieldname of child table', () => {
return {
filters: {zone: 'Zone - 1'}
};
});
@YogiYang Your code is wrong. It should be like the following.
frm.set_query('fieldname of link field in child table', 'fieldname of child table', () => {
return {
filters: {zone: 'Zone - 1'}
};
});