There are two types of workflow types that have been added to set up workflow in Microsoft Dynamics AX 2012 specific to timesheet:
Review timesheet workflow is the main workflow of timesheets, which is used for the approval process during timesheet entry. The setup of Review timesheet workflow contains two workflow elements for the approval depending on approval level you desire in your system:
Review timesheet line workflow must be added to the main Review timesheet workflow, because it cannot operate on its own. To define Review timesheet line workflow:
1. Click Project management and accounting.
2. Click Setup and then click on Project management and accounting workflows where you will select Review timesheet line workflow.
3. Configure the workflow structure according to your needs using supported elements (Approve a timesheet line, Condditional decision, Manual decision, Parallel activity, Subworkflow)
4. In this example we have assigned the approval to workflow participant – Project manager. In this case the line approval task will be assigned to Project manager responsible for the project specified on the line.
5. Once you are finished close the workflow, save it and activate it.
Now it is necessary to link Review timesheet line workflow to the main workflow Review timesheet workflow:
2. Click Setup and then click on Project management and accounting workflows where you will select Review timesheet workflow.
3. Configure the workflow structure like in previous step, but note the new element Timesheet line-item workflow. Add this element to the workflow processing and open its properties.
4. There are two possibilities in the current design of AX 2012:
Note: You must define at least two conditions and an associated workflow within a line-item workflow element.
6. Once you finish the workflow setup - close it, save it and activate it.
When a new timesheet with 2 lines is submitted to the workflow – system splits the processing into two separate streams:
User can check each line workflow by selecting the line and click Actions > View history:
Note: In Microsoft Dynamics AX 2009, the approval level is defined within timesheet parameters. It is removed in Microsoft Dynamics AX 2012.
Great information. Dialog specialises in implementing Dynamics AX for Professional Services, so heavily utilising Timesheet and workflow. AX has been a great solution for our clients.
Timesheets and Workflow are just integral to this solution, and it does it so well.
To see how the above applies to a whole solution, wrote a page on Dynamics AX for Professional Services;
hope you find it of interest.