system.kanoa.asset.enableAssetStateLink
Description
Updates the stateAssetLink enabled state. If the state is disabled, it will not update the link. The state needs to be enabled first (kanoaOPS)Syntax
enableAssetStateLink(stateAssetLinkId, enabled)- stateAssetLinkId (int) - The ID of the state asset link
- enabled (boolean) - The desired state of the link
- # of records modified (int)
Code Examples
# Example Usage:
modified_records = system.kanoa.asset.enableAssetStateLink(123, True)