Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

Time Sheet Approval to Job Journal

Posted on by 22

So I'm trying to figure out if there is a way to automatically transfer the lines from a Time Sheet to a Job journal and then post.
Currently, I'm stuck using the prepare button, selecting the timeline, and pulling in each line entry than posting.

pastedimage1682628866029v1.png

It would be nice if the approver could approve a timesheet and the lines be transferred to the job journal, then every Tuesday, it runs the post command.
I'm still new to Business Central development, and implementing this would save me time in the long run. I haven't found a solution googling yet, which brings me here.

  • bcaron1000 Profile Picture
    bcaron1000 22 on at
    Time Sheet Approval to Job Journal
    I actually managed to re use some of the Microsoft code and create a few custom codeunits to accomplish this. It was a bit of a daunting task, but upon timesheet approval i was able to add the hours towards jobs and make it an automated process rather than generating a job journal weekly.
     
    Nothing is impossible with Business Central!
  • Verified answer
    Ben Baxter Profile Picture
    Ben Baxter 4,892 Super User 2024 Season 2 on at
    RE: Time Sheet Approval to Job Journal

    Currently there is no automated process to pull the Time Sheet lines into the Job Journal.  The Prepare option you are using is the closest automation.  You could setup a Job Queue or maybe Power Automate to run that process weekly and then Post the Job Journal.  You might want some oversight involved, but if you are only pulling Approved Time it should be okay.

    If you automate, be cautious that late approved time (prior to the date window) may not get pulled in.  So you may want a monthly sweep that picks up entries that may have been approved after the automation timing.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,151 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,993 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans