Skip to main content

system.kanoa.quality.sheet.getSheetsFilteredBy

Requires kanoaQDS license

Description

Returns all check sheets that meet the passed criteria.

Syntax

getSheetsFilteredBy(paramsDict)

Parameters:
  • paramsDict (dictionary): Dictionary containing optional parameters.

  • Returns:
  • data (pyDataset): PyDataset containing check sheet information.
  • Dictionary

    ParameterTypeRequiredNotes
    enabledboolNoTrue to filter by enabled check sheets
    triggerTypeIdintNoID of the trigger type
    modeIdintNoID of the mode
    shiftNameIdintNoID of the shift name
    toolingIdintNoID of the tooling
    chkShtTypeIdintNoID of the check sheet type
    chkShtIdintNoID of the check sheet
    assetReqdboolNoTrue if asset is required
    assetIdintNoID of the asset

    Code Examples

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