system.kanoa.quality.config.sheets.deleteAssets
Description
Deletes asset links for a check sheet in KanoaQDS.Syntax
deleteAssets(chkShtId, assetIdList, userId)- chkShtId - ID of the check sheet (int).
- assetIdList - List of asset IDs (list of int).
- userId - User ID (int).
- # of records modified - Number of records modified (int).
Code Example
# Usage example
chk_sht_id = 56
asset_id_list = [1, 2, 3]
user_id = 123
records_modified = system.kanoa.quality.config.sheets.deleteAssets(chkShtId=chk_sht_id, assetIdList=asset_id_list, userId=user_id)
print(records_modified)