Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Saving report in directory not working through batch job

Posted on by 2,365

Hi,

I am trying to save reports to a folder on the desktop once a month. I set a batch job and clicked "Batch Processing" and saving it using the print destination "file" in a directory with format of excel. 

The batch job runs fine without error but no file shows up and saves there. 

When I run it as not a batch (when the batch processing is not checked), it saves, but when its through a batch it doesnt. Why is this? How can I fix it?

*This post is locked for comments

  • Martin Dráb Profile Picture
    Martin Dráb 230,214 Most Valuable Professional on at
    RE: Saving report in directory not working through batch job

    Make sure that the folder is visible from the AOS server and that the AOS service account has permissions to write there. Also, because batches run in CIL, make sure that CIL has been generated without errors.

    If it doesn't help, debug your batch.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Saving report in directory not working through batch job

    Hi. I have the same problem. When I export File manually it works fine. Unfortunately, when I set up recurrence and tick Batch processing the file is not being overwritten. Job executing normally when I check it 'My Batch Jobs'.

    Few details:

    I want to run it every 10 minutes and export file in network location. Can it run without Batch Group selected?

    I am newbie to Dynamics AX. Please advice.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,280 Super User 2024 Season 2 on at
    RE: Saving report in directory not working through batch job

    Hi Meister,

    Did you use an UNC path to specify the location or a drive letter? If it is a drive letter, check if the AOS batch server knows this drive letter and if is it saved on that machine.

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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans