Skip to content

KVSMEDIDMSIntegration#

Procedures#

ArchiveDocCounter(Dictionary, Boolean, Integer) : Text#

procedure ArchiveDocCounter(AdditionalValues: Dictionary; OnlyWithAttachedFilePar: Boolean; var numberOfDocumentsPar: Integer): Text

ArchiveDocumentWithoutFM(Record KVSMEDDIIMDocument, Dictionary, Text[250], Boolean) : Text#

procedure ArchiveDocumentWithoutFM(var IMDocumentVar: Record "KVSMEDDIIMDocument"; AdditionalValues: Dictionary; CategoryPar: Text[250]; IMDocTemporary: Boolean): Text

ArchiveDocumentWithStatus(Record KVSMEDDIIMDocument, Integer, Text[1024], Integer, Boolean, Dictionary, Boolean, Text[250]) : Text#

procedure ArchiveDocumentWithStatus(var IMDocumentVar: Record "KVSMEDDIIMDocument"; TableIDPar: Integer; RecPositionPar: Text[1024]; FldMapPar: Integer; SetStatusPar: Boolean; AdditionalValues: Dictionary; IMDocTemporary: Boolean; CategoryPar: Text[250]): Text

CopyMoveDocsFromIA(Record KVSMEDInfoRequestHeader, Record KVSMEDInfoRequestHeader, Boolean, Integer) : Boolean#

Summary: Copy or move dms entries from one info request to another

procedure CopyMoveDocsFromIA(IASource: Record "KVSMEDInfoRequestHeader"; IADest: Record "KVSMEDInfoRequestHeader"; CopyPar: Boolean; var NumberDocsProcessed: Integer): Boolean

Parameters:

  • IASource: Info Request to copy or move DMS entries from
  • IADest: Info request to copy or move DMS entries to
  • CopyPar: True --> copy dms entries. False --> move dms entries.
  • NumberDocsProcessed: Returns the number of dms entries copied or moved

Returns: Empty if no error occures, otherwise error text

CreateAdditionalValues(Dictionary, Integer, Text, Integer, Text) : Boolean#

procedure CreateAdditionalValues(var AdditionalValues: Dictionary; TableIDPar: Integer; RecPositionPar: Text; FldMapPar: Integer; var ErrorTextVar: Text): Boolean

DMSIsActive() : Boolean#

Summary: Checks whether the DMS interface is active. This function should be called before using any other interface function.

procedure DMSIsActive(): Boolean

Returns: True --> DMS interface is active. False --> DMS interface is not active

GetArchivedDoc(Dictionary, Record KVSMEDDIIMDocument) : Integer#

procedure GetArchivedDoc(var IndexFields: Dictionary; var di-IM DocumentPar: Record "KVSMEDDIIMDocument"): Integer

GetArchivedDocsWithIndex(Dictionary, Record KVSMEDDIIMDocument, Record KVSMEDDIQueryResultBlob, Record KVSMEDDIQueryResultIndex, Boolean, Text[250]) : Integer#

procedure GetArchivedDocsWithIndex(var IndexFields: Dictionary; var di-IM DocumentPar: Record "KVSMEDDIIMDocument"; var di-QueryResultBlobPar: Record "KVSMEDDIQueryResultBlob"; var di-QueryResultIndexPar: Record "KVSMEDDIQueryResultIndex"; GetFilesPar: Boolean; SchemaPar: Text[250]): Integer

GetSchemaDictonary(Text) : Dictionary#

Summary: Returns a dictonary of of index fields in a given schema

procedure GetSchemaDictonary(Schema: Text): Dictionary

Parameters:

  • Schema: Schema from witch the index fields are returned

Returns: Dictonary of index fields in the given schema

GetStandardReportFieldMapping(Text) : Integer#

Summary: Returns the default fieldmapping for report archiving for a given table

procedure GetStandardReportFieldMapping(TableName: Text): Integer

Parameters:

  • TableName: Table name to return the default fieldmapping

Returns: Default fieldmapping for report archiving

GetStandardReportFieldMappingForRecord(RecordRef) : Integer#

Summary: Returns the default fieldmapping for report archiving for a given table

procedure GetStandardReportFieldMappingForRecord(RecordRef: RecordRef): Integer

Parameters:

  • RecRef: Record to find fieldmapping for

Returns: Default fieldmapping for report archiving

GetStandardFieldMapping(Text, Boolean) : Integer#

Summary: Returns the default fieldmapping for archiving or query for a given table

procedure GetStandardFieldMapping(TableName: Text; ForArchiving: Boolean): Integer

Parameters:

  • TableName: Table name to return the default fieldmapping
  • ForArchiving: True --> archiving. False --> query.

Returns: Default fieldmapping for archiving or query

GetStandardFieldMappingForRecord(RecordRef, Boolean) : Integer#

Summary: Returns the default fieldmapping for archiving or query for a given record

procedure GetStandardFieldMappingForRecord(RecRef: RecordRef; ForArchiving: Boolean): Integer

Parameters:

  • RecRef: Record to find fieldmapping for
  • ForArchiving: True --> archiving. False --> query.

Returns: Default fieldmapping for archiving or query

GetStandardFieldMappingSchema(Text, Boolean) : Text#

procedure GetStandardFieldMappingSchema(TableName: Text; ForArchiving: Boolean): Text