Skip to content

KVSMEDDIImportDIIMDocuments#

Events#

OnBeforeArchiveDMSBarcodeFlag(Record KVSMEDDIDMSBarcode, Text[250]) :#

Summary: The event can be used to define an subdirectory for archiving a barcode flag

[IntegrationEvent(false, false)]
local procedure OnBeforeArchiveDMSBarcodeFlag(KVSMEDDIDMSBarcode: Record "KVSMEDDIDMSBarcode"; var Subdirectory: Text[250]): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDDIImportDIIMDocuments", 'OnBeforeArchiveDMSBarcodeFlag', '', false, false)]
local procedure DoSomethingOnBeforeArchiveDMSBarcodeFlag(KVSMEDDIDMSBarcode: Record "KVSMEDDIDMSBarcode"; var Subdirectory: Text[250])
begin
end;

Parameters:

  • KVSMEDDIDMSBarcode: DMS Barcode record
  • Subdirectory: Subdirectory to be used for archiving

OnBeforeProcessAutoArchivingIMDoc(Record KVSMEDDIIMDocument, Boolean) :#

Summary: The event can be used to process the auto archiving of IM documents.

[IntegrationEvent(false, false)]
local procedure OnBeforeProcessAutoArchivingIMDoc(var KVSMEDDIIMDocument: Record "KVSMEDDIIMDocument"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDDIImportDIIMDocuments", 'OnBeforeProcessAutoArchivingIMDoc', '', false, false)]
local procedure DoSomethingOnBeforeProcessAutoArchivingIMDoc(var KVSMEDDIIMDocument: Record "KVSMEDDIIMDocument"; var IsHandled: Boolean)
begin
end;

Parameters:

  • KVSMEDDIIMDocument: IM Document entry that should be archived
  • IsHandled: Set true if the IM Document entry is processed