All Commands
All Data Adjustment
Commands
OBJ_DEL
This will delete an object from the database.
All user security restrictions will be observed so the object might not get deleted if the user does not have the rights.
The deletion will be logged and the object can still be undeleted by an administrator.
The Variable ACT_SUCCESS will be set to TRUE if the Deletion is successful and FALSE if not.
Number | Name | Default | Type | Description |
---|---|---|---|---|
1 | obj_id | 0 | Integer | The id of the object to delete |
2 | aft_upd | TRUE | Boolean | This indicates that the "After Update" code for the object is to be run once the object is deleted. |
3 | del_valid | false | Boolean | Run the Deletion Validation Code to check if the deletion can go ahead. If this is true and the deletion fails then a Notification will be presented to the user. |