PartTransfer(String,String,String,Int32,Location,Location) Method
Part number for the Part Request
Part revision for the Part Request
Part domain for the Part Request
The number of parts being transferred
Inventory location (or expense GL) and bin from which to transfer the part
Inventory location and bin (or GL account) into which the part is being transferred
Initializes a new instance of the PartTransferSetup class. This overload takes a set of required parameters for the API.
Syntax
'Declaration
Public Overloads Function PartTransfer( _
ByVal _partNumber_ As String, _
ByVal _partRevision_ As String, _
ByVal _partDomain_ As String, _
ByVal _quantity_ As Integer, _
ByVal _fromlocation_ As Location, _
ByVal _tolocation_ As Location _
) As PartTransferResult
public PartTransferResult PartTransfer(
string _partNumber_,
string _partRevision_,
string _partDomain_,
int _quantity_,
Location _fromlocation_,
Location _tolocation_
)
Parameters
partNumber
Part number for the Part Request
partRevision
Part revision for the Part Request
partDomain
Part domain for the Part Request
quantity
The number of parts being transferred
fromlocation
Inventory location (or expense GL) and bin from which to transfer the part
tolocation
Inventory location and bin (or GL account) into which the part is being transferred
Return Value
The following values are populated in the PartTransferResult object returned by the API method:
- StandardCost - Part Transfer Standard Cost.
- Objid - Objid of the Part Transfer record.
- TransactionIDNum - Part Transfer Transaction Identifier.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family