system.kanoa.asset.unlinkAssetMode
Description
Unlinks a mode from an asset. Checks to see if this mode/asset combo has been stored in the modeEvent table and disables it if it has, otherwise deletes it (kanoaOPS).Syntax
unlinkAssetMode(modeAssetLinkId)- modeAssetLinkId (int) - The ID of the modeAssetLink
- retVal (int): # of records modified, msg (string): 'Deleted', 'Disabled' or error message
Code Examples
# Example Usage:
result = system.kanoa.asset.unlinkAssetMode(123)
print(f"Result: {result}")