Skip to main content

system.kanoa.quality.event.updateChkShtEventField

Requires kanoaQDS license

Description

Updates any field in a check sheet event.

Syntax

updateChkShtEventField(chkShtEventId, field, value, userId)

Parameters:
  • chkShtEventId (int): ID of the check sheet event to be updated.
  • field (string): Name of the column to change.
  • value (pyObject): New value for the field.
  • userId (int): ID of the user initiating the update.

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

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