Skip to main content

system.kanoa.quality.config.sheets.deleteSheetWithHistory

Requires kanoaQDS license

Description

Deletes a check sheet and its associated check event data.

Syntax

deleteSheetWithHistory(chkShtId, userId)

Parameters:
  • chkShtId (int): ID of the check sheet to delete.
  • userId (int): User ID.

  • Returns:
  • success (bool): True if the check sheet and associated data are deleted successfully.
  • Code Examples

    # Usage example
    chk_sht_id = 56
    user_id = 123
    success = system.kanoa.quality.config.sheets.deleteSheetWithHistory(chkShtId=chk_sht_id, userId=user_id)

    print(success)