PdcOnline.ClockIn

From External Bemet Wiki
Revision as of 08:29, 10 December 2014 by TC (talk | contribs) (Created page with "== Declaration == ClockIn(PersonnelNo, BadgeNo, TooLateReason as String) as Boolean == Description == Returns true or false whether the Employee succesfully clocked in == N...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Declaration

ClockIn(PersonnelNo, BadgeNo, TooLateReason as String) as Boolean

Description

Returns true or false whether the Employee succesfully clocked in

Notes

This method executes the clockin command in the Shop floor registration

Code example

This code example connects to the Onlie object and clocks the selected employee in.

dim objProj
dim strRelNr
dim strCPID

  set objProj= pdc.Projects.New
  strRelNr = pdc.ChooseRecord(0,"", "")
  strCPID = pdc.ChooseRecord(8,"", "CP_DEBNR = '" & strRelNr & "'")
  objProj.SetCustomerID(strRelNr)
  objProj.SetContactID(strCPID)
  objProj.Save
  objProj.Show

Availability

Available since 2014 (From version 4.3 onwards).