Feature Rich
Rapid Application Development
Helping you or your customers
Manage their Business

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

There is also a slight variation of this command designed to cope with larger content in part 3.
{OBJ_ADD_V()} will take a variable name in parameter 5 rather than the actual text data. The value of the variable will then be used to populate the 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
to add a Comment.