Skip to main content

system.kanoa.sheet.addItemClasses(chkShtId, itemIdList, userId)

Adds links between a check sheet and a list of item classes. An entry in this table indicates that this check sheet is valid for this item class.


Parameters

chkShtId Integer: Id of check sheet
itemClassIdList list[iunt]: list of itemClassId's
userId Integer


Returns

# of records created Integer


Example

chkShtId = 56
itemClassIdList = [1, 2, 3]
userId = 5
retVal = system.kanoa.quality.sheet.addItemClasses(chkShtId, itemClassIdList, userId)