Click or drag to resize

BatchServicesUpdateWorkOrder Method

Updates the editable properties of an existing WorkOrder, such as status, etc..

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 UpdateWorkOrder(
	Guid sessionId,
	WorkOrder order
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
order
Type: FactoryLogix.xTend.DataObjectsWorkOrder
A WorkOrder object containing the modified information.

Return Value

Type: WorkOrder
The updated WorkOrder object.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
WorkOrderNotFoundExceptionThrown if an order with matching Id property is not found in the system.
CustomerDoesNotExistsExceptionThrown when a Customer is not found.
VendorDoesNotExistsExceptionThrown when a Vendor is not found.
WorkOrderExceptionThrown when a Work order cannot be created such as duplicating the name.
See Also