Click or drag to resize

ResourceServicesGetStockLocations Method

Retrieves all immediate child StockLocations per the Id of a Stock, TemperingOven, ColdStorage, or StockLocation parent.

Namespace:  FactoryLogix.xTend.FactoryResources
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public IEnumerable<StockLocation> GetStockLocations(
	Guid sessionId,
	Guid parentId
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
parentId
Type: SystemGuid
The Id of the parent, which is of type Stock, TemperingOven, ColdStorage, or StockLocation.

Return Value

Type: IEnumerableStockLocation
A list of StockLocations that are the immediate children per the parentId.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
ResourceNotFoundExceptionThrown if a resource per the parentId is not found in the system.
See Also