balabharathi
16th November 2010, 13:36
Hi ,
Do we have any DAL event to replicate check.input in BaaN V. I tried check.input but it was not firing when I tab out of that particular field.
Thanks
Regards,
BB
NPRao
17th November 2010, 00:04
Refer to - fieldname.check() (http://www.baanboard.com/programmers_manual_baanerp_help_functions_dal_fieldname_check)
In Baan-V and later versions with DAL, the check.input is not fired for table fields.
balabharathi
18th November 2010, 06:21
Hi Rao,
Thanks a lot. It would be really helpful.
Regards,
Bala..
balabharathi
19th November 2010, 06:00
Hi ,
We have used DAL event
function extern long whtus015.trip.check(long has_changed)
{
if not isspace(whtus015.trip) and has_changed then
select whtus400.trip
from whtus400
where whtus400._index1 = {:whtus015.trip}
selectdo
selectempty
dal.set.error.message("whtus4100m.01")
|Trip Id not found
return(DALHOOKERROR)
endselect
endif
return(0)
}
But this code is not working since we are modifying the particular field by clicking on the "New Group" button. But if we remove if has_changed condition it is working, but when we run other session using the Same DAL it is firing this DAL Error. Please resolve this.
Regards,
BB
NPRao
17th December 2010, 21:46
You have to debug the code and find the value of the has_changed.
balabharathi
20th December 2010, 11:52
Hi Rao,
We have debugged it and also fixed it. Problem was the DAL was not called in the Program script correctly.
Thanks a lot for your response.