doc.purpose == “Receipt” and doc.assets[0].asset.journal_entry_for_scrap
this condition is not working in the condition field in workflow
there anyone is here who can help me?
Thanks and Regards
Shubham
doc.purpose == “Receipt” and doc.assets[0].asset.journal_entry_for_scrap
this condition is not working in the condition field in workflow
there anyone is here who can help me?
Thanks and Regards
Shubham
I think your condition should be
doc.purpose == "Receipt" and frappe.db.get_value("Assets", doc.assets[0].asset, "journal_entry_for_scrap")
did not work,
Regards
Shubham