Skip to content

KVSMTCDMSLib#

Procedures#

CreateBarcodeFlag(Text, Text) :#

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

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

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

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

OnGetDMSServiceProviderV2(Interface KVSMTCIDMSIntegrationV2, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnGetDMSServiceProviderV2(var DMSServiceProvider: Interface "KVSMTCIDMSIntegrationV2"; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCDMSLib", 'OnGetDMSServiceProviderV2', '', false, false)]
local procedure DoSomethingOnGetDMSServiceProviderV2(var DMSServiceProvider: Interface "KVSMTCIDMSIntegrationV2"; 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::"KVSMTCDMSLib", '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 KVSMTCDIDMSBarcode) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeInsertDMSBarcode(var KVSMTCDIDMSBarcode: Record "KVSMTCDIDMSBarcode"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCDMSLib", 'OnBeforeInsertDMSBarcode', '', false, false)]
local procedure DoSomethingOnBeforeInsertDMSBarcode(var KVSMTCDIDMSBarcode: Record "KVSMTCDIDMSBarcode")
begin
end;