CreatePartRequestDetail(String,String,String,String,String) Method
Parent Part Request Header Identifier
The Part Request number
The Part Request domain
The Part Request revision
The serial number of the Site Part specified for this Part Request
Used to create a new part request detail.
This overload takes a set of required parameters for the API.
Syntax
'Declaration
Public Overloads Function CreatePartRequestDetail( _
ByVal _partRequestHeaderIDNum_ As String, _
ByVal _partNumber_ As String, _
ByVal _partDomain_ As String, _
ByVal _partRevision_ As String, _
ByVal _serialNumber_ As String _
) As CreatePartRequestDetailResult
public CreatePartRequestDetailResult CreatePartRequestDetail(
string _partRequestHeaderIDNum_,
string _partNumber_,
string _partDomain_,
string _partRevision_,
string _serialNumber_
)
Parameters
partRequestHeaderIDNum
Parent Part Request Header Identifier
partNumber
The Part Request number
partDomain
The Part Request domain
partRevision
The Part Request revision
serialNumber
The serial number of the Site Part specified for this Part Request
Return Value
The following values are populated in the CreatePartRequestDetailResult object returned by the API method:
- DetailNumber - Detail Number.
- Objid - The Objid of the DemandDetail.
Remarks
This API requires a part request header in addition to a part or site_part. If the site_part record is already known, it can be specified using sitePartObjid parameter or the SitePartObjid property on the CreatePartRequestDetailSetup object. Otherwise, the part_num, mod_level, and domain define the part (which can be specified either via parameters to one of this API's overloads, or via the respective properties on the CreatePartRequestDetailSetup object). If a serialized site_part was specified, the serial number should be specified instead of quantity. Otherwise, the quantity must be specified.
NOTE: If using the overload of this API that takes a CreatePartRequestDetailSetup object, the ContractItemObjid property should not be set (left as default) unless you need this functionality AND have installed the First Choice ClearCallCenter for ClearLogistics product and required schema changes. If you do not have this product and wish to use this functionality, please contact First Choice Software.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family
Reference
LogisticsToolkit Class
LogisticsToolkit Members
Overload List