Skip to main content

system.kanoa.quality.sheet.getSheetsFilteredBy

This function requires KanoaQDS module

Description

Returns all check sheets that meet the passed criteria in KanoaQDS.

Syntax

getSheetsFilteredBy(paramsDict)
  • Parameters
      paramsDict - Dictionary containing optional parameters:
      - 'enabled': True to filter by enabled check sheets (bool).
      - 'triggerTypeId': ID of the trigger type (int).
      - 'modeId': ID of the mode (int).
      - 'shiftNameId': ID of the shift name (int).
      - 'toolingId': ID of the tooling (int).
      - 'chkShtTypeId': ID of the check sheet type (int).
      - 'chkShtId': ID of the check sheet (int).
      - 'assetReqd': True if asset is required (bool).
      - 'assetId': ID of the asset (int).
  • Returns
      data - PyDataset containing check sheet information.
  • Code Example

    # Usage example
    params_dict = {'enabled': True, 'triggerTypeId': 1, 'modeId': 2, 'shiftNameId': 3, 'toolingId': 6, 'chkShtTypeId': 7, 'chkShtId': 2, 'assetReqd': True, 'assetId': 56}
    sheets_data = system.kanoa.quality.sheet.getSheetsFilteredBy(paramsDict=params_dict)

    print(sheets_data)