ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Table 81 - Gen. Journal Line - OnBeforeGetFADeprBook

Open Codey42 opened this issue 4 years ago • 1 comments

Dear ALAppExtensions team,

Through this issue we would like to request adding event publisher OnBeforeGetFADeprBook in Table 81 Gen. Journal Line with the following signature (similar to OnAfterGetFADeprBook):

[IntegrationEvent(false, false)]
local procedure OnBeforeGetFADeprBook(var GenJournalLine: Record "Gen. Journal Line";
                                      FANo: Code[20])
begin
end;

with VAR parameter GenJournalLine. which would be called as follows in GetFADeprBook:

local procedure GetFADeprBook(FANo: Code[20])
var
    FASetup: Record "FA Setup";
    FADeprBook: Record "FA Depreciation Book";
    DefaultFADeprBook: Record "FA Depreciation Book";
begin
    // >>>> New >>>>>>>>>>>>>>>>
    OnBeforeGetFADeprBook(Rec, FANo);
    // <<<< New <<<<<<<<<<<<<<<<

    ...
end;

Codey42 avatar Jun 07 '22 13:06 Codey42

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. 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.

Build ID: 42323.

JesperSchulz avatar Jun 17 '22 10:06 JesperSchulz