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