Table of Contents

KVSDMSConnect

Procedures

IsGuiActive() : Boolean

procedure IsGuiActive(): Boolean

IsGuiActive(Text, Enum KVSDMSICMode) : Boolean

procedure IsGuiActive(ObjectId: Text; Mode: Enum "KVSDMSICMode"): Boolean

IsListGuiActive() : Boolean

procedure IsListGuiActive(): Boolean

IsListGuiActive(Text) : Boolean

procedure IsListGuiActive(ObjectId: Text): Boolean

IsPageActive(Text, Enum KVSDMSICMode) : Boolean

procedure IsPageActive(ObjectId: Text; Mode: Enum "KVSDMSICMode"): Boolean

IsOutgoingDocumentsActive() : Boolean

procedure IsOutgoingDocumentsActive(): Boolean

CheckArchivingNecessary(Variant, Integer, Enum KVSDMSProcessAction, Integer) : Boolean

Summary: use this function to check wether a report should be archived or not, based on Document Setup

procedure CheckArchivingNecessary(RecToPrintVariant: Variant; Usage: Integer; ProcessAction: Enum "KVSDMSProcessAction"; var BasePageId: Integer): Boolean

Parameters:

  • RecToPrintVariant: base record für the report
  • Usage: usage value (normally based on Report Selection usage)
  • ProcessAction: current process step (print, post, ...)
  • BasePageId: Id of the page from which ELO can obtain Metadata for the record

Returns: True if report should be archived

CheckArchivingNecessary(Integer, Variant, Integer, Enum KVSDMSProcessAction, Integer) : Boolean

Summary: use this function to check wether a report should be archived or not, based on Report Setup

procedure CheckArchivingNecessary(ReportID: Integer; RecToPrintVariant: Variant; Usage: Integer; ProcessAction: Enum "KVSDMSProcessAction"; var BasePageId: Integer): Boolean

Parameters:

  • ReportID: the ID of the report to check
  • RecToPrintVariant: base record für the report
  • Usage: usage value (normally based on Report Selection usage)
  • ProcessAction: current process step (print, post, ...)
  • BasePageId: Id of the page from which ELO can obtain Metadata for the record

Returns: True if report should be archived

ArchiveDocument(Integer, Enum Report Selection Usage, Variant, Integer) :

procedure ArchiveDocument(ReportId: Integer; Usage: Enum "Report Selection Usage"; RecordVariant: Variant; PageId: Integer): 

ArchiveOrQueue(Integer, Enum Report Selection Usage, Variant, Integer) :

procedure ArchiveOrQueue(ReportId: Integer; Usage: Enum "Report Selection Usage"; RecordVariant: Variant; PageId: Integer): 

ConvertParameterStringForIX(Text, JsonObject) : Text

procedure ConvertParameterStringForIX(func: Text; RequestObject: JsonObject): Text

GetAttachmentFileName(Text[250], Code[20], Text[250], Integer) :

procedure GetAttachmentFileName(var AttachmentFileName: Text[250]; PostedDocNo: Code[20]; EmailDocumentName: Text[250]; ReportUsage: Integer): 

GetKeyArray(Variant) : JsonObject

procedure GetKeyArray(RecordVariant: Variant): JsonObject

GetKeyArray(Variant, Integer) : JsonObject

procedure GetKeyArray(RecordVariant: Variant; PageId: Integer): JsonObject

Post(Text, Text) : Text

procedure Post(Url: Text; Body: Text): Text

GetIntegrationClientProfiles() : List

procedure GetIntegrationClientProfiles(): List

Events

OnCheckArchivingNecessary(JsonObject, Variant, Boolean, Integer, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnCheckArchivingNecessary(ObjectPayload: JsonObject; RecordVariant: Variant; var IsToArchive: Boolean; var PageId: Integer; var IsHandled: Boolean): 

OnBeforeCheckArchivingNecessary(Integer, Variant, Integer, Enum KVSDMSProcessAction, Boolean, Integer, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckArchivingNecessary(ReportID: Integer; RecordVariant: Variant; Usage: Integer; ProcessAction: Enum "KVSDMSProcessAction"; var IsToArchive: Boolean; var PageId: Integer; var IsHandled: Boolean): 

OnBeforeArchiveDocument(Variant, Integer, Enum Report Selection Usage, Text, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnBeforeArchiveDocument(RecordVariant: Variant; ReportId: Integer; Usage: Enum "Report Selection Usage"; DocumentInfo: Text; var Handled: Boolean): 

OnBeforeArchiveFile(Variant, Text[250], Text, Text, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnBeforeArchiveFile(RecordVariant: Variant; Filename: Text[250]; Usage: Text; DocumentInfo: Text; var Handled: Boolean): 

OnBeforeArchiveFromBuffer(Record KVSDMSDocumentBuffer, Text, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnBeforeArchiveFromBuffer(DocumentBuffer: Record "KVSDMSDocumentBuffer"; DocumentInfo: Text; var Handled: Boolean): 

OnArchiveFromBuffer(Record KVSDMSDocumentBuffer, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnArchiveFromBuffer(DocumentBuffer: Record "KVSDMSDocumentBuffer"; var Handled: Boolean): 

OnAfterArchiving(Variant) :

[IntegrationEvent(false, false)]
local procedure OnAfterArchiving(RecArchivedVariant: Variant): 

OnAfterArchiveDocument(Variant, Text) :

[IntegrationEvent(false, false)]
local procedure OnAfterArchiveDocument(RecArchivedVariant: Variant; Guid: Text): 

OnAfterArchiveFile(Variant, Text) :

[IntegrationEvent(false, false)]
local procedure OnAfterArchiveFile(RecArchivedVariant: Variant; Guid: Text):