Skip to content

KVSMTCInstall#

Procedures#

InstallMasterLayoutAllCompanies(Integer) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

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

[Obsolete('Obsolete because the pattern has changed. Report extensions with rendering blocks are now being used.. Obsolete since 27.5.', '27.5')]
procedure InstallMasterLayoutAllCompanies(ReportId: Integer): 

Parameters:

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

Events#

OnBeforeInstallMasterLayoutDefaults(Boolean) :#

Summary:

[IntegrationEvent(false, false)]
local procedure OnBeforeInstallMasterLayoutDefaults(var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCInstall", '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) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

Summary: Obsolete (since 27.5). Do not insert master layout blobs into legacy "Custom Report Layout" tables. Provide layouts in a report extension rendering section and manage selection via Report Layout Selection. This event remains for compatibility and will be removed.

[IntegrationEvent(false, false)]
[Obsolete('Provide layouts via report extension rendering; manage default with Report Layout Selection; this event is obsolete. Obsolete since 27.5.', '27.5')]
local procedure OnBeforeInstallMasterLayoutAllCompanies(ReportId: Integer; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCInstall", '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:

[IntegrationEvent(false, false)]
local procedure OnInstallMasterLayoutDefaults_OnAfterInstallMasterLayoutAllCompanies(): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCInstall", '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.