change_duration

Change activity duration and reschedule project. 

Rescheduling the project can lead to conflicts due to activity constraints. This function returns 0/1 if the reschedule was a failure/successful. The rescheduling function can be put off by the P2Schedule:put_batch_calculator_on function.

Parameters: 
I/O Type Name Description
input integer ID activity ID
input integer duration Activity duration.
output integer success 0 (failure) or 1 (successful)
Example: 
function ()
        io.write('\n')
end
Class: 
P2Schedule