BackorderPartRequest(String,DateTime,Boolean,String) Method
Part Request Detail Identifier
The DateTime the Part Request backordered parts are expected to arrive. If not set, the current time is used.
Specifies whether or not logistics transitions will be checked and the condition/status of the part request detail will be changed during the backorder operation
The serial number of the part used to backorder this Part Request
Allows for the backordering of inventory parts for a part request. This overload takes a set of required parameters for the API.
Syntax
'Declaration
Public Overloads Function BackorderPartRequest( _
ByVal _partRequestDetailIDNum_ As String, _
ByVal _expectedDate_ As Date, _
ByVal _useTransitions_ As Boolean, _
ByVal _serialNumber_ As String _
) As ToolkitResult
public ToolkitResult BackorderPartRequest(
string _partRequestDetailIDNum_,
DateTime _expectedDate_,
bool _useTransitions_,
string _serialNumber_
)
Parameters
partRequestDetailIDNum
Part Request Detail Identifier
expectedDate
The DateTime the Part Request backordered parts are expected to arrive. If not set, the current time is used.
useTransitions
Specifies whether or not logistics transitions will be checked and the condition/status of the part request detail will be changed during the backorder operation
serialNumber
The serial number of the part used to backorder this Part Request
Return Value
A ToolkitResult instance with no properties set. The properties (Objid, IDNum, etc.) are not relevant to this API.
Remarks
As in base Clarify, if a partial backorder is performed, the part request is broken up into two new part requests. The first is for the backorder (and the quantities are changed). The new part request will be created to hold the rest of the units that did not get backordered.
This API will validate that the part request can be transitioned (for the specified user) to the proper new condition.
This API will work with either quantity or serialized parts, based on the part number/site_part of the part request. If a serial number is specified, it will be used. Otherwise, the serial number will be taken from the part request.
To use primary bin suggestions/recommendations, please see the remarks on the ToLocation and/or FromLocation properties on the BackorderPartRequestSetup object.
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 BackorderPartRequestSetup object, or the useTransitions parameter of the respective overloads to false. Note that the last call to BackorderPartRequest 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 requires two other APIs (PartTransfer and CreatePartRequestDetail) to work correctly.
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