system.kanoa.inventory.updatePartField(partId, field, value, userId)
Updates the part field with the passed value for the partId
Parameters
partId Integer: Id of part to update
field String: Valid options are partNumber, partDescription, partCategory, manufacturerId, manufacturerPartNumber, defaultUomId, isCriticalSpare, isRepairable, isSerialized, isConsumable, isActive, notes
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