Command 0103 (Punch Time)

Start  Zurück  Weiter

User has selected a time type and wants to stamp.

Company and emloyee number are known from previous command 0101.

 

3 or 4 data fields separated by TAB (ASCII 9) are send to the server

 

1) Company number

2) Employee number

3) Time type number

4) Date and time as YYYYMMDDHHNNSS (see command 0001 for details of time format)

Date and time may be empty, in this case the current time of the server is used for punching

 

Company number is '0', employee number is "00002", time type is '1', take actual time from server

 

Client request:

 

+-------+-+-----------+-----------------+

|0 1 0 3|0|0 0 0 0 2 0|0 ¤ 2 ¤ 2|0 1 0 3|

+-------+-+-----------+-----------------+

 

Server answer:

 

A status code with the meaning of

'0' = Some sort of error occurred

'1' = OK, data processed

'2' = Employee not found

'3' = Time type not found or invalid time type

'4' = Day was closed by EOD, cannot stamp anymore for this day

'98' = Comes-From stamping detected, data processed

'99' = Reserved for internal use of Astice PDA

 

OK, data processed

+-------+-+-----------+-+-------+

|0 1 0 3|1|0 0 0 0 1 6|1|0 1 0 3|

+-------+-+-----------+-+-------+