Table of Contents

KVSMEDDMSLib

Procedures

CreateBarcodeFlag(Text[250], Text) :

Summary: Creates a barcode flag for the given table and record. The user is asked for a document type and the barcode

procedure CreateBarcodeFlag(TablenamePar: Text[250]; PositionPar: Text): 

Parameters:

  • TablenamePar: Table the barcode flag is created for
  • PositionPar: Record the barcode flag is created for

CreateDMSBarcode(Code[30], Integer, Text[250], Text[30]) :

Summary: Creates a barcode flag for the given table and record without user interaction.

procedure CreateDMSBarcode(DMSBarcodePar: Code[30]; TableIDPar: Integer; PositionPar: Text[250]; SubDocumentTypePar: Text[30]): 

Parameters:

  • DMSBarcodePar: Barcode
  • TableIDPar: Table the barcode flag is created for
  • PositionPar: Record the barcode flag is created for
  • SubDocumentTypePar: Document type for barcode flag

GetFirstOrLastArchivedDoc(Dictionary, Record KVSMEDDIIMDocument, Record KVSMEDDIQueryResultBlob, Record KVSMEDDIQueryResultIndex, Boolean, Text[250], Option) : Integer

procedure GetFirstOrLastArchivedDoc(var IndexValues: Dictionary; var TempKVSMEDDIIMDocument: Record "KVSMEDDIIMDocument" temporary; var TempKVSMEDDIQueryResultBlob: Record "KVSMEDDIQueryResultBlob" temporary; var TempKVSMEDDIQueryResultIndex: Record "KVSMEDDIQueryResultIndex" temporary; GetFilesPar: Boolean; SchemaPar: Text[250]; FirstOrLastPar: Option): Integer

Events

OnGetDMSServiceProvider(Interface KVSMEDIDMSIntegration, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnGetDMSServiceProvider(var DMSServiceProvider: Interface "KVSMEDIDMSIntegration"; var Handled: Boolean): 

OnGetDMSServiceProviderV3(Interface KVSMEDIDMSIntegrationV3, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnGetDMSServiceProviderV3(var DMSServiceProvider: Interface "KVSMEDIDMSIntegrationV3"; var Handled: Boolean): 

OnBeforeOpenBarcodeFlag(Text[250], Text) :

Summary: The event is raised before the page barcode flag is opened

[IntegrationEvent(false, false)]
local procedure OnBeforeOpenBarcodeFlag(Tablename: Text[250]; RecPosition: Text): 

Parameters:

  • Tablename: Name of the record the barcode flag will be created for
  • RecPosition: Record position of the record the barcode flag will be created for

OnBeforeInsertDMSBarcode(Record KVSMEDDIDMSBarcode) :

[IntegrationEvent(false, false)]
local procedure OnBeforeInsertDMSBarcode(var KVSMEDDIDMSBarcode: Record "KVSMEDDIDMSBarcode"):