system.kanoa.item.updateItemPeriod
Description
Updates the item period.Syntax
updateItemPeriod(periodInfo, userId)Parameters:
Returns:
Dictionary
Parameter | Type | Required | Notes |
---|---|---|---|
itemPeriodId | int | e.g. 1 | |
itemPeriodName | string | e.g. 'second' | |
enabled | bool | e.g. True |
Code Examples
# Example Usage:
modifiedRecords = system.kanoa.item.updateItemPeriod({'itemPeriodId': 1, 'itemPeriodName': 'second', 'enabled': True}, 123)