system.kanoa.quality.config.addAttributeLink(chkItemId, attributeId, userId)
Links the attributeId to the chkItemId. This check item now has access to a datasource (tag) and tolerance specs. If this link already exists, the chkItemAttrLinkId is returned
Parameters
chkItemId Integer: Id of check item
attributeId Integer: Id of attribute
userId Integer: Id of user executing the function
Returns
chkItemAttrLinkId Integer
Example
chkItemId = 1
attributeId = 2
userId = 5
chkItemAttrLinkId = system.kanoa.quality.config.addAttributeLink(chkItemId, attributeId, userId)