Skip to main content

system.kanoa.item.updateItemPeriod(periodInfo, userId)

Update the item period. All periodInfo keys are required.


Parameters

periodInfo Dictionary

- enabledBoolean
- itemPeriodIdInteger
- itemPeriodNameString

userId Integer


Returns

# of records modified Integer


Example

periodInfo = {'itemPeriodId': 1, 'itemPeriodName': 'second', 'enabled': True}
modifiedRecords = system.kanoa.item.updateItemPeriod(periodInfo, 123)