Skip to main content

system.kanoa.asset.deleteAssetsWithForce(assetId, userId)

Stored procedure that will forceably delete an asset including child assets and any entries in mode, start, shift, and quality tables


Parameters

assetId Integer: Id of asset
userId Integer: Id of user executing the function


Returns

success Boolean
msg String # of records modified or error message


Example

assetId = 123
userId = 456
success, message = system.kanoa.asset.deleteAssetsWithForce(assetId, userId)