KVSMEDDIImportDIIMDocuments
Procedures
SetXMLData(Text, Record KVSMEDDIIMDocument) : Boolean
Summary: Sets the XML data for importing a DIIMDocument and returns the newly created document record.
procedure SetXMLData(xmlData: Text; var NewKVSMEDDIIMDocument: Record "KVSMEDDIIMDocument"): Boolean
Parameters:
xmlData:NewKVSMEDDIIMDocument:
Returns:
AutoArchiveIMDoc(Record KVSMEDDIIMDocument) :
Summary: Automatically archives the given DIIMDocument based on its document type settings.
procedure AutoArchiveIMDoc(var KVSMEDDIIMDocument: Record "KVSMEDDIIMDocument"):
Parameters:
KVSMEDDIIMDocument:
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]):
Parameters:
KVSMEDDIDMSBarcode: DMS Barcode recordSubdirectory: 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):
Parameters:
KVSMEDDIIMDocument: IM Document entry that should be archivedIsHandled: Set true if the IM Document entry is processed
OnUnknownProcessTypeInAutoArchiveDoc(Record KVSMEDDIIMDocument, 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 KVSMEDDIIMDocument: Record "KVSMEDDIIMDocument"; var IsHandled: Boolean):
Parameters:
KVSMEDDIIMDocument: The IM Document record being processed.IsHandled: Set to true by the subscriber if the process type is handled.
OnAfterArchivingDIIMDocumentWithDirectArchiving(Record KVSMEDDIIMDocument) :
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 KVSMEDDIIMDocument: Record "KVSMEDDIIMDocument"):
Parameters:
KVSMEDDIIMDocument: The IM Document record that was archived.