Introduced in QPR 7.5.1
Adds a parent action to the parent list of an action.
ActionId: Integer. ID of the action for which a parent is to be added.
ParentActionId: Integer. ID of the new parent action. In the case you want to add an action under the Discussion Forum, use 1 as the ID.
Modify rights to the action defined by ActionId.
Below are listed the return values that this function can return:
iRet = SCApplication.Actions.AddParent(1234, iDiscussionForumId)