Click or drag to resize

BatchServicesFindBatchByName Method

Finds an existing Batch given its name (which must be unique within the system). Returns null if the specified order cannot be found.

Namespace:  FactoryLogix.xTend.Production
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public Batch FindBatchByName(
	Guid sessionId,
	string name
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
name
Type: SystemString
The name of the Batch

Return Value

Type: Batch
A fully populated Batch object that matches the specified name, or null if not found.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
See Also