Hi,
I have created a new doctype called “Mess Option” so employees can chose to opt for lunch mess as yes or no (selection field named opt_in).
I created a salary deduction component that will deduct XXX amount from salary of employees who opt with yes.
However, when i put in condition mess_option.opt_in=Yes it gives syntax error.
What should i do plz?