Skip to content

KVSMEDInstall#

Procedures#

InstallMasterLayoutAllCompanies(Integer) :#

Summary: Installs the master layout for a specific report into all companies. Use EventSubscriber for OnAfterInstallMasterLayoutForReport and then this method.

procedure InstallMasterLayoutAllCompanies(ReportId: Integer): 

Parameters:

  • ReportId: The ID of the report for which the master layout is being installed.

Events#

OnBeforeInstallMasterLayoutDefaults(Boolean) :#

Summary: Event that is triggered before the master layout is installed.

[IntegrationEvent(false, false)]
local procedure OnBeforeInstallMasterLayoutDefaults(var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInstall", 'OnBeforeInstallMasterLayoutDefaults', '', false, false)]
local procedure DoSomethingOnBeforeInstallMasterLayoutDefaults(var IsHandled: Boolean)
begin
end;

Parameters:

  • IsHandled: Indicates whether the installation of the master layout has been handled by the subscriber.

OnBeforeInstallMasterLayoutAllCompanies(Integer, Boolean) :#

Summary: Event that is triggered before the master layout for a specific report is installed.

[IntegrationEvent(false, false)]
local procedure OnBeforeInstallMasterLayoutAllCompanies(ReportId: Integer; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInstall", 'OnBeforeInstallMasterLayoutAllCompanies', '', false, false)]
local procedure DoSomethingOnBeforeInstallMasterLayoutAllCompanies(ReportId: Integer; var IsHandled: Boolean)
begin
end;

Parameters:

  • Description: The description of the report layout selection.
  • MasterLayoutTempBlob: The temporary blob that contains the master layout data.
  • ReportId: The ID of the report for which the master layout is being installed.
  • IsHandled: Indicates whether the installation of the master layout for the report has been handled by the subscriber.

OnInstallMasterLayoutDefaults_OnAfterInstallMasterLayoutAllCompanies() :#

Summary: Event that is triggered after the master layout for a specific report has been installed.

[IntegrationEvent(false, false)]
local procedure OnInstallMasterLayoutDefaults_OnAfterInstallMasterLayoutAllCompanies(): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInstall", 'OnInstallMasterLayoutDefaults_OnAfterInstallMasterLayoutAllCompanies', '', false, false)]
local procedure DoSomethingOnInstallMasterLayoutDefaults_OnAfterInstallMasterLayoutAllCompanies()
begin
end;

Parameters:

  • Description: The description of the report layout selection.
  • MasterLayoutTempBlob: The temporary blob that contains the master layout data.

OnBeforeInstallExtensionPerCompany(Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeInstallExtensionPerCompany(var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInstall", 'OnBeforeInstallExtensionPerCompany', '', false, false)]
local procedure DoSomethingOnBeforeInstallExtensionPerCompany(var Handled: Boolean)
begin
end;

OnAfterInstallExtensionPerCompany() :#

[IntegrationEvent(false, false)]
local procedure OnAfterInstallExtensionPerCompany(): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInstall", 'OnAfterInstallExtensionPerCompany', '', false, false)]
local procedure DoSomethingOnAfterInstallExtensionPerCompany()
begin
end;

OnBeforeInstallExtensionPerDatabase(Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeInstallExtensionPerDatabase(var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInstall", 'OnBeforeInstallExtensionPerDatabase', '', false, false)]
local procedure DoSomethingOnBeforeInstallExtensionPerDatabase(var Handled: Boolean)
begin
end;

OnAfterInstallExtensionPerDatabase() :#

[IntegrationEvent(false, false)]
local procedure OnAfterInstallExtensionPerDatabase(): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInstall", 'OnAfterInstallExtensionPerDatabase', '', false, false)]
local procedure DoSomethingOnAfterInstallExtensionPerDatabase()
begin
end;