CreatePartRequestDetail(String,String,Int32) Method
Parent Part Request Header Identifier
The serial number of the Site Part specified for this Part Request
The Objid of the Site Part to which this Part Request will be linked.
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 _serialNumber_ As String, _
ByVal _sitePartObjid_ As Integer _
) As CreatePartRequestDetailResult
public CreatePartRequestDetailResult CreatePartRequestDetail(
string _partRequestHeaderIDNum_,
string _serialNumber_,
int _sitePartObjid_
)
Parameters
partRequestHeaderIDNum
Parent Part Request Header Identifier
serialNumber
The serial number of the Site Part specified for this Part Request
sitePartObjid
The Objid of the Site Part to which this Part Request will be linked.
Return Value
The following values are populated in the CreatePartRequestDetailResult object returned by the API method:
- DetailNumber - Detail Number.
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