(treeview)
string o2tree_node_add(string $name, string $node_id, string $parent_id, string $node_code)
ATTENTION: Treeview scripting definition and usage are DEPRECATED. Use a Treeview control from development interface (JXOB) instead.
Add a new node to treeview.
If Node ID is zero a progressive numeric ID will be assigned to node.
If Parent ID is zero node will be top level.
Function returns new node assigned ID.