set_actual_duration

Set the actual duration for an activity in a tracking period. 

The time spent on an activity between its actual start time and the current status date. Hence, the actual duration can be smaller than, equal to or larger than the time span between the actual start and the current status date, and is used to represent the workload already spent on this activity until the status date.

Parameters: 
I/O Type Name Description
input integer ID activity ID
input integer duration actual duration
input integer ID ID of the tracking period
Example: 
function ()
        io.write('\n')
end
Class: 
P2Tracking