Filtering Selling Price List in Stock Entry

Hello! I got help with creating a custom script that allows me to view price list rates in stock entry. I would like to filter the Selling Price List (link field) to only active Selling Rates. Can someone show me how to use get_query for this existing code? Thanks!

> frappe.ui.form.on("Stock Entry Detail", {
>     item_code: function(frm, cdt, cdn) {
>         child = locals[cdt][cdn];
>         me.frm.call({
>             method: "frappe.client.get_value",
>             args: {
>                 doctype: "Item Price",
>                 fieldname: "price_list_rate",
>                 filters: { item_code: child.item_code, price_list : frm.doc.selling_price_list},
>             },
>             callback: function(r, rt) {
>                 if(r.message) {
>                     frappe.model.set_value(cdt, cdn, 'price_list_rate', r.message.price_list_rate)
>                 }
>             }
>         });
>     }
> })

Hello,

Please check following for the reference.