Skip to main content
Business Central forum
Suggested answer

How to automate routine report to be sent every week?

editSubscribe (1) ShareShare
ReportReport
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:
Attachments
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 60,007 Super User 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
  • Andre Arnaud de Calavon Profile Picture
    Andre Arnaud de Cal... 283,126 Super User 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 3,611 UG Leader 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

Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,126 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,646 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Featured topics

Product updates

Dynamics 365 release plans