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.245.0.0 (8.245.0.0)
Syntax public WorkOrder FindWorkOrderByNumber(
Guid sessionId,
string orderNumber
)
Public Function FindWorkOrderByNumber (
sessionId As Guid,
orderNumber As String
) As WorkOrder
public:
virtual WorkOrder^ FindWorkOrderByNumber(
Guid sessionId,
String^ orderNumber
) sealed
abstract FindWorkOrderByNumber :
sessionId : Guid *
orderNumber : string -> WorkOrder
override FindWorkOrderByNumber :
sessionId : Guid *
orderNumber : string -> WorkOrder
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:
WorkOrderA
WorkOrder object representing the order that matches the specified order number, or null if not found.
Exceptions See Also