Skip to main content

system.kanoa.item.updateItemField(itemId, field, value, userId)

Updates an items field value


Parameters

itemId Integer: Id of item to update
field String: i.e 'itemName', 'itemDescription': 'itemClassId', 'itemColor': 'enabled'
value pyObject: corresponds to the field data type
userId Integer


Returns

# of records modified Integer


Example

retVal = system.kanoa.item.updateItemField(1, 'itemName', 'NewName', 123)