fcSDK Documentation
InstallSitePart(InstallSitePartSetup,IDbTransaction) Method

Setup object for API invocation.
Database transaction under which the API will be invoked.
Used to install a site part. This overload takes a setup object and a database transaction.
Syntax
'Declaration
 
Public Overloads Function InstallSitePart( _
   ByVal setupParam As InstallSitePartSetup, _
   ByVal transaction As IDbTransaction _
) As ToolkitResult

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 part can be installed at the top level of the site, under another site part or in a bin. If the part revision to be installed has a bill of materials (BOM), that BOM will also be installed at the site under the new site part. If the sub-parts are serial tracked, the API will generate the proper new serial numbers for the sub-parts. If the part to be installed is serialized, and the quantity is > 1, the API will generate individual parts (sub-parts only).

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 2003 family

See Also

Reference

FieldOpsToolkit Class
FieldOpsToolkit Members
Overload List

 

 


© 2010 Dovetail Software, Inc. - All rights reserved.
- Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
- .NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.

Send comments on this topic.