Skip to content

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): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDDMSLib", 'OnGetDMSServiceProvider', '', false, false)]
local procedure DoSomethingOnGetDMSServiceProvider(var DMSServiceProvider: Interface "KVSMEDIDMSIntegration"; var Handled: Boolean)
begin
end;

OnGetDMSServiceProviderV2(Interface KVSMEDIDMSIntegrationV2, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnGetDMSServiceProviderV2(var DMSServiceProvider: Interface "KVSMEDIDMSIntegrationV2"; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDDMSLib", 'OnGetDMSServiceProviderV2', '', false, false)]
local procedure DoSomethingOnGetDMSServiceProviderV2(var DMSServiceProvider: Interface "KVSMEDIDMSIntegrationV2"; var Handled: Boolean)
begin
end;

OnGetDMSServiceProviderV3(Interface KVSMEDIDMSIntegrationV3, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnGetDMSServiceProviderV3(var DMSServiceProvider: Interface "KVSMEDIDMSIntegrationV3"; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDDMSLib", 'OnGetDMSServiceProviderV3', '', false, false)]
local procedure DoSomethingOnGetDMSServiceProviderV3(var DMSServiceProvider: Interface "KVSMEDIDMSIntegrationV3"; var Handled: Boolean)
begin
end;

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): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDDMSLib", 'OnBeforeOpenBarcodeFlag', '', false, false)]
local procedure DoSomethingOnBeforeOpenBarcodeFlag(Tablename: Text[250]; RecPosition: Text)
begin
end;

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"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDDMSLib", 'OnBeforeInsertDMSBarcode', '', false, false)]
local procedure DoSomethingOnBeforeInsertDMSBarcode(var KVSMEDDIDMSBarcode: Record "KVSMEDDIDMSBarcode")
begin
end;