Hi
i try to call a function that creates in Server Script Side
on do some action in button click on custom script
and search on many topics and can find how to do that
its keep saying can’t find function
frappe.listview_settings[‘Customer’] = {
onload: function (listview) {
listview.page.add_action_item((“Item Coding Request”), function (event) {
var selected_rows = listview.get_checked_items();
if (!selected_rows) {
frappe.msgprint((“Please select the customers to perform this action”));
return;
}
var selected_customers = selected_rows.map(function (row) {
return row.name;
});
frappe.call({
It keeps saying it can`t find the method I try to select the server script in Customer Doctype
method: "custom_scripts.item_coding_request.login_to_marketplace",
callback: function (response) {
console.log(response);
frappe.msgprint(response.message);
}
});
});
}
};