get_remaining_resource_cost

Get the remaining resource cost for a given activity in a given tracking period.

The remaining resource cost at a given tracking period is a fraction of the total remaining cost as set by the P2Tracking:set_remaining_cost function. More information on activity and resource cost calculations can be found in the help files of the P2Schedule:get_total_activity_cost function.

Parameters: 
I/O Type Name Description
input integer ID activity ID
input integer ID ID of the tracking period
output float cost remaining resource cost
Learn More: 

Step inside PMKC.

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