Click or drag to resize

ResourceServicesUpdateStockLocations Method

Updates one or more existing StockLocations. This method will also alter the StockedPartAssignments of the StockLocations.

Namespace:  FactoryLogix.xTend.FactoryResources
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public void UpdateStockLocations(
	Guid sessionId,
	StockLocation[] stockLocations
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
stockLocations
Type: FactoryLogix.xTend.DataObjectsStockLocation
A list of updated StockLocation with valid Id properties.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
NotFoundExceptionThrown if Id property of the any of the stock locations is invalid or any internal parts of the assigned parts are not found.
AlreadyExistsExceptionThrown if StockCode property of the any of the stock locations conflicts with another StockLocation.
See Also