system.kanoa.quality.sheet.getSheetsByAsset
Description
Returns all unique check sheets linked to assets based on the provided criteria.Syntax
getSheetsByAsset(paramsDict)Parameters:
Returns:
Dictionary
| Parameter | Type | Required | Notes | 
|---|---|---|---|
| enabled | bool | No | True to filter by enabled check sheets | 
| chkShtTypeId | int | No | ID of the check sheet type | 
| assetPath | string | No | Path of the asset | 
| assetPathList | list | No | List 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.sheet.getSheetsByAsset(paramsDict=params_dict)
print(sheets_data)