PdcClockLine.ScheduleID: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
Created page with "== Declaration == ScheduleID as String == Description == Returns the schedule id == Notes == This property returns the ID of the active time schedule of the given person an..."
 
No edit summary
 
Line 9: Line 9:


== Code example ==
== Code example ==
This code example returns thetime schedule ID of clockline with ID "456".


<source lang="vb">
<source lang="vb">
Sub sGetClockLineScheduleID
dim objClockLine
dim intID


  intID = "456"
  set objClockLine = pdc.ProductRegistration.ClockLines.Open(intID)
  if IsValid(objClockLine) then
    msgbox objClockLine.ScheduleID
  end if
  set objClockLine = nothing
End Sub
</source>
</source>


== Availability ==
== Availability ==
Available since july 2008 (from version 3.8).
Available since july 2008 (from version 3.8).

Latest revision as of 12:30, 31 July 2013

Declaration

ScheduleID as String

Description

Returns the schedule id

Notes

This property returns the ID of the active time schedule of the given person and date.

Code example

This code example returns thetime schedule ID of clockline with ID "456".

Sub sGetClockLineScheduleID
dim objClockLine
dim intID

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

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

  set objClockLine = nothing
End Sub

Availability

Available since july 2008 (from version 3.8).