All Commands
All Data Adjustment
Commands
OBJ_ADD
Creates a New Object on the database
This function will set the Variable {ACT_SUCCESS} with either "TRUE" or "FALSE" depending on the success of the operation.
It will also set the variable {ACT_ID} with the ID of the Created Object
You may also want to call the {EXEC_AFT_NEW()} command to trigger the changes.
Number | Name | Default | Type | Description |
---|---|---|---|---|
1 | par_id | 0 | Integer | Parent ID for new object |
2 | obj_type | 0 | Integer | Object type for new object |
3 | char_data1 | String | Character Data 1 | |
4 | char_data2 | String | Character Data 2 | |
5 | text_data | String | Text Data | |
6 | friendly_name | String | Friendly Name | |
- | unique | false | Boolean | Indicate that you only want to add the object to the list if it is not already there. |
- | parent_a | 0 | Integer | The ID to set as the Direct Parent Relationship A |
- | child_x | 0 | Integer | The ID to set as the Direct Child Relationship X |
- | child_y | 0 | Integer | The ID to set as the Direct Child Relationship Y |
- | child_z | 0 | Integer | The ID to set as the Direct Child Relationship Z |