PdcClockLine
Methods
PdcClockLine.Read
PdcClockLine.Read
Properties
PdcClockLine.Read
PdcClockLine.Read
PdcClockLine.Read
PdcClockLine.Read
PdcClockLine.Read
PdcClockLine.Read
PdcClockLine.Read
PdcClockLine.Read
PdcClockLine.Read
PdcClockLine.Read
PdcClockLine.Read
PdcClockLine.Read
PdcClockLine.Read
PdcClockLine.Read
PdcClockLine.Read
PdcClockLine.Read
PdcClockLine.Read
PdcClockLine.Read
PdcClockLine.Read
PdcClockLine.Read
PdcClockLine.Read
Description
Interface object for a clockline
Notes
Represents the ClockLine object. With this object a script can manipulate a single clock line. Pay attention: The sequence of filling properties is important. See the helpfile for the properties.
Code example
The following example code creates a new clock line:
Dim objClockLine
Set objClockLine = Pdc.ProductRegistration.ClockLines.New
objClockLine.PersonelNo = "1000"
objClockLine.ClockAccount = "LUNCH"
objClockLine.StartClocking = Cdate(Date)
objClockLine.EndClocking = Cdate(Date)
objClockLine.WorkedTime = 2.5
objClockLine.Save
Set objClockLine = nothing
The following example code modifies an existing clock line:
Dim aClockLine
Set aClockLine = Pdc.ProductRegistration.ClockLines.Open(567)
aClockLine.(parameter)=(value)
aClockLine.Save
Set aClockLine = nothing
Availability
Available since july 2008 (from version 3.8).