Clone Method (StandardOper)
- Last UpdatedNov 06, 2025
- 1 minute read
The Clone() method adds a new standard operation record to the Std_Oper table by making a copy of an existing record.
'Declaration
Public Shared Sub Clone( _
ByVal sessionId As Integer, _
ByVal existingOperId As String, _
ByVal newOperId As String, _
ByVal newOperDesc As DBString, _
ByRef lastEditAt As Date _
)
public static void Clone(
int sessionId,
string existingOperId,
string newOperId,
DBString newOperDesc,
out DateTime lastEditAt
)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- existingOperId
- Required. Holds the ID of the operation that is being copied.
- newOperId
- Required. Holds the ID of the new operation.
- newOperDesc
- Required. Holds the description of the new operation.
- lastEditAt
- Output. Holds the returned date/time when this record was added. The lastEditAt parameter is used by other methods that modify or delete this type of record for optimistic concurrency control.