Use the Delete work order command to delete a work order.
The following diagram indicates the structure of the command and its parameters.
>>-optimcmd--+- -workorder-+--action=-+-purge-+--work_order_id->< '- -w---------' '-p-----'
The following information can be entered with the command.
The following return codes can be received when you enter the command.
| Return code | Description |
|---|---|
| 0 | No errors. |
| 4 | The specified work order was not found. |
| 8 | The command was not formed correctly. |
| 12 | The command cannot connect with the connection manager. The connection manager is not active or there is no active network connection between the computer and the connection manager computer. |