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.
| I/O | Type | Name | Description |
|---|---|---|---|
| input | integer | ID | activity ID |
| input | integer | ID | resource ID |
| input | float | work | resource workload |
Step inside PMKC.