# system.kanoa.order.deleteProductionOrder(workOrderId, userId)

Deletes a production order

---
### Parameters
**workOrderId** `Integer`<br />
**userId** `Integer`: Id of user executing the function<br />

---
### Returns
**success** `Boolean`<br />
**# of records modified or error message** `String`<br />

---
### Example
```python
success, message = system.kanoa.order.deleteProductionOrder(1, 123)
```
