AronGahagan / cpt-dev

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

Request: cptAdjustment - enable Costs #329

Open AronGahagan opened 1 year ago

AronGahagan commented 1 year ago

Request:

User can select one or more tasks and set a Target Remaining Cost.

* Details on Overtime
  • adding overtime hours (task sheet only) respreads the allocation of regular work in a weird way
  • overtime hours are somewhat front-loaded, no rhyme or reason - no matter what contour is selected
  • when overtime hours (task sheet only) are removed, regular work is not redistributed as expected
  • unit allocations are adjusted upwards when overtime is added; when overtime is removed the allocation % is retained and regular work is not leveled
  • manual updates to the regular work after removing overtime work do not consistently update the peak units calc

Todo:

AronGahagan commented 1 year ago

sent to user for testing. it works, but is excruciatingly slow. need to optimize somehow.

AronGahagan commented 11 months ago

Using DoEvents after each oTSV.Value update instead of recalculating seems to be 1) accurate and 2) a bit faster. Added a progress bar so user doesn't think MS Project is just hanging, may alleviate some impatience.

AronGahagan commented 11 months ago

...moving form control updates (progress) and DoEvents after each oAssignment update also seems to be 1) accurate and 2) even faster...

AronGahagan commented 11 months ago

tested on 4 tasks 40d each, 16 resources each, ran in a few seconds. we have a candidate.