Table of Contents

KVSMTCDMSLib

Procedures

CreateBarcodeFlag(Text, Text) :

Summary: Creates a barcode flag for the specified table and position.

procedure CreateBarcodeFlag(TablenamePar: Text; PositionPar: Text): 

Parameters:

  • TablenamePar: The name of the table.
  • PositionPar: The position in the table.

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

Summary: Creates a barcode flag for the specified table, position and subdirectory.

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

Parameters:

  • DMSBarcodePar: The barcode.
  • TableIDPar: The name of the table.
  • PositionPar: The position in the table.
  • SubDocumentTypePar: The subdirectory for further archiving.

GetFirstOrLastArchivedDoc(Dictionary, Record KVSMTCDIIMDocument, Record KVSMTCDIQueryResultBlob, Record KVSMTCDIQueryResultIndex, Boolean, Text[250], Option) : Integer

procedure GetFirstOrLastArchivedDoc(var IndexValues: Dictionary; var KVSMTCDIIMDocument: Record "KVSMTCDIIMDocument" temporary; var KVSMTCDIQueryResultBlob: Record "KVSMTCDIQueryResultBlob" temporary; var KVSMTCDIQueryResultIndex: Record "KVSMTCDIQueryResultIndex" temporary; GetFilesPar: Boolean; SchemaPar: Text[250]; FirstOrLastPar: Option): Integer

Events

OnGetDMSServiceProvider(Interface KVSMTCIDMSIntegration, Boolean) :

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

OnGetDMSServiceProviderV2(Interface KVSMTCIDMSIntegrationV2, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnGetDMSServiceProviderV2(var DMSServiceProvider: Interface "KVSMTCIDMSIntegrationV2"; 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 KVSMTCDIDMSBarcode) :

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