DispatchFieldEngineer(DispatchFieldEngineerSetup,IDbTransaction) Method
Setup object for API invocation.
Database transaction under which the API will be invoked.
Used to create a work order to dispatch a field engineer to a site. This overload takes a setup object and a database transaction.
Syntax
'Declaration
Public Overloads Function DispatchFieldEngineer( _
ByVal _setupParam_ As DispatchFieldEngineerSetup, _
ByVal _transaction_ As IDbTransaction _
) As ToolkitResult
public ToolkitResult DispatchFieldEngineer(
DispatchFieldEngineerSetup _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 contact and site for the dispatch will be derived from the case/subcase. If this is not correct, the address for the site for the dispatch can be specified in the site id field. If some of the contact or site information need to be overridden, the phone and address fields are used to pass in the new information.
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