Skip to content

KVSCLQSetConfigMeth#

Summary: Use this Codeunit to set an ChangeLogQuickAccess Config. You do not need an dependency to this App to use this Feature. Since this is a single instance codeunit you can seet the configuration just once per session. But it is also no problem for CLQ if the invocation is done more often.

Procedures#

OnRun#

procedure OnRun(Rec: Record "#437dbf0e84ff417a965ded2bb9650972#Sent Notification Entry")

Events#

OnBeforeSetConfig(Record Sent Notification Entry, Boolean) :#

Summary: This event is triggert right before an independent App tries to set an configuration

[IntegrationEvent(false, false)]
local procedure OnBeforeSetConfig(var TempConfig: Record "Sent Notification Entry" temporary; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSCLQSetConfigMeth", 'OnBeforeSetConfig', '', false, false)]
local procedure DoSomethingOnBeforeSetConfig(var TempConfig: Record "Sent Notification Entry" temporary; var IsHandled: Boolean)
begin
end;

Parameters:

  • TempConfig: The "Notification Content" field contains the configuration

OnAfterSetConfig(Record Sent Notification Entry) :#

Summary: This event is triggert right after an independent App tries to set an configuration

[IntegrationEvent(false, false)]
local procedure OnAfterSetConfig(var TempConfig: Record "Sent Notification Entry" temporary): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSCLQSetConfigMeth", 'OnAfterSetConfig', '', false, false)]
local procedure DoSomethingOnAfterSetConfig(var TempConfig: Record "Sent Notification Entry" temporary)
begin
end;

Parameters:

  • TempConfig: The "Notification Content" field contains the configuration