Skip to main content

system.kanoa.quality.event.updateChkShtEventField

This function requires KanoaQDS module

Description

Updates any field in a check sheet event in KanoaQDS.

Syntax

updateChkShtEventField(chkShtEventId, field, value, userId)
  • Parameters
      chkShtEventId - ID of the check sheet event to be updated (int).
      field - Name of the column to change (string).
      value - New value for the field (pyObject).
      userId - ID of the user initiating the update (int).
  • Returns
      Number of records modified (int).
  • Code Example

    # Usage example
    chk_sht_event_id = 123
    field_name = 'description'
    new_value = 'Updated description'
    user_id = 456
    result = system.kanoa.quality.event.updateChkShtEventField(chkShtEventId=chk_sht_event_id, field=field_name, value=new_value, userId=user_id)

    print(result)