PdcClockLine.OperationNo

From External Bemet Wiki
Jump to navigation Jump to search

Declaration

OperationNo as String

Description

Returns or changes the operation numberd

Notes

This property returns or changes the operation code of the clock line. It does not adjust the operationlineno

Code example

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

Sub sGetClockLineOperationNo
dim objClockLine
dim intID

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

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

  set objClockLine = nothing
End Sub

Availability

Available since july 2008 (from version 3.8).