Click or drag to resize

BatchServicesFindWorkOrderByNumber Method

Finds an existing WorkOrder given its order number (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 WorkOrder FindWorkOrderByNumber(
	Guid sessionId,
	string orderNumber
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
orderNumber
Type: SystemString
The order number (Name property) of the order.

Return Value

Type: WorkOrder
A WorkOrder object representing the order that matches the specified order number, or null if not found.
Exceptions
ExceptionCondition
WorkOrderNotFoundExceptionThrown if a batch with matching Id property is not found in the system.
See Also