Skip to main content

system.kanoa.quality.event.deleteChkEvent

Requires kanoaQDS license

Description

Deletes a check sheet event. Foreign keys will cascade deletions down to the chkItemEvent table.

Syntax

deleteChkEvent(chkShtEventId, userId)

Parameters:
  • chkShtEventId (int): ID of the check sheet event to be deleted.
  • userId (int): ID of the user initiating the deletion.

  • Returns:
  • recordsModified (int): Number of records modified.
  • Code Examples

    # Usage example
    chk_sht_event_id = 123
    user_id = 456
    result = system.kanoa.quality.event.deleteChkEvent(chkShtEventId=chk_sht_event_id, userId=user_id)

    print(result)