system.kanoa.quality.config.deleteAttributeLink
Description
Deletes the attribute Id link for the chkItem if it exists in KanoaQDS.Syntax
deleteAttributeLink(chkItemId, userId)- int chkItemId - ID of the check item.
- int userId - User ID
- int chkItemAttrLinkId - ID of the link deleted.
Code Examples
# Usage example
chk_item_id = 1
user_id = 123
deleted_link_id = system.kanoa.quality.config.deleteAttributeLink(chkItemId=chk_item_id, userId=user_id)
if deleted_link_id is not None:
print(f"Successfully deleted link with ID {deleted_link_id}")