Causes the specified part request to have units received against it.
This overload takes a set of required parameters for the API.'Declaration
Public Overloads Function ReceivePartRequest( _ ByVal partRequestDetailIDNum As String, _ ByVal quantity As Integer, _ ByVal toLocation As Location, _ ByVal useTransitions As Boolean _ ) As ToolkitResult
public ToolkitResult ReceivePartRequest( string partRequestDetailIDNum, int quantity, Location toLocation, bool useTransitions )
This API supports a partial receive similar to the functionality in Clarify (as of Clarify 7.0). If only part of the Part Request is received, this API will create a new part request to handle the rest (unreceived) units of the part request.
To use a primary bin suggestion/recommendation that has been previously configured, use the special constructor for the Location object and set the isPrimaryBinSuggestion parameter to true.
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 ReceivePartRequestSetup object, or the useTransitions parameter of the respective overloads to false. Note that the last call to ReceivePartRequest 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.
NOTE: This API must be called in conjunction with the PartTransfer API to work correctly.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family