Consider this below example.
Condition 1: When user tries to enter same id and same name it must throw an error A. So, in 2nd line that data is not acceptable.
Condition 2 : When user tries to enter same id , same name, and same place then it must throw an error B. 3rd line data not acceptable.
I'm able to code condition 2 individually using validateWrite() Method, but not able to add condition 1 inside same validateMethod().
When I'm trying to create second buffer value for Table, it is throwing error as "Variable xyz not used"
And when I tried with job, it is throwing error as "Error executing code: (object) has no valid runable code in method 'Job1'.Stack trace"
Please explain how to resolve these errors.
Note:- It can be done via indexing but I want to throw customized error message. So, I'm coding.
Thanks in advance :-)