ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Codeunit 9651 Document Report Mgt. - OnTryXmlMergeWordDocumentAfterMerge

Open alapenas opened this issue 5 years ago • 1 comments

Hello, would it be possible to add OnTryXmlMergeWordDocumentAfterMerge event to Codeunit 9651 Document Report Mgt., like this:

[TryFunction]
procedure TryXmlMergeWordDocument(var InStrWordDoc: InStream; var InStrXmlData: InStream; var OutStrWordDoc: OutStream)
var
   NAVWordXMLMerger: DotNet WordReportManager;
begin
   OutStrWordDoc := NAVWordXMLMerger.MergeWordDocument(InStrWordDoc, InStrXmlData, OutStrWordDoc);
   //new event begin
   OnTryXmlMergeWordDocumentAfterMerge(OutStrWordDoc);
   //new event end
end; 
[IntegrationEvent(false, false)]
local procedure OnTryXmlMergeWordDocumentAfterMerge(OutStrWordDoc: OutStream)  //CustPub
begin
end;  

alapenas avatar Oct 25 '21 11:10 alapenas

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

JesperSchulz avatar Oct 27 '21 11:10 JesperSchulz