Click or drag to resize

KittingServicesSwapItem Method

Picks a ReplacementItem as a substitute for the reserved Item.

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<TransportOrderItem> SwapItem(
	Guid sessionId,
	Guid transportOrderItemId,
	ReplacementItem[] items
)

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 to be substituted.
items
Type: FactoryLogix.xTend.DataObjectsReplacementItem
A list of ReplacementItems returned by the FindSubstituteItem method representing the substitute Items

Return Value

Type: IEnumerableTransportOrderItem
A list of new TransportOrderItems representing the replacement line items for the original TransportOrderItem.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
NotFoundExceptionThrown if the transportOrderItemId parameter does not correspond to valid TransportOrderItem.
See Also