If the Add Attachments field is activated in the ebInterface Document Format, a PDF file of the document based on the Report Selection is created by default and sent to ebInterface in addition to the XML file.
For more information, see Setup, ebInterface Document Formats.
This logic can be changed via individual programming, and additional files can also be added.
The following events are available in the codeunit "NVXEB Functions" for this purpose.
[IntegrationEvent(false, false)]
local procedure OnBeforeAddAttachments(SourceDocumentHeader: RecordRef; var AttachmentTempBlobList: Codeunit "Temp Blob List"; var AttachmentFileNameList: List of [Text]; var IsHandled: Boolean)
begin
end;
[IntegrationEvent(false, false)]
local procedure OnAfterAddAttachments(SourceDocumentHeader: RecordRef; var AttachmentTempBlobList: Codeunit "Temp Blob List"; var AttachmentFileNameList: List of [Text])
begin
end;
Related information
Setup, ebInterface Document Formats In the ebInterface Document Formats page you can define the various settings and defaults for ebInterface and assign them to a Code. The code can be specified for each customer on the Customer Card in the ebI Document Format field. The specified code determines the rules for creating XML files for the customer's sales and service documents...