system.kanoa.item.updateItemPeriod(periodInfo, userId)
Update the item period. All periodInfo keys are required.
Parameters
periodInfo Dictionary
| - enabled | Boolean | |
| - itemPeriodId | Integer | |
| - itemPeriodName | String |
userId Integer
Returns
# of records modified Integer
Example
periodInfo = {'itemPeriodId': 1, 'itemPeriodName': 'second', 'enabled': True}
modifiedRecords = system.kanoa.item.updateItemPeriod(periodInfo, 123)