system.kanoa.item.updateItemClass
Description
Updates an item class (kanoaOPS).Syntax
updateItemClass(itemClassInfo, userId)- itemClassInfo (Dictionary) - Dictionary containing updated item class information (e.g., {'itemClassId': 1, 'parentId': 56, 'itemClassName': 'FG', 'itemClassDescription': 'Finished Goods', 'itemId': 1, 'itemClassColor': '#FF00FF', 'enabled': True}).
- userId (Integer) - User ID.
- # of records modified (Integer).
Code Examples
# Example Usage:
modifiedRecords = system.kanoa.item.updateItemClass({'itemClassId': 1, 'parentId': 56, 'itemClassName': 'FG', 'itemClassDescription': 'Finished Goods', 'itemId': 1, 'itemClassColor': '#FF00FF', 'enabled': True}, 123)