Unpick(String,Location) Method
Part Request Detail Identifier
The inventory location to unpick the part from for this Part Request
Allows for the unpicking (unreserving) of inventory parts for a part request.
This overload takes a set of required parameters for the API.
Syntax
'Declaration
Public Overloads Function Unpick( _
ByVal _partRequestDetailIDNum_ As String, _
ByVal _location_ As Location _
) As ToolkitResult
public ToolkitResult Unpick(
string _partRequestDetailIDNum_,
Location _location_
)
Parameters
partRequestDetailIDNum
Part Request Detail Identifier
location
The inventory location to unpick the part from for this Part Request
Return Value
A ToolkitResult instance with no properties set. The properties (Objid, IDNum, etc.) are not relevant to this API.
Remarks
This API will search in the specified location and bin (for good or bad inventory), and will unreserve it for the part request only if it was previously reserved.
WARNING: As in base Clarify, if you (for example) pick parts in multiple bins, and then try to unpick from one bin, it will try to unpick as many units as possible (quantity-tracked only). It may unpick more units in a bin than it originally picked in that bin. This is because Clarify only remembers that a part request picked against a bin (and how many units total are picked in that bin). It does not remember how many units were picked for a particular part request. Note that this is not an issue with serialized parts.
To allow for multiple calls to this API to be performed without extra complex transitions being added to the system, set the UseTransitions property of the UnpickSetup object, or the useTransitions parameter of the respective overloads to false. Note that the last call to Unpick in the chain of calls should have this value set to true to ensure the transitions are checked and the condition/status is updated properly.
If the part request was created using a serialized site part, then in order to unpick an inventory part you must use one of the serial numbers variants of this API and specify new serial numbers or use the keyword "inventory" as the only serial number. Specifying "inventory" as the only serial number will force this API to ignore the serial number stored in the part request and allow the unpick to occur from inventory parts.
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