Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Validation in HRPAD00INFTY update method

Former Member
0 Likes
346

Dear Experts,

when employee is applying for minus annual leave, system should check whether he has any annual leave balance, if he has system should raise an error message.

I used HRPAD00INFTY and in update method i checked the condition for sub type and write error message using message class eg. MESSAGE E000(ZERROR) and system is giving error message.

If i press enter again record gets created. i need to restrict creation of this record. when i checked in debugging, system is choosing another sub type, so my conditon fails and record gets created.

i searched in forums not able to find soln solution. please give soln solution for this. .

Reagards,

Thanesh

Edited by: Thomas Zloch on Jan 19, 2012

1 REPLY 1
Read only

Former Member
0 Likes
275

Solved by using after input method. but how to make raise error message on saving not by pressing any key?