Skip to main content

system.kanoa.quality.config.duplicateCheck(chkItemId, chkItemName, userId)

Creates a copy of the passed in chkItemId with the passed in name for the new check item.


Parameters

chkItemId Integer: Id of check item to copy
chkItemName String: Name to give the copied check item
userId Integer


Returns

newChkItemId Integer


Example

chkItemId = 123
chkItemName = 'Copy of Check 1'
userId = 5
newChkItemId = system.kanoa.quality.config.duplicateCheck(chkItemId, chkItemName, userId)