system.kanoa.asset.unlinkAssetMode(modeAssetLinkId)
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
Parameters
modeAssetLinkId Integer: Id of mode asset link to unlink
Returns
retVal Integer # of records modified
msg String 'Deleted', 'Disabled' or error message
Example
retVal, msg = system.kanoa.asset.unlinkAssetMode(123)