Get the cost per (time) unit for a resource.
The cost for the unit of a resource is as a cost incurred every time an activity uses this resource. The total cost then depends on both the duration and resource demand of the activity that makes use of this resource. Its value can be set at the P2Resource:set_resource_cost_unit function.
I/O | Type | Name | Description |
---|---|---|---|
input | integer | ID | resource ID |
output | float | cost | cost per unit |
Step inside PMKC.