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
728 stars 241 forks source link

External Document Number disappears after entry from new Sales Invoice #7795

Closed matthew-rc closed 1 month ago

matthew-rc commented 1 month ago

Please include the following with each issue:

1. Describe the bug When creating a new Sales Invoice, after filling out the External Document No., the field disappears from the page. The field along with its newly entered value can still be found by clicking 'Show More', but will be gone from the default view.

2. To Reproduce

  1. Go to Sales Invoices
  2. Click New
  3. Fill out the External Document No. field and click elsewhere on the screen.
  4. The field immediately disappears . Click Show More to reveal it.

base application, page id: 43

                field("External Document No."; Rec."External Document No.")
                {
                    ApplicationArea = Basic, Suite;
                    Importance = Additional;
                    ShowMandatory = ExternalDocNoMandatory;
                    ToolTip = 'Specifies a document number that refers to the customer''s or vendor''s numbering system.';
                }

3. Expected behavior Field should not disappear 4. Actual behavior BCbug

5. Versions:

NKarolak commented 1 month ago

This repository handles issues for the AL Language + interaction in VS Code only (hence everything until an app file has been compiled), but not for any later issues that arise when the app file is processed through server and client. Microsoft will close this issue soon.

Btw, I can't reproduce your issue in my German 24.3 database. The External Document No. is hidden by default from beginning. I have to click "Show more" to enter it. Ensure that no other extensions or a personalization / profile configuration is doing some tricks here. Or, maybe you can't reproduce it in 24.3 either?

kalberes commented 1 month ago

image