AronGahagan / cpt-dev

Code repository for the ClearPlan Toolbar
https://www.ClearPlanConsulting.com
3 stars 1 forks source link

cptMetrics - improve Staffing Profile - use Resume instead of subtracting actuals #373

Open AronGahagan opened 9 months ago

AronGahagan commented 9 months ago

Problem:

If a user clears out actual work in the past (or has ActiveProject.AutoCalcCosts = False then data could be incorrect.

Solution:

Use Resume (or Status Date) as the start date for Work instead of getting all work and then subtracting Actual Work instead.

Todo:

AronGahagan commented 9 months ago

...it's possible this was already fixed, and the vestigial subtraction code to subtract actuals isn't cough actually subtracting anything. The current code defaults to using Resume as the StartDate for TSVS if the task has an Actual Start (and no Actual Finish).