AL icon indicating copy to clipboard operation
AL copied to clipboard

Archive Report into external Systems (DMS)

Open MaKnauer opened this issue 8 years ago • 10 comments

If a customer is working with a Data Management System (DMS), the customer wants to store several printed NAV reports in an external System, for example SharePoint. Currently you have to hook into each report, check if it is in preview mode, or in print mode, etc...

It would be nice, if you could integrate an event like, onAfterReport and provide the following parameters:

  • ReportID
  • Outstream (to write it into a PDF)
  • Mode (Preview / Print)

MaKnauer avatar Feb 16 '18 13:02 MaKnauer

Thanks. We are aware of this scenario and plan to solve it in a generic way. We will use this issue for tracking of this suggestion. For now there is no other way than to hook into each report unfortunately.

StanislawStempin avatar Feb 20 '18 10:02 StanislawStempin

OK, good to here. Do you have got time line for that?

MaKnauer avatar Feb 20 '18 13:02 MaKnauer

Unfortunately I don't have a more specific timeline to share at this moment.

StanislawStempin avatar Feb 21 '18 08:02 StanislawStempin

Any updates / timeline for this issue?

MaKnauer avatar Aug 31 '18 11:08 MaKnauer

Any news for that issue?

MaKnauer avatar Oct 18 '18 07:10 MaKnauer

Are there any news on this topic?

At the moment, I'm trying to use OnAfterDocumentPrintReady, but I receive the error A transaction must be started before changes can be made to the database. on inserting these values to a transfer table.

Maybe you could also add a the Record ID of the source record.

pri-kise avatar Mar 24 '20 10:03 pri-kise

Having the same issue about transaction. t seems that there is a issue on that.

YvesDesrumaux avatar Apr 15 '20 10:04 YvesDesrumaux

I solved it by calling a Enqueue Function in another Codeunit that inserts my entry into this table. You can have a look on the Job Queue Enqueue Codeunit. But I don't understand why this works.

duichwer avatar Apr 15 '20 10:04 duichwer

I think it works due to inserting your record in another session. But I still not understand why there is an error as the TypeTransaction is UpdateNoLock

YvesDesrumaux avatar Apr 15 '20 11:04 YvesDesrumaux

Hi! This issue is stale - sometimes great ideas go stale if not enough people talk about them. Please go ahead and post this to our Ideas forum at https://aka.ms/BusinessCentralideas, or vote up the idea if its already there. We're constantly monitoring top Ideas and will consider them for a future release.

SBalslev avatar Aug 05 '25 14:08 SBalslev