# system.kanoa.inventory.updatePartInventoryPolicyField(partInventoryPolicyId, field, value, userId)

Updates a single named field on an existing part inventory policy record identified by `partInventoryPolicyId`. 
The policy governs stocking behavior for a part at an inventory asset (bin/location) � quantities such as min/max, reorder point, reorder quantity, safety stock, count frequency, and the stocked flag. 
The change is attributed to the user identified by `userId` for audit-trail purposes.

---
### Parameters
**partInventoryPolicyId** `Integer`: Id of part inventory policy to update<br />
**field** `String`: Valid options are partId, inventoryAssetId, minQty, maxQty, reorderPointQty, reorderQty, safetyStockQty, countFrequencyDays, isStocked<br />
**value** `String`: Value to update to<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
partInventoryPolicyId = 77
field = 'reorderPointQty'
value = 25
userId = system.kanoa.security.getIDPUserId({'userName': 'SYSTEM'})

recordsModified, message = system.kanoa.inventory.updatePartInventoryPolicyField(partInventoryPolicyId, field, value, userId)
print recordsModified, message
```
