ISharing.CreateChildEstimate Method
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 |
---|---|
An error occurred. Especially the cases with the following QdvApiException.Id values:
|
|
Any other error occurred. |
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.