set_resource_work

Allocate a renewable resource to an activity and define its resource work content.

The work content of a renewable resource allocated to an activity is equal to activity duration x resource demand. Upon calling this function, the resource demand of the activity is automatically updated as resource demand = work / activity duration. See the P2Schedule:set_resource_demand function for more details.

Parameters: 
I/O Type Name Description
input integer ID activity ID
input integer ID resource ID
input float work resource workload
Learn More: 

Step inside PMKC.

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