Skip to main content

system.kanoa.performanceState.uupdatePerformanceStateField

This function requires KanoaOPS module

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 Example

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