Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Unanswered

How to store data in regular table while dp class extending SrsReportDataProviderPreProcess?

Posted on by 20

In Ax 2012 R3, I want to store LedgerTransastatement temporary table data into new regular table.

I have duplicated LedgerTranSastatement dp class and extending it with SrsReportDataProviderPreProcess and set property createdtransactionid to yes of new regular table.

After execution the data is deleted from regular table due to.createdtransactionid field.

I Want data for further processing so how should I restrict data deleting from new regular table.

Please suggest. 

Categories:
  • Blue Wang Profile Picture
    Blue Wang on at
    RE: How to store data in regular table while dp class extending SrsReportDataProviderPreProcess?

    Hi Sonali Mane,

    Use SrsReportDataProviderPreProcess class, when the report is generated, it will automatically delete the records in the regular table.

    Since SrsReportDataProviderPreProcessTempDB has been introduced, you should use it instead of SrsReportDataProviderPreProcess. TempDB don't need such the distinction over transaction ID, because there is a separate instance of the table for each run.

    daxingwitheshant.blogspot.com/.../difference-between-srsreportdataprovide.html

  • Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,417 on at
    RE: How to store data in regular table while dp class extending SrsReportDataProviderPreProcess?

    Hi Sonali,

    Could you please elaborate on your requirement for further processing with the data?

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,986 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans