Click or drag to resize

ResourceServices Class

Provides services which allow API consumers access factory resources defined within FactoryLogix, and modify certain specific aspects of certain resource types.
Inheritance Hierarchy
SystemObject
  xTendServicesBase
    FactoryLogix.xTend.FactoryResourcesResourceServices

Namespace:  FactoryLogix.xTend.FactoryResources
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public class ResourceServices : xTendServicesBase

The ResourceServices type exposes the following members.

Constructors
  NameDescription
Public methodResourceServices
Initializes a new instance of the ResourceServices class
Top
Methods
  NameDescription
Public methodAddStockLocations
Adds one or more StockLocations to a Stock, TemperingOven, ColdStorage, or a parent StockLocation.
Public methodDefineStockLocations
Defines the StockLocations for a pre-existing Stock, TemperingOven or ColdStorage. Any and all pre-existing StockLocations associated with the resource will be deleted, and replaced by the new StockLocations. The method will fail if there are existing StockLocations that contain inventory (Items).
Public methodDeleteStockLocations
Deletes one or more StockLocations from a Stock, TemperingOven, ColdStorage, or a parent StockLocation.
Public methodFindResource
Retrieves all factory resources defined within FactoryLogix that match the specified types.
Public methodGetAllFactories
Retrieves all factory resources defined in FactoryLogix, including their hierarchy.
Public methodGetResourcesOfType
Retrieves all factory resources defined within FactoryLogix that match the specified types.
Public methodGetStockLocations
Retrieves all immediate child StockLocations per the Id of a Stock, TemperingOven, ColdStorage, or StockLocation parent.
Public methodUpdateColdStorage
Updates the attributes of an existing ColdStorage. The ColdStorage must pre-exist within FactoryLogix. The StockLocations property of the ColdStorage will be ignored, and not altered by this method.
Public methodUpdateStock
Updates the attributes of an existing Stock. The Stock must pre-exist within FactoryLogix. The StockLocations property of the Stock will be ignored, and not altered by this method.
Public methodUpdateStockLocations
Updates one or more existing StockLocations. This method will also alter the StockedPartAssignments of the StockLocations.
Public methodUpdateTemperingOven
Updates the attributes of an existing TemperingOven. The TemperingOven must pre-exist within FactoryLogix. The StockLocations property of the TemperingOven will be ignored, and not altered by this method.
Top
See Also