def METHOD_NAME(doc):
	args = {"promotional_scheme": doc.name}
	applicable_for = frappe.scrub(doc.get("applicable_for"))
	for d in pricing_rule_fields:
		if d == applicable_for:
			items = []
			for applicable_for_values in doc.get(applicable_for):
				items.append(applicable_for_values.get(applicable_for))
			args[d] = items
		else:
			args[d] = doc.get(d)
	return args