HierarchyTreeTable::projSetRootTaskScheduleAttributes Method
Updates schedule related fields in the root project task.
Syntax
client server public static void projSetRootTaskScheduleAttributes(
RecId _ownerRecId,
RefTableId _ownerTableId,
Hours _effort,
SchedFromDate _startDate,
SchedToDate _endDate,
Hours _duration,
[boolean _skipReservationUpdate])
Run On
Called
Parameters
- _ownerRecId
Type: RecId Extended Data Type
RecId of the record that owns the project tasks Hierarchy (e.g.ProjTable or SalesQuotationTable).
- _ownerTableId
Type: RefTableId Extended Data Type
Owner table id.
- _effort
Type: Hours Extended Data Type
Project task effort.
- _startDate
Type: SchedFromDate Extended Data Type
Project task start date.
- _endDate
Type: SchedToDate Extended Data Type
Project task end date.
- _duration
Type: Hours Extended Data Type
Project task duration.
- _skipReservationUpdate
Type: boolean
Determines whether related Reservation records will be updated along with the Task update
Remarks
This method fails silently, unless the project tasks hierarchy only contains the root task.
Passing TRUE to the _skipReservationUpdate argument may cause the Reservation data to be misaligned with the Task data because reactive update of Reservation data will be skipped.