system.kanoa.asset.setAssetStateLinkCode(stateAssetLinkId, stateCode, userId)
This functions updates the stateCode for an asset
Parameters
stateAssetLinkId Integer: Id of the state asset link to update
stateCode Integer: Code to link for the asset - state
userId Integer: Id of user executing the function
Returns
# of records modified Integer
msg String None if success
Example
modifiedRecords, errorMsg = system.kanoa.asset.setAssetStateLinkCode(123, 4, 7)