ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Codeunit 3 "G/L Account-Indent".IndentICAccount

Open Softstore opened this issue 5 years ago • 1 comments

Include the possibilty to subscrive the OnBeforeIndentICAccount to give the possibility to ident with other account types

    local procedure IndentICAccount()     var         ICGLAcc: Record "IC G/L Account";     begin //------------------------------------------------- IsHandheld := false; OnBeforeIndentICAccount(GLAcc, IsHandheld); IF IsHandeld then exit; //-------------------------------------------------         Window.Open(Text004);         with ICGLAcc do             if Find('-') then                 repeat                     Window.Update(1, "No.");

                    if "Account Type" = "Account Type"::"End-Total" then begin                         if i < 1 then                             Error(                               Text005,                               "No.");                         i := i - 1;                     end;

                    Validate(Indentation, i);                     Modify;

                    if "Account Type" = "Account Type"::"Begin-Total" then begin                         i := i + 1;                         AccNo[i] := "No.";                     end;                 until Next = 0;         Window.Close;     end;

[IntegrationEvent(false, false)]
local procedure OnBeforeIndentICAccount(var GLAcc: Record "G/L Account"; var IsHandheld: boolean)
begin
end;

Softstore avatar Jan 27 '21 22:01 Softstore

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

JesperSchulz avatar Feb 01 '21 15:02 JesperSchulz