ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[EVENT REQUEST] - Table 274 Bank Acc. Reconciliation Line - Function GetStyle()

Open aismel87 opened this issue 3 years ago • 1 comments

Dear Al Development Team,

In codeunit 27, local function GetStyle, we need an event here:

image

OLD CODE:
procedure GetStyle(): Text
    begin
        if "Applied Entries" <> 0 then
            exit('Favorable');

        exit('');
    end;

NEW CODE:
procedure GetStyle(): Text
// Init New Code
var
        IsHandled: Boolean;
// End New Code
    begin
        // Init New Code
        IsHandled := false;
        OnBeforeGetStyle(BankAccReconciliationLine, isHandled);
        if IsHandled then
            exit;
        // End New Code
        if "Applied Entries" <> 0 then
            exit('Favorable');

        exit('');
    end;

New publisher:

[IntegrationEvent(false, false)]
    local procedure OnBeforeGetStyle(var BankAccReconciliationLine: Record "Bank Acc. Reconciliation Line"; var IsHandled: Boolean)
    begin
    end;

Thank you!

aismel87 avatar Sep 20 '23 10:09 aismel87

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

JesperSchulz avatar Sep 22 '23 10:09 JesperSchulz