system.kanoa.quality.sheet.addSheetAlertGroups(chkShtId, alertGroupIdList, userId)
Adds links between a check sheet and a list of alert groups.
Parameters
chkShtId Integer: Id of check sheet
alertGroupIdList List of Integers: List of alert groups
userId Integer:Id of the user executing the function
Returns
# of records created Integer
Example
chkShtId = 56
alertGroupIdList = [1, 2, 3]
user_id = 123
retVal = system.kanoa.quality.sheet.addSheetAlertGroups(chkShtId, alertGroupIdList, userId)