PdcClockLine.OperationLineNo
Declaration
OperationLineNo as long
Description
Returns or changes the operation's linenumber in the calculation
Notes
This property returns or changes the operation line number. Only in case of a direct clock line this property can be filled. If the value of the line number does not exist in the calculation (anything other than 0!), a new operation is added to the calculation with the applied line number. This is done during the processing of the clocklines, using pdc.ProductRegistration.Clocklines.Process.
Code example
This code example returns the operationline number of clockline with ID "456".
Sub sGetClockLineOperationLineNo
dim objClockLine
dim intID
intID = "456"
set objClockLine = pdc.ProductRegistration.ClockLines.Open(intID)
if IsValid(objClockLine) then
msgbox objClockLine.OperationLineNo
end if
set objClockLine = nothing
End Sub
Availability
Available since july 2008 (from version 3.8).