Skip to main content

system.kanoa.quality.event.getChkShtEventItems

This function requires KanoaQDS module

Description

Gets data for the checks table called by the chkShtEventEditor in KanoaQDS.

Syntax

getChkShtEventItems(paramsDict)
  • Parameters
      paramsDict (dict)
      - chkShtEventId (int)
      - chkShtId (int)
      - chkItemId (int)
      - chkItemTypeId (int)
      - chkItemTypeName (string)
      - chkItemName (string)
      - chkItemGroupId (int)
      - chkItemGroupName (string)
      - chkShtTypeId (int)
      - itemClassPath (string)
      - chkShtStateIds (list[int])
      - itemId (int)
      - enabled (bool)
      - hasValue (bool)
  • Returns
      data - A dataset containing check sheet event items (pyDataset).
  • Code Example

    # Usage example
    paramsDict = {'chkShtEventId': 18, 'chkShtId': 3, 'chkItemId': 437, 'chkShtTypeId': 4, 'itemClassPath': 'some path', 'chkShtStateIds': [1, 2, 3], 'itemId': 45, 'enabled': True}
    data = system.kanoa.quality.event.getChkShtEventItems(paramsDict)
    >
    >print(data)