add_tracking_period

Add a new tracking period with a certain status date (actual time).

The status date of a tracking period must be given as a parameter and can later be changed by using the P2Tracking:set_status_date function. This function returns an ID for the newly added tracking period.

Parameters: 
I/O Type Name Description
input integer status_date status date
output integer ID ID for the new tracking period
Example: 
function ()
        io.write('\n')
end
Class: 
P2Tracking