Table of Contents

KVSMTCDIImportDIIMDocuments

Events

OnBeforeArchiveDMSBarcodeFlag(Record KVSMTCDIDMSBarcode, Text[250]) :

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

[IntegrationEvent(false, false)]
local procedure OnBeforeArchiveDMSBarcodeFlag(KVSMTCDIDMSBarcode: Record "KVSMTCDIDMSBarcode"; var Subdirectory: Text[250]): 

Parameters:

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

OnUnknownProcessTypeInAutoArchiveDoc(Record KVSMTCDIIMDocument, Boolean) :

Summary: Event triggered when an unknown process type is encountered during auto-archiving of an IM document. Allows subscribers to handle custom process types.

[IntegrationEvent(false, false)]
local procedure OnUnknownProcessTypeInAutoArchiveDoc(var KVSMTCDIIMDocument: Record "KVSMTCDIIMDocument"; var IsHandled: Boolean): 

Parameters:

  • KVSMTCDIIMDocument: The IM Document record being processed.
  • IsHandled: Set to true by the subscriber if the process type is handled.

OnBeforeProcessAutoArchivingIMDoc(Record KVSMTCDIIMDocument, Boolean) :

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

[IntegrationEvent(false, false)]
local procedure OnBeforeProcessAutoArchivingIMDoc(var KVSMTCDIIMDocument: Record "KVSMTCDIIMDocument"; var IsHandled: Boolean): 

Parameters:

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

OnAfterArchivingDIIMDocumentWithDirectArchiving(Record KVSMTCDIIMDocument) :

Summary: Event triggered after archiving a DI-IM Document using direct archiving. Allows subscribers to perform additional actions after the archiving process.

[IntegrationEvent(false, false)]
local procedure OnAfterArchivingDIIMDocumentWithDirectArchiving(var KVSMTCDIIMDocument: Record "KVSMTCDIIMDocument"): 

Parameters:

  • KVSMTCDIIMDocument: The IM Document record that was archived.