Is there any script or codes which can automatically assign the lead owner.
E.g, if I select lead source or any dropdown value of a field as Outdoor, it should automatically set the lead owner as a specific User.
This will only work if i have a default field in user section.
In my case the value of user field depends on the dropdown field value.
Image attached for your reference.
please make sure there is valid recipients set, otherwise per program logic, the property set will be ignored
if you would like to trigger the owner assign when out_door_source is changed after initial creation, then another email alert with “send alert on” as Value Change, change field as Out_Door_Source, others are the same.
create new lead or change existing lead , choose Under Construction Office for out door source field, after save, the owner field will be auto populated with the assigned value in email alert setting!
I have a custom field (supp_bill_no) in doc Purchase Receipt. I need to fetch this data in a field (bill_no) in Doc Purchase Invoice.
I have tried using fetch from by entering purchase_receipt.supp_bill_no in bill_no field, but it doesnt help.
Also tried making custom script in doc type Purchase invoice using
frappe.ui.form.on(‘Purchase Invoice’, {
refresh(frm) {
cur_frm.add_fetch(“supp_bill_no”, “supp_bill_no”, “bill_no”)
}
});