system.kanoa.inventory.updatePart(partInfo, userId)
Updates a part record.
Parameters
partInfo Dictionary
| - defaultUomId | Integer | |
| - enabled | Boolean | |
| - isConsumable | Boolean | |
| - isCriticalSpare | Boolean | |
| - isRepairable | Boolean | |
| - isSerialized | Boolean | |
| - manufacturerId | Integer | |
| - manufacturerPartNumber | String | |
| - notes | String | |
| - partCategoryId | Integer | |
| - partDescription | String | |
| - partId | Integer | |
| - partNumber | String |
userId Integer:Id of the user executing the function
Returns
# of records modified Integer
message String None if success
Example