system.kanoa.item.updateItemPeriod
Description
Updates the item period (kanoaOPS).Syntax
updateItemPeriod(periodInfo, userId)- periodInfo (Dictionary) - Dictionary containing updated period information (e.g., {'itemPeriodId': 1, 'itemPeriodName': 'second', 'enabled': True}).
- userId (Integer) - User ID.
- # of records modified (Integer).
Code Example
# Example Usage:
modifiedRecords = system.kanoa.item.updateItemPeriod({'itemPeriodId': 1, 'itemPeriodName': 'second', 'enabled': True}, 123)