AddServiceInterruption(AddServiceInterruptionSetup,IDbTransaction) Method
Setup object for API invocation.
Database transaction under which the API will be invoked.
Adds a service interruption (and creates an appointment record). This overload takes a setup object and a database transaction.
Syntax
'Declaration
Public Overloads Function AddServiceInterruption( _
ByVal _setupParam_ As AddServiceInterruptionSetup, _
ByVal _transaction_ As IDbTransaction _
) As AddServiceInterruptionResult
public AddServiceInterruptionResult AddServiceInterruption(
AddServiceInterruptionSetup _setupParam_,
IDbTransaction _transaction_
)
Parameters
setupParam
Setup object for API invocation.
transaction
Database transaction under which the API will be invoked.
Return Value
A AddServiceInterruptionResult instance with no properties set. The properties (Objid, IDNum, etc.) are not relevant to this API.
Remarks
The start/end time can be specified either with both times or with one time and a duration. The duration is specified in seconds.
Each appointment must be specified for a given case or a piece of equipment (site_part), but both cannot be specified. If a case is specified, the case must have a related site_part.
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