system.kanoa.asset.setAssetStateLinkCode
Description
This function updates the stateCode for an asset. (kanoaOPS)Syntax
setAssetStateLinkCode(stateAssetLinkId, stateCode, userId)- stateAssetLinkId (int) - The ID of the state asset link
- stateCode (int) - The new state code to be set
- userId (int) - User ID
- # of records modified (int)
Code Examples
# Example Usage:
modified_records, error_msg = system.kanoa.asset.setAssetStateLinkCode(123, 456, 789)