microsoft / ALAppExtensions

Repository for collaboration on Microsoft AL application add-on and localization extensions for Microsoft Dynamics 365 Business Central.
MIT License
770 stars 610 forks source link

[Event Change Request] table 5621 "FA Journal Line" - OnBeforeValidateShortcutDimCode #27029

Open RZ440 opened 1 month ago

RZ440 commented 1 month ago

Describe the request

Hello, can you please set the initial value for the IsHandled variable?

procedure ValidateShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])
    var
        IsHandled: Boolean;
    begin
        IsHandled := false;
        OnBeforeValidateShortcutDimCode(Rec, xRec, FieldNumber, ShortcutDimCode, IsHandled);
        if IsHandled then
            exit;

Additional context

The initial value shoud be set to false. Internal work item: AB#545032