PdcClockLine

From External Bemet Wiki
Revision as of 12:09, 21 May 2012 by Mike (talk | contribs) (Created page with "== Methods == PdcClockLine.Read<br /> PdcClockLine.Read == Properties == PdcClockLine.Read<br /> PdcClockLine.Read<br /> PdcClockLine.Read<br /> [[PdcCloc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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).