get_lockedtime

Get locked time value for an activity.

Locked times impose 'must start/finish on' constraints on activity actID, as follows:

  • Locked Start: Activity actID must start on the return value.
  • Ready Finish: Activity actID must finish on the return value.
Parameters: 
I/O Type Name Description
input integer actID ID of the activity
input integer start/finish 0 (Locked Start) or 1 (Locked Finish)
output integer time locked time value or -1 if no locked time is imposed
Learn More: 

Step inside PMKC.

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