use frm.set_query
eg:
frm.set_query(‘batch_no’, ‘ypur_child_table’, () => {
return {
filters: {
batch: ‘your_batch’
}
}
})
use frm.set_query
eg:
frm.set_query(‘batch_no’, ‘ypur_child_table’, () => {
return {
filters: {
batch: ‘your_batch’
}
}
})