Symptom
Approving a Leave Request as a manager, when both Create Entries on Approved Leave Request and Match Leave are enabled, produces the error btnSave_Click – Subquery returned more than 1 value. This is not permitted when the subquery follows =,!=, <, <=, >, >= or when the subquery is used as an expression. The statement has been terminated.
Product Line