Click or drag to resize

ItemServicesGetItemHistoricalRelationships Method

Retrieves a list of the historical, immediate parent/child relationships that have existed over time for the specified 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<HistoricalRelationship> GetItemHistoricalRelationships(
	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: IEnumerableHistoricalRelationship
A list of HistoricalRelationship objects describing Items that were either a parent to this item, or children of this item in the past.
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