Click or drag to resize

ItemServicesGetItemParent Method

Retrieves the immediate parent of an Item, given it's Id property.

Namespace:  FactoryLogix.xTend.Logistics
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public Item GetItemParent(
	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
The 128-bit unique identifier of the Item. Corresponds to its primary key in the FactoryLogix database.

Return Value

Type: Item
An Item object representing the parent of the item matching the specified Id, or null if the Item does not have a parent.
Exceptions
ExceptionCondition
ArgumentExceptionThrown if the itemId is invalid.
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
NotFoundExceptionThrown if the itemId parameter specifies an Item that does not exist.
See Also