add_activity_to_schedule

Add an activity to the project and reschedule it

The new activity will have no relations with other project activities. Relations can be added using the P2Schedule: add_relation function. This function returns the new activity ID.

Parameters: 
I/O Type Name Description
input integer duration activity duration
output integer ID new activity ID
Learn More: 

Step inside PMKC.

Example: 
function ()
        io.write('\n')
end
Class: 
P2Schedule