def METHOD_NAME(name):
	msg = f"""You can't change the {frappe.bold(_('Applicable For'))}
		because transactions are present against the Promotional Scheme {frappe.bold(name)}. """
	msg += "Kindly disable this Promotional Scheme and create new for new Applicable For."
	frappe.throw(_(msg), TransactionExists)