ISharing.CreateChildEstimate Method

Creates a child estimate for the current parent estimate.
Sub CreateChildEstimate( _ 
ByVal owner As String, _ 
ByVal sharingOptions As TaskSharingOptions, _ 
ByVal plannerOptions As PlannerSharingOptions, _ 
ByVal outputFolder As String
)
This language is not supported or no code example is available.
void CreateChildEstimate( 
string owner
TaskSharingOptions sharingOptions
PlannerSharingOptions plannerOptions
string outputFolder 
)
This language is not supported or no code example is available.

Parameters

owner
string

The name of the owner for whom the child estimate will be created.

sharingOptions
TaskSharingOptions

The general sharing options for the child estimate.

plannerOptions
PlannerSharingOptions

The planner sharing options for the child estimate. It is ignored if the estimate has no Gantt feature activated.

outputFolder
string

The output folder for those child estimates whose owners don't have the user path defined.

Exception type Condition

QdvApiException

An error occurred. Especially the cases with the following QdvApiException.Id values:

Exception

Any other error occurred.

Remarks
 

In GUI mode, if the output folders for the child estimates didn't exist, the user is prompted whether to create them. In silent mode, they are always created if needed.

Before the child estimates are created, the parent estimate is prepared. For example, the sharing dates for users are updated, etc. So the modified parent estimate needs to be saved first. In GUI mode, the user is prompted whether to save it. In silent mode, it is always automatically saved.

In GUI mode, the user is prompted whether existing child estimates should be overwritten. In silent mode, they are always overwritten.

Version
 
Available since QDV 7.18.689.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition