Archive Report into external Systems (DMS)
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)
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.
OK, good to here. Do you have got time line for that?
Unfortunately I don't have a more specific timeline to share at this moment.
Any updates / timeline for this issue?
Any news for that issue?
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.
Having the same issue about transaction. t seems that there is a issue on that.
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.
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
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.