Click or drag to resize

ItemServicesDecommissionItem Method

Marks the specified Item as fully depleted (zeroes out the quantity), and marks it as decommissioned by changing its status property (ItemStatus) to ItemStatus.Depleted.

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 DecommissionItem(
	Guid sessionId,
	Guid itemId
)

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.
Exceptions
ExceptionCondition
ArgumentExceptionThrown if the itemId is invalid.
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
NotFoundExceptionThrown if an Item matching the itemId parameter does not exist.
See Also