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.245.0.0 (8.245.0.0)
Syntax public Batch FindBatchByName(
Guid sessionId,
string name
)
Public Function FindBatchByName (
sessionId As Guid,
name As String
) As Batch
public:
virtual Batch^ FindBatchByName(
Guid sessionId,
String^ name
) sealed
abstract FindBatchByName :
sessionId : Guid *
name : string -> Batch
override FindBatchByName :
sessionId : Guid *
name : string -> Batch
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:
BatchA fully populated
Batch object that matches the specified name, or null if not found.
Exceptions See Also