system.kanoa.asset.updateAssetStateLinkField(stateAssetLinkId, field, value, userId)
Updates the asset state link field with the passed value for the stateAssetLinkId
Parameters
stateAssetLinkId Integer: Id of state asset link to update
field String: Valid options are enabled, selectable
value String: True of False
userId Integer
Returns
# of records modified Integer
message String none if success
Example
recordsModified, message = system.kanoa.asset.updateAssetStateLinkField(123, 'selectable', True, 456)