RelateContractItemToSitePart(Int32,String,String,String,String) Method
The objid of the Contract for this Line Item.
The number of the part for the Line Item.
The domain of the part for the Line Item.
The revision of the part for the Line Item.
The serial number of the site part for thie Line Item.
Used to relate (or unrelate) a Site Part from a contract line item. This overload takes a set of required parameters for the API.
Syntax
'Declaration
Public Overloads Function RelateContractItemToSitePart( _
ByVal _contractObjid_ As Integer, _
ByVal _partNumber_ As String, _
ByVal _partDomain_ As String, _
ByVal _partRevision_ As String, _
ByVal _serialNumber_ As String _
) As ToolkitResult
public ToolkitResult RelateContractItemToSitePart(
int _contractObjid_,
string _partNumber_,
string _partDomain_,
string _partRevision_,
string _serialNumber_
)
Parameters
contractObjid
The objid of the Contract for this Line Item.
partNumber
The number of the part for the Line Item.
partDomain
The domain of the part for the Line Item.
partRevision
The revision of the part for the Line Item.
serialNumber
The serial number of the site part for thie Line Item.
Return Value
A ToolkitResult instance with no properties set. The properties (Objid, IDNum, etc.) are not relevant to this API.
Remarks
The line item’s objid is specified, along with the details for locating the site_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
ContractsToolkit Class
ContractsToolkit Members
Overload List