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.245.0.0 (8.245.0.0)
Syntax public Item GetItemParent(
Guid sessionId,
Guid itemId
)
Public Function GetItemParent (
sessionId As Guid,
itemId As Guid
) As Item
public:
virtual Item^ GetItemParent(
Guid sessionId,
Guid itemId
) sealed
abstract GetItemParent :
sessionId : Guid *
itemId : Guid -> Item
override GetItemParent :
sessionId : Guid *
itemId : Guid -> Item
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:
ItemAn
Item object representing the parent of the item matching the specified Id, or null if the
Item does not have a parent.
Exceptions See Also