Skip to main content

system.kanoa.quality.config.sheets.getSheetsByAsset

Requires kanoaQDS license

Description

Returns all unique check sheets linked to assets based on the provided criteria.

Syntax

getSheetsByAsset(paramsDict)

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

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

    ParameterTypeRequiredNotes
    enabledboolNoTrue to filter by enabled check sheets
    chkShtTypeIdintNoID of the check sheet type
    assetPathstringNoPath of the asset
    assetPathListlistNoList of asset paths

    Code Examples

    # Usage example
    params_dict = {'enabled': True, 'chkShtStateId': 1, 'chkShtStateName': 'Approved', 'assetPathList': ['ABC Box Co', 'Glue Factory']}
    sheets_data = system.kanoa.quality.config.sheets.getSheetsByAsset(paramsDict=params_dict)

    print(sheets_data)