Skip to content

KVSADVSetupAssistantHandler#

Summary: This codeunit handles all functionality used within the Setup Assistant Page

Procedures#

SetDirectPostingAllowedForGLAccount(Record G/L Account) :#

Summary: Sets the direct marker in a G/L Account to allow direct posting onto it.

procedure SetDirectPostingAllowedForGLAccount(var GLAccount: Record "G/L Account"): 

Parameters:

  • GLAccount: The G/L Account to modify

Events#

OnBeforeIsStepCurrentlyValid(Enum KVSADVSetupAssistantAreas, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeIsStepCurrentlyValid(NextStep: Enum "KVSADVSetupAssistantAreas"; var Result: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVSetupAssistantHandler", 'OnBeforeIsStepCurrentlyValid', '', false, false)]
local procedure DoSomethingOnBeforeIsStepCurrentlyValid(NextStep: Enum "KVSADVSetupAssistantAreas"; var Result: Boolean; var IsHandled: Boolean)
begin
end;

OnSuggestReportIDForAdvanceDocumentReportSelection(Enum Report Selection Usage, Integer) :#

[IntegrationEvent(false, false)]
local procedure OnSuggestReportIDForAdvanceDocumentReportSelection(UsageType: Enum "Report Selection Usage"; var ReportID: Integer): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVSetupAssistantHandler", 'OnSuggestReportIDForAdvanceDocumentReportSelection', '', false, false)]
local procedure DoSomethingOnSuggestReportIDForAdvanceDocumentReportSelection(UsageType: Enum "Report Selection Usage"; var ReportID: Integer)
begin
end;

OnAfterCreateCopyOfGLAccount(Record G/L Account, Record G/L Account) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCreateCopyOfGLAccount(OriginalGLAccount: Record "G/L Account"; var CopiedGLAccount: Record "G/L Account"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVSetupAssistantHandler", 'OnAfterCreateCopyOfGLAccount', '', false, false)]
local procedure DoSomethingOnAfterCreateCopyOfGLAccount(OriginalGLAccount: Record "G/L Account"; var CopiedGLAccount: Record "G/L Account")
begin
end;

OnAfterSetDirectPostingAllowedForGLAccount(Record G/L Account) :#

[IntegrationEvent(false, false)]
local procedure OnAfterSetDirectPostingAllowedForGLAccount(var GLAccount: Record "G/L Account"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVSetupAssistantHandler", 'OnAfterSetDirectPostingAllowedForGLAccount', '', false, false)]
local procedure DoSomethingOnAfterSetDirectPostingAllowedForGLAccount(var GLAccount: Record "G/L Account")
begin
end;