Click or drag to resize

ItemServicesMoveItem Method

Relocates the specified Item to a new location. If the Item was previously located at a different location, it will be removed from that location.

Namespace:  FactoryLogix.xTend.Logistics
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public void MoveItem(
	Guid sessionId,
	Guid itemId,
	string locationCode
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
itemId
Type: SystemGuid
An Item object representing the new item to be processed.
locationCode
Type: SystemString
The new stock location code (destination) for the Item.
Exceptions
ExceptionCondition
ArgumentExceptionThrown if some of provided parameters is invalid.
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
NotFoundExceptionThrown if an Item matching the itemId parameter does not exist.
StockLocationNotFoundExceptionThrown if the locationCode parameter does not specify a valid location code.
StockLocationViolationExceptionThrown if the Item cannot be moved because configured rules for that location would be violated. For example, perhaps the location specified is not valid for the given part number.
See Also