Skip to main content

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

Updates the part inventory policy field with the passed value for the partInventoryPolicyId


Parameters

partInventoryPolicyId Integer: Id of part inventory policy to update
field String: Valid options are partId, inventoryAssetId, minQty, maxQty, reorderPointQty, reorderQty, safetyStockQty, countFrequencyDays, isStocked
value String: Value to update to
userId Integer:Id of the user executing the function


Returns

# of records modified Integer
message String None if success


Example