QPR Knowledge Base 2014.1

RemoveParent

RemoveParent

Previous topic Next topic  

RemoveParent

Previous topic Next topic JavaScript is required for the print function  

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)