Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

How to automate routine report to be sent every week?

Posted on by 12
Hello. 
 
I am attempting to automate a report every week and have it sent to my inbox - specifically, the jobs per items report for an item for the prior 7 days. 
 
It seems like the posting date filter here is where I should start, but I'm struggling to have the field /hold the formula/ instead of it being immediately converted at the time of creation of the original report. 
 
I.E below - I've typed CD..CD-7D in the posting date filters field in an attempt to have the report run for the date range of /7 days prior to today/. However, the code gets immediately converted to hard dates so by the time I enter schedule, all it does is run the report repeatedly every week for the same Feb14-21st period.
 
 
 
Many thanks in advance. Any help is much appreciated. 
Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 69,639 Super User 2024 Season 2 on at
    How to automate routine report to be sent every week?
    Hi, you can consider using Job Queue and just set Recurrence. But if you want to automatically send emails, you may need some minor customization, such as creating a codeunit to send the report.
     
    Hope this can give you some hints.
    Thanks.
    ZHU
  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 290,532 Super User 2024 Season 2 on at
    How to automate routine report to be sent every week?
    Moved the question to the Business Central forum.
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 9,316 Super User 2024 Season 2 on at
    How to automate routine report to be sent every week?
    Hi,
    I hope this can help you and give you some hints.
    Best regards,
    Mohamed Amine Mahmoudi

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans