system.kanoa.asset.linkAssetStates
Description
Links a list of assetIds with a list of stateId (kanoaOPS).Syntax
linkAssetStates(assetIdList, stateIdList, userId, stateCodeList=[])- assetIdList (list) - List of assetId's
- stateIdList (list) - List of stateIds
- stateCodeList (list) - A list of stateCodes to be used. Can be an empty list
- userId (int) - User ID
- # of records created (int)
Code Examples
# Example Usage:
system.kanoa.asset.linkAssetStates([1, 2, 3], [101, 102, 103], 456, ['Code1', 'Code2', 'Code3'])
``