Click or drag to resize

KittingServicesFindSubstituteItem Method

Searches the system for a list of valid replacement Items for a single TransportOrderItem. This operation is used when the reserved Item cannot be found by the operator, and a replacement is necessary. ///

Namespace:  FactoryLogix.xTend.Logistics
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public IEnumerable<ReplacementItem> FindSubstituteItem(
	Guid sessionId,
	Guid transportOrderItemId
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
transportOrderItemId
Type: SystemGuid
The Id of the TransportOrderItem that needs a substitute.

Return Value

Type: IEnumerableReplacementItem
A list of ReplacementItem objects representing acceptable replacements for the specified TransportOrderItem. It may be that more than one replacement item is necessary given material quantity requirements.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
NotFoundExceptionThrown if the transportOrderItemId parameter does not correspond to valid TransportOrderItem.
See Also