ProjWBSUpdateController Class [AX 2012]
The ProjWBSUpdateController class is responsible for reading and updating a WBS tree.
| Method | Description | |
|---|---|---|
| activityNumberToElementNumber | Wrapper for tree utility method to convert an Activity Number to Element number. |
| actualCostFor | Gets actual cost of given task. |
| actualEffortFor | Actual effort for given task. |
| addAncestorsToNodesSorting | |
| addDependenciesToDB | |
| addDependencyToDB | |
| addTask | Add a task to the WBS. |
| addTaskToDatabase | |
| addTaskToTree | |
| cacheCalendarParameters | |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| checkNoLoops | |
| checkNoLoopsBeforeMultipleOperation | |
| checkNoLoopsOnIndenting | |
| checkPredecessorsBeforeIndenting | |
| checkPredecessorsBeforeOutdenting | |
| cleanDependenciesForNewParent | |
| clearDependenciesFromDB | |
| convertLeafToSummaryTask | Converts given leaf task to a summary task. |
| costAtCompleteFor | Task cost at complete. |
| createIndentOperators | |
| createOperatorsForIndentedSiblings | |
| createOperatorsForOutdentedSiblings | |
| createOutdentOperators | |
| decrementSiblingNumbersInDatabase | |
| deleteSubTreeNodes | |
| deleteTask | Obsolete method. |
| deleteTasks | Deletes list of tasks from WBS tree. |
| doIndentTask | |
| doOutdentTask | |
| editTask | Updates task. |
| editTaskInDatabase | |
| editTaskInTree | |
| effortAtCompleteFor | Gets effort at complete of the given task. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| expandUpTo | Expands WBS tree up to given level. |
| findProjCostPrice | |
| fixSchedulingDiscrepancies | Fixes WBS summaries, start dates, end dates and duration according to intra-task and inter-task dependencies. |
| getAboveSibling | Gets above sibling task of the given task. |
| getDefaultHourPrecision | |
| getIndentationByActivityNumber | Gets indentation by activity number. |
| getNodeByActivityNumber | Gets in-memory task node by activity number. |
| getNodeByChildrensPath | |
| getNodeByElementNumber | Gets in-memory task node given its element number. |
| getNodesMapSortedByPath | |
| getOperatorsSortingForMultipleOperation | |
| getOutlineNumberToActivityNumberMap | Creates an outline number to activity number map for the entire WBS tree. |
| getPredecessorsLastDate | Gets latest date among predecessor tasks of the given task. |
| getPredecessorsList | Gets UI string representation of the predecessors list of a given task. |
| getRootElementNumber | Get element number of root task. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| getUpdateList | |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| hasChildren | Gets whether the given task has children. |
| hasChildrenByActivityNumber | Checks whether the given activity has child activities. |
| hasChildrenByElementNumber | Gets whether the given task has children. |
| hasEffortError | Checks whether task has effort error. |
| hasEstimateLinesError | Checks whether task has estimate lines error. |
| hasLagError | Determines if there is a lag error which is the gap between the last end date among all predecessors and start date of the given task. |
| hasPredecessors | Determines if the node has predecessors. |
| hasPredecessorsError | Checks whether task has predecessors error. |
| incrementSiblingNumbersInDatabase | |
| incrementSiblingNumbersInTree | |
| indentationFor | Gets indentation string of given task. |
| indentTask | Obsolete method. |
| indentTasks | Indents given list of tasks. |
| initEACFromPlannedInMemory | Resets, in-memory (i.e. no writes to the database), all task Estimate at complete values (e.g. Cost at complete) to match its planned counterpart in the task (e.g. Total planned cost). |
| initEACFromPlannedInMemoryForFullTree | Re-initializes EAC (Estimate at complete) values from planned values. |
| initLeavesPlannedCostInMemory | Re-initializes planned cost in-memory. |
| initNewTaskFromParentTask | Initializes new task with information of its parent task. |
| initTask | |
| initTaskInDatabase | Initializes task in database from in-memory values. |
| initTaskInTree | Initializes task in-memory. |
| isFilterMatch | |
| isRoot | Determines whether task is the root task or not. |
| isRootActivity | Checks whether the given activity is the root activity. |
| isTaskExpanded | Checks whether the given task is expanded. |
| moveChildrenFromTaskToTask | |
| moveChildrenFromTaskToTaskInDatabase | |
| moveTaskDown | Moves given task down (just below its below-sibling). |
| moveTaskToNewParentInDatabase | |
| moveTaskToNewParentInTree | |
| moveTaskUp | Moves given task up (just above its above-sibling). |
| moveTaskUpOrDownInDatabase | Moves task up or down in database. |
| new | Instantiates a new ProjWBSUpdateController. |
| nodeToTableBuffer | |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| outdentTask | Obsolete methods. |
| outdentTasks | Outdents given list of tasks. |
| outlineNumberFor | Gets outline number of task. |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| parmCalendarId | Gets or sets the CalendarId parameter. |
| parmSchedulingErrorsFixingOptions | Gets or sets the SchedulingErrorsFixingOptions parameter. |
| parmSelectedHierarchyTreeTable | Sets and gets a HierarchyTreeTable record that will be used by the next controller method calls. |
| performTreeNodeOperator | |
| plannedCostFor | Gets planned cost of given task. |
| plannedEffortFor | Gets planned effort of given task. |
| postProcessNodeAfterMovingChildren | |
| processStringForSearch | |
| processTreeNodeOperators | |
| produceDependenciesSorting | Produces dependency sorting for dependencies graph for the entire project hierarchy |
| produceDependenciesSortingForHierarchy | |
| produceDependenciesSortingForSubtree | Produces dependency sorting for dependencies graph for specified subtree |
| recomputeSingleTaskSummaries | Recompute summaries for a given task node. |
| recomputeSummariesFromTaskUpToTheRoot | Recomputes summaries from given task up to root. |
| reloadSubTree | Reloads project WBS sub-tree. |
| reloadTree | Reloads WBS hierarchy. |
| removeDependencyFromDB | |
| resetTaskEACs | Resets all task Estimate at complete values (e.g. Cost at complete) to match its planned counterpart in the task (e.g. Total planned cost). |
| resummarizeInMemory | Re-summarizes WBS in-memory values. |
| setTaskCompletionStatus | Marks the given task (summary or leaf level) as closed. |
| setTaskCompletionStatusForDescendents | |
| setTaskOpenOrClosedState | Marks the given leaf level task as closed/open. If the task is closed and the status of the task isn't completed, its status would be set to completed. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| setViewType | Sets WBS view type (a.k.a. view mode). |
| siblingNumberFor | Gets sibling number of a particular task node. |
| syncRootAndProjectForRootOnlyWBS | |
| toggleExpandCollapseTask | Toggles the expanded/collapsed state of a task node. |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| updateAfterMultipleOperation | |
| updateCostAtComplete | Updates cost at complete given new cost to complete. |
| updateCostAtCompleteForDescendants | |
| updateCostAtCompleteSummariesInTree | |
| updateDependencies | Sets the list of predecessors of the given successor task. |
| updateEffortAtComplete | Updates effort at complete given new effort to complete. |
| updateEffortAtCompleteForDescendants | |
| updateEffortAtCompleteSummariesInTree | |
| updateEffortSummariesInTree | |
| updateEndDateSummariesInTree | |
| updateOutlineNumbersAndPublishInPreOrder | Updates task outline numbers and publishes in-memory tasks data to temporary table. |
| updateProjectEffortAndDates | |
| updateStartDateSummariesInTree | |
| updateSubtreePathsAndLevels | |
| updateSummariesFromTask | |
| updateSummariesInDatabase | |
| updateTrackingSummaries | Calculates tracking summaries (values shown in summary tasks) and stores then in the in-memory data structure. |
| updateWBSOwner | Updates WBS owner (e.g. Project, Project quotation) to match WBS. |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| wait | Pauses a process. (Inherited from Object.) |
| writeEACsToTable | |
| writeToTable | Writes in-memory tree contents to database tables. |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::construct | Constructs a ProjWBSUpdateController instance. |
| ::resummarizeParent | |
| ::resummarizeTaskFromChildrenInDatabase | Resummarizes a summary task from its children tasks. |
| ::resummarizeWBS | Re-summarizes the entire WBS. |
Community Additions
ADD
Show: