WO Class Methods
- Last UpdatedNov 06, 2025
- 4 minute read
For a list of all members of this type, see WO members.
| Name | Description | |
|---|---|---|
![]() ![]() | Add | The Add() method adds a new work order record to the WO table. |
![]() ![]() | AssignToOrRemoveFromLine | The AssignToOrRemoveFromLine() method assigns a work order to a line or removes it. If performing an assignment, the position, aka sequence number, in the line's work order queue can be specified. (Note: the name of the method is slightly different from the corresponding stored procedure due to a warning generated by Visual Studio when using the prefix "un".) |
![]() ![]() | CreateWoForALine | Overloaded. The CreateWoForALine() method adds a work order for a line to the WO table. |
![]() ![]() | Delete | The Delete() method deletes the specified work order record from the WO table. |
![]() ![]() | DeleteAll | The DeleteAll() method deletes the specified work order record from the WO table. |
![]() ![]() | GetAll | Overloaded. The GetAll() method retrieves one or more work order records from the WO table, as specified by the filter parameters. Passing no filter parameters will retrieve all work order records from the table. |
![]() ![]() | GetByFilter | Overloaded. The GetByFilter() method retrieves the work order records from the WO table, as specified by the filter parameters. Passing null as the work order ID, null as the item ID, and false for running, ready, onhold, suspended, new, and complete will retrieve all work order records from the table. |
![]() ![]() | GetByKey | The GetByKey() method retrieves the specified work order record from the WO table. |
![]() ![]() | GetManufacturingOrders | The GetManufacturingOrders() method retrieves a list of distinct manufacturing orders from the WO table. |
![]() ![]() | GetNextWoId | The GetNextWoId() method retrieves the next work order ID based on the format set in the System_Attr table. |
![]() ![]() | GetTargetWOContainsSERItems | The GetTargetWOContainsSERItems() method retrieves a list of work orders that produces serialized items. |
![]() ![]() | ReassignWoToALine | Overloaded. The ReassignWoToALine() method reassigns an existing work order to a line. |
![]() ![]() | SetStatus | The SetStatus() method changes the status of a work order by adjusting the states of one or more of the work order's underlying jobs. Note that, in some cases, the new status of the work order may not match the requested status. |
![]() ![]() | Update | Overloaded. The Update() method updates all columns for the specified work order record in the WO table. |
![]() ![]() | UpdateSpecific | Overloaded. The UpdateSpecific() method updates selected columns for the specified work order record in the WO table. |

