Show / Hide Table of Contents

CreatePart(String,String,Int32,PartRepairType) Method

Part Number for the part to create.

Domain for the part to create.

Number of warranty days for the part

Type of repair. One of "Repairable" or "Expendable"

Create a Part. This overload takes a set of required parameters for the API.

Syntax

'Declaration

Public Overloads Function CreatePart( _
   ByVal _partNumber_ As String, _
   ByVal _partDomain_ As String, _
   ByVal _warrantyDays_ As Integer, _
   ByVal _repairType_ As PartRepairType _
) As ToolkitResult
public ToolkitResult CreatePart( 
   string _partNumber_,
   string _partDomain_,
   int _warrantyDays_,
   PartRepairType _repairType_
)

Parameters

partNumber

Part Number for the part to create.

partDomain

Domain for the part to create.

warrantyDays

Number of warranty days for the part

repairType

Type of repair. One of "Repairable" or "Expendable"

Return Value

The following values are populated in the ToolkitResult object returned by the API method:

  • Objid - The Objid of the Part.

Remarks

Just calling this API will NOT cause the part to be visible in Clarify. There must be at least one Part Revision present to view a Part.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family

Reference

InterfacesToolkit Class
InterfacesToolkit Members
Overload List

Back to top © 2022 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.