Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Suggested answer

Process report data on batch job

Posted on by Microsoft Employee

Hi, 

I am current preparing report data on process report method in DP class. 

Contract class takes two parameters, that is "from date" and  "to date".

However, the code take lots of time to process data because multiple data sources are used to prepare data.

If data is processed for large date interval for e.g month than report processing take time and report connection breaks down.

Is there any way i can prepare data before report is run like in a batch job?

This report is run regularly for different date ranges.

Is it optimal to daily process that much data on batch job for report?

  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 225,490 Super User on at
    RE: Process report data on batch job

    First of all, try to optimize queries, such as joining tables rather then making multiple database request, limiting fields to transfer, reviewing indexes and so on.

    If it doesn't help, you can use pre-proprocessing (see Help prevent long-running reports from timing out).

    And of course, you can also send a report to a batch; it's supported out of the box.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans