QPR Knowledge Base 2015.1

RemoveParent

RemoveParent

Previous topic Next topic No directory for this topic  

RemoveParent

Previous topic Next topic Topic directory requires JavaScript Mail us feedback on this topic!  

Revision history:

Introduced in QPR 7.5.1

 

Removes a parent action from the parent list of an action.

 

Synopsis:

 

Actions.RemoveParent(ActionId, ParentActionId)

 

Parameters:

 

ActionId: Integer. ID of the action from which the parent action is to be removed.

ParentActionId: Integer. ID of the parent action that will be removed from the parent list.

 

Required Rights:

 

Modify rights to the action defined in ActionId.

 

Return Values:

Below are listed the return values that this function can return:

 

RV_SUCCESS

RV_UNKNOWN_ERROR

RV_ASSOCIATION_NOT_FOUND

RV_ACCESS_DENIED

RV_APPLICATION_QUIT_CALLED

RV_NOT_CONNECTED_TO_SERVER

RV_NOT_AUTHENTICATED

 

Example Procedure:

 

iRet = SCApplication.Actions.AddParent(1234, iDiscussionForumId)