system.kanoa.quality.sheet.getSheetsFilteredBy
Description
Returns all check sheets that meet the passed criteria.Syntax
getSheetsFilteredBy(paramsDict)Parameters:
Returns:
Dictionary
Parameter | Type | Required | Notes |
---|---|---|---|
enabled | bool | No | True to filter by enabled check sheets |
triggerTypeId | int | No | ID of the trigger type |
modeId | int | No | ID of the mode |
shiftNameId | int | No | ID of the shift name |
toolingId | int | No | ID of the tooling |
chkShtTypeId | int | No | ID of the check sheet type |
chkShtId | int | No | ID of the check sheet |
assetReqd | bool | No | True if asset is required |
assetId | int | No | ID 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)