Skip to main content

system.kanoa.performanceState.uupdatePerformanceStateField

Description

Updates the passed field value for the given performanceStateId. If the field is enabled, we will update the assetLink Table

Syntax

updatePerformanceStateField(performanceStateId, field, value, userId)
  • Parameters
      performanceStateId (int)
      field (string): name of column
      value (pyObject)
      userId (int)
  • Returns
    # of records modified (int), msg (string): None if successful
  • Code Examples

    # Example Usage:
    userId = 18
    system.kanoa.performanceState.updatePerformanceState(2, 'performanceStateClassId', 5, userId)
    >
    5, None
    >>>