PartTransfer(PartTransferSetup,IDbTransaction) Method
Setup object for API invocation.
Database transaction under which the API will be invoked.
Allows parts to be transferred independent of a part request to fix order errors, correct inventory variances, move parts from one inventory location (or account) to another (without having to relate that movement to a part request), and scrap parts out of inventory.
This overload takes a setup object and a database transaction.
Syntax
'Declaration
Public Overloads Function PartTransfer( _
ByVal _setupParam_ As PartTransferSetup, _
ByVal _transaction_ As IDbTransaction _
) As PartTransferResult
public PartTransferResult PartTransfer(
PartTransferSetup _setupParam_,
IDbTransaction _transaction_
)
Parameters
setupParam
Setup object for API invocation.
transaction
Database transaction under which the API will be invoked.
Return Value
A PartTransferResult instance with no properties set. The properties (Objid, IDNum, etc.) are not relevant to this API.
Remarks
As in Clarify, the transfer can be from good or bad stock and can be to good or bad stock.
This API checks part authorization levels for auto-replenishment, and will automatically work with that engine.
To use primary bin suggestions/recommendations, please see the remarks on the ToLocation and/or FromLocation properties on the PartTransferSetup object.
This API supports transferring parts by quantity or a specific serial number.
Example
Developer Walkthrough - Transaction Support
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