PdcClockLine.TimeType

From External Bemet Wiki
Jump to navigation Jump to search

Declaration

TimeType as String

Description

Returns the time type

Notes

This property returns or changes the time type of the clock line. It results in a surcharge on the hour rate and also raise the post calculation costs.

Code example

This code example returns the timetype of clockline with ID "456".

Sub sGetClockLineTimeType
dim objClockLine
dim intID

  intID = "456"
  set objClockLine = pdc.ProductRegistration.ClockLines.Open(intID)

  if IsValid(objClockLine) then
    msgbox objClockLine.TimeType
  end if

  set objClockLine = nothing
End Sub

Availability

Available since july 2008 (from version 3.8).