Skip to main content

system.kanoa.quality.config.deleteAttributeLink

This function requires KanoaQDS module

Description

Deletes the attribute Id link for the chkItem if it exists in KanoaQDS.

Syntax

deleteAttributeLink(chkItemId, userId)
  • Parameters
      int chkItemId - ID of the check item.
      int userId - User ID
  • Returns
      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}")