AssignOpportunity(AssignOpportunitySetup,IDbTransaction) Method
Setup object for API invocation.
Database transaction under which the API will be invoked.
Assign the Opportunity to a new user. This overload takes a setup object and a database transaction.
Syntax
'Declaration
Public Overloads Function AssignOpportunity( _
ByVal _setupParam_ As AssignOpportunitySetup, _
ByVal _transaction_ As IDbTransaction _
) As ToolkitResult
public ToolkitResult AssignOpportunity(
AssignOpportunitySetup _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 Opportunity must be in the Open condition, and the user assigning the Opportunity does not have to be the owner of the Opportunity. In base Clarify, the assigner of a Opportunity must be the owner. If either user name is not specified, the “current” user is used. The date/time of the assignment, and the WipBin to place the Opportunity in can also be specified. Allowing a WipBin other than the default one is also an augmentation from base Clarify.
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