Skip to content

KVSMTCIDMSIntegration#

Procedures#

ArchiveDocCounter(Dictionary, Boolean, Integer) : Text#

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

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

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

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

procedure ArchiveDocumentWithStatus(var IMDocumentVar: Record "KVSMTCDIIMDocument"; TableIDPar: Integer; RecPositionPar: Text[1024]; FldMapPar: Integer; SetStatusPar: Boolean; AdditionalValues: Dictionary; IMDocTemporary: Boolean; CategoryPar: Text[250]): 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 if the DMS (Document Management System) is active.

procedure DMSIsActive(): Boolean

Returns: Returns true if the DMS is active, otherwise false.

GetArchivedDoc(Dictionary, Record KVSMTCDIIMDocument) : Integer#

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

GetArchivedDocsWithIndex(Dictionary, Record KVSMTCDIIMDocument, Record KVSMTCDIQueryResultBlob, Record KVSMTCDIQueryResultIndex, Boolean, Text[250]) : Integer#

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

GetSchemaDictonary(Text) : Dictionary#

Summary: Retrieves the schema dictionary.

procedure GetSchemaDictonary(Schema: Text): Dictionary

Parameters:

  • Schema: Schema text to retrieve the dictionary for.

Returns: Returns a dictionary of schema fields.

GetSchemaFieldName(Integer) : Text#

Summary: Retrieves the name of a schema field.

procedure GetSchemaFieldName(SchemaFieldNo: Integer): Text

Parameters:

  • SchemaFieldNo: The number of the schema field.

Returns: Returns the name of the schema field.

GetStandardFieldMapping(Text, Boolean) : Integer#

Summary: Retrieves the standard field mapping for a table.

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

Parameters:

  • TableName: The name of the table.
  • ForArchiving: Boolean indicating whether the mapping is for archiving.

Returns: Returns the field mapping ID.

GetStandardReportFieldMapping(Text) : Integer#

Summary: Retrieves the standard report field mapping for a table.

procedure GetStandardReportFieldMapping(TableName: Text): Integer

Parameters:

  • TableName: The name of the table.

Returns: Returns the field mapping ID.

GetStandardFieldMappingSchema(Text, Boolean) : Text#

Summary: Retrieves the standard field mapping schema for a table.

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

Parameters:

  • TableName: The name of the table.
  • ForArchiving: Boolean indicating whether the mapping is for archiving.

Returns: Returns the field mapping schema as text.