system.kanoa.asset.deleteMode
Description
Delete an asset mode. If the mode has been used, then we must just set the enabled property to False.Syntax
deleteMode(modeId, userId)Parameters:
Returns:
Code Examples
# Example Usage:
mode_id = 123
user_id = 456
records_modified, message = system.kanoa.asset.deleteMode(mode_id, user_id)