# system.kanoa.inventory.deleteSupplier(supplierId, userId)

Deletes the supplier record identified by the passed `supplierId`. 
This is a hard delete against the supplier table and should generally be gated behind a check that no open purchase orders or parts reference the supplier before calling. 
The `userId` is recorded for auditing who performed the deletion.

---
### Parameters
**supplierId** `Integer`: Id of supplier to delete<br />
**userId** `Integer`:Id of the user executing the function<br />

---
### Returns
**# of records modified** `Integer`<br />
**message** `String` None if success<br />

---
### Example
```python
supplierId = 4417
userId = system.kanoa.security.getIDPUserId({'userName': 'SYSTEM'})
recordsModified, message = system.kanoa.inventory.deleteSupplier(supplierId, userId)
print recordsModified, message
```
