system.kanoa.item.getItemPeriods
Description
Returns an item periodSyntax
getItemPeriods(paramsDict: PyDictionary)- paramsDict: PyDictionary - (Dictionary) i.e. {'enabled':True, 'itemPeriodId': 2, 'itemPeriodName': 'Minute'}
- (PyDataset) row corresponding to searched item period
Code Examples
# This returns the time period info for time period item named 'Hour' and enabled
paramsDict = {'enabled': True, 'itemPeriodName': 'Hour'}
system.kanoa.item.getItemPeriods(paramsDict)