Skip to main content

system.kanoa.quality.event.deleteChkEvent

This function requires KanoaQDS module

Description

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

Syntax

deleteChkEvent(chkShtEventId, userId)
  • Parameters
      chkShtEventId - ID of the check sheet event to be deleted (int).
      userId - ID of the user initiating the deletion (int).
  • Returns
      Number of records modified (int).
  • Code Example

    # 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)