[DELETE] (delete object class)
[DELETE] deletes an object class. If multiple searches for information are being performed in the applicable classes, this tag deletes all classes.
Values
-
object-class-name
Codes the name of the object class to be deleted.
-
assignment-statement-for-property
Codes the assignment statement for the key property.
Status
The following table lists and describes the possible statuses:
Status |
Description |
---|---|
NORMAL |
Normal end. |
NODATA |
— |
ERROR |
No applicable data exists in the object class. |
MULTI |
— |
Example
The following example deletes asset information from asset ID 10000:
[DELETE] AssetInfo [DATA] AssetInfo.AssetID = '10000' [SET_VALUE] STATUS = $GETSTATUS() [IF] STATUS != NORMAL [THEN] [SET_VALUE] MSG = 'DELETE (' +STATUS+ ')' $ECHO(MSG) [IF_END] |