microsoft / AL

Home of the Dynamics 365 Business Central AL Language extension for Visual Studio Code. Used to track issues regarding the latest version of the AL compiler and developer tools available in the Visual Studio Code Marketplace or as part of the AL Developer Preview builds for Dynamics 365 Business Central.
MIT License
722 stars 242 forks source link

Factbox OnLookUp not being executed #7677

Closed dkorinets closed 4 months ago

dkorinets commented 4 months ago

1. Describe the bug The OnLookUp trigger is not executed on the Factboxses.

2. To Reproduce Create any simple fact box with a simple message example in it field(TestText; TestText) { Caption = 'TestText'; ApplicationArea = all; Lookup = true;

            trigger OnLookup(var Text: Text): Boolean
            begin
                Message('The OnLookup Works!');
            end;
        }

3. Expected behavior When you click "TestText" - you see the expected message ('The OnLookup Works!).

4. Actual behavior When you click "TestText" - you do not see the expected message.

5. Versions:

kalberes commented 4 months ago

I donot know if this is supported. But if it is it is a runtime issue, so the best is to: image