web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Timesheet line workflow

(0) ShareShare
ReportReport
Posted on by

Does anybody know if it is possible to have an employee's timesheet split into lines and AUTOMATICALLY have every line approved by the project manager WITHOUT having to build a cumbersome if projectid = zzz then project manager = yyy. In my company we have hundreds of projects with new being added daily.

Having surfed documentation and the internet, I have not been able to find an answer.

Hope anybody can help. Thank you in advance.

*This post is locked for comments

I have the same question (0)
  • David Massey Profile Picture
    on at

    Your post does not indicate which version of AX you are using.  This scenario is supported by Timesheet line workflow.

  • Community Member Profile Picture
    on at

    We are running AX 2012 R2 without CUs

  • André Arnaud de Calavon Profile Picture
    301,075 Super User 2025 Season 2 on at

    Hi Torben,

    When you write "automatically approved by the project manager", I wonder why you need to split into approval per line? :-)

    I guess you want to have the project manager as setup on the project being assigned as the approver in a flexible way?

    As David told this is standard in AX2012. You need to create a timesheet workflow and a timesheet line workflow. The timesheet workflow will call the line workflow.

    The line workflow will have an approval which needs to have a role based assignment. The type will be 'Project participants'' and the participant will be setup with the value 'Project manager'.

  • Community Member Profile Picture
    on at

    Hi André, Thank you very much for your response. I have allready build the workflow for the timesheet and for the  exactlyas you described. My challenge is that a given timesheet - that the employees does week by week - contains a number of different projects with different project managers. When I tested the workflow every project manager saw all lines (and without any visible marking of which lines he / she approve (Although I know it can be seen by clicking at the line level)). I would like the project manager only to see lines which he / she approve. I read a suggestion under technet.microsoft.com/.../hh538461.aspx but that won't work in practice with our number of projects.

    Best regards

    Torben

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,075 Super User 2025 Season 2 on at

    Hi Torben,

    When several project managers should approve lines from the same timesheet, they will indeed see lines of other project managers. This is standard behaviour of AX2012. The other suggestion which won't work at your organization will have the same.

    You can possibly restrict the lines with help of eXtensible Data Security or another customization.

  • Brian Welcker Profile Picture
    on at

    Just to reinforce what Andre says, the timesheet document is what is being approved even though the routings are based on the lines. In some industries, the timesheet itself is a auditable document. For example, if on a government contract, the timesheet should not be approved if the employee says they were working on two different projects at the same time. Or perhaps the employee says they worked 120 hours during the week even though they only worked 30 hours per project. If you really want these hidden, you could customize the timesheet form to filter out the lines on a timesheet that are not associated with projects managed by a specific project manager.

  • Verified answer
    Community Member Profile Picture
    on at

    Thank you Brian, for your input. Then I have to find a way to accomodate for that the audit question puts restrictions on the "end part" instead of it having been solved by putting restrictions on the input side. But that is MS's decisions, so thank you once again for clarifying.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans