Skip to main content

system.kanoa.lot.unlinkAssetLotState(lotStateReasonAssetLinkId, userId)

Unlinks an asset with an lotState


Parameters

lotStateReasonAssetLinkId Integer
userId Integer


Returns

message String Indicates the action taken ('Deleted' or 'Disabled')


Example

lotStateReasonAssetLinkId = 1
userId = 123
recordsModified, msg = system.kanoa.lot.unlinkAssetLotState(lotStateReasonAssetLinkId, userId)