leaving
function
leaving |
after "arriving" you can create a "leaving"-Entry in this case beas delete the "arriving"-Entry (beas_anwstmp) and insert a "attendance"-Entry (beas_anwzeit)
in error case value=-1 errortext=long error description errortext2=short error description |
Properties
enddate (*) |
End date if you don't set the date, beas use the current date and time (from SBO-time zone) if you set the start date then you must set the start time too |
endtime (*) |
End time attention: if you set the start time, then you must set the start date too |
kstst_id |
Cost Center |
presencetype |
Presence type |
wagetype |
wage type |
costcarrier |
cost carrier |
pers_id |
Personal number |
display |
N = no direct display I = direct in new terminal Y = in "old" terminal |
udf1 .. udf4 |
UDF's |
Example
declare=mytime=ue_api_time
myattendance=pers_id=1
myattendance=leaving
if <return> = -1 then
messagebox=error$$<errortext>
end if
destroy=mytime