On the WBS form, ProjWorkBreakdownStructure, I want to undertake some actions whenever the End date changes.
However, the PSAActivitySetup.modifiedField() method is not called when the table's update() method fires (I thought this was standard AX behaviour from the client UI).
It is called only manually via X++ calls within the guts of the controller class, ProjWBSUpdateController, but unfortunately,
(i) only for those parent tasks above the modified task, and
(ii) without the activity number attached so I cannot do a lookup within this method (even for these tasks whose End dates may change when a child task changes).
I am concerned that in order to make these customisations I will need to be very specific against forms because you can import MS Project files to update the WBS as well as using the native WBS form.
Has anyone got any experience with customisations that need to react to *any* changes to Task dates?
At the moment I'm looking to hook into ProjWBSUpdateController:
- editTask() - hook into the Task that has changed dates
- updateEndDateSummariesInTree() - hook into all Tasks between the the child Task changed and the root node Task
- updateWBSOwner() - hook into a change that affects the root node Task
For MSP import I don't know where to start.
Any pointers appreciated - thanks.