Click or drag to resize

ItemServicesMoveItems Method

Relocates multiple Items to a new location. If the Items were previously located at a different location, they will be removed from that location. The specified barcode can represent a carrier, GRN, TransportOrder, or anItem: Carrier - all items on the carrier are moved to the new location. GRN - then all items labeled in the GRN are moved to the new location. Transport Order - all items on the transport order are moved to the new location. Item - the item along with any other Items contained within the same carrier, GRN, or transport order are moved to the new 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 MoveItems(
	Guid sessionId,
	string barcode,
	string locationCode
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
barcode
Type: SystemString
The string-based identifier of the carrier, GRN, transport order, or 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