ReplicateCR(ReplicateCRSetup,IDbTransaction) Method
Setup object for API invocation.
Database transaction under which the API will be invoked.
Replicate a CR. This overload takes a setup object and a database transaction.
Syntax
'Declaration
Public Overloads Function ReplicateCR( _
ByVal _setupParam_ As ReplicateCRSetup, _
ByVal _transaction_ As IDbTransaction _
) As ToolkitResult
public ToolkitResult ReplicateCR(
ReplicateCRSetup _setupParam_,
IDbTransaction _transaction_
)
Parameters
setupParam
Setup object for API invocation.
transaction
Database transaction under which the API will be invoked.
Return Value
A ToolkitResult instance with no properties set. The properties (Objid, IDNum, etc.) are not relevant to this API.
Remarks
The new CR is an exact copy of the original with the following exceptions:
- It has a new unique identifier for it.
- The CR history has next text added to show the start and end of the replicated CR history.
- A new activity log entry is added to show this CR is replicated. Also, an activity log entry is also added to the original CR to note that it has been replicated.
Example
Developer Walkthrough - Transaction Support
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family