Skip to content

KVSEDX Transm. AzureFShare#

Implements KVSEDXiTransmission.

Events#

OnGetOutboundFilenames(Record KVSEDX Document Setup, Record KVSEDX Outbound, Text, Text, Boolean) :#

Summary: Integration event fired when determining outbound filenames for Azure File Share transmission. This event allows subscribers to customize the filename generation logic for temporary and final file names. Use this event to implement custom naming conventions, add prefixes/suffixes, or modify file extensions based on business requirements.

[IntegrationEvent(true, false)]
local procedure OnGetOutboundFilenames(ParKVSEDXDocumentSetup: Record "KVSEDX Document Setup"; ParKVSEDXOutbound: Record "KVSEDX Outbound"; var FilenameTemporaryVar: Text; var FilenameVar: Text; var HandledVar: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSEDX Transm. AzureFShare", 'OnGetOutboundFilenames', '', false, false)]
local procedure DoSomethingOnGetOutboundFilenames(ParKVSEDXDocumentSetup: Record "KVSEDX Document Setup"; ParKVSEDXOutbound: Record "KVSEDX Outbound"; var FilenameTemporaryVar: Text; var FilenameVar: Text; var HandledVar: Boolean)
begin
end;

Parameters:

  • ParKVSEDXDocumentSetup: EDX document setup record for the outbound processing
  • ParKVSEDXOutbound: EDX Outbound record being processed
  • FilenameTemporaryVar: Temporary filename used during file transfer (with .tmp extension)
  • FilenameVar: Final filename after successful transfer completion
  • HandledVar: Set to true if custom logic has handled the filename generation