PdcClockLine.OperationLineNo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 8: | Line 8: | ||
This property returns or changes the operation line number. | This property returns or changes the operation line number. | ||
Only in case of a direct clock line this property can be filled. | 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. | 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 [[PdcClockLines.Process|pdc.ProductRegistration.Clocklines.Process]]. | ||
== Code example == | == Code example == | ||
This code example returns the operationline number of clockline with ID "456". | |||
<source lang="vb"> | <source lang="vb"> | ||
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 | |||
</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:09, 31 July 2013
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).