PdcClockLine.PersonelNo
Jump to navigation
Jump to search
Declaration
PersonelNo as String
Description
Returns or changes the personel number
Notes
This property returns or changes the Personel number of the clock line.
The following properties are adjusted:
Personelname : Becomes the name which belongs to the personel number. If the personel is a machine, it becomes "unattended".
ScheduleID : Becomes the ID of the active time schedule of the given person an date.
Code example
This code example returns the personel number of clockline with ID "456".
Sub sGetClockLinePersonelNo
dim objClockLine
dim intID
intID = "456"
set objClockLine = pdc.ProductRegistration.ClockLines.Open(intID)
if IsValid(objClockLine) then
msgbox objClockLine.PersonelNo
end if
set objClockLine = nothing
End Sub
Availability
Available since july 2008 (from version 3.8).