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
732 stars 243 forks source link

Tile in a Cue Group ist not Updated, if SourceTable is Temporary #6007

Closed MarkDE87 closed 4 years ago

MarkDE87 commented 4 years ago

I have a Issue on Business central. I create a CardPard and add it to the Customer Card Page via Extension. In the CardPard is a Integer Variable declared. I show this variable as field and as Tile. My Problem if the variable change the value, the Tile is not updated. The normal field show the changed value. Look at the Screenshot. If i change the Property of the Cardpart to SourceTableTemporary to = false then work the system correctly.

Example .al Files with the Issue: PageEXT50300.zip

BC_TileBug_20020706_001

dzzzb commented 4 years ago

probably somehow due to the temporary table having no records, and BC deciding it doesn't need to display any values, even variables.

usually we use a dummy cue record table, and ensure it contains at least one record, even if that's just a blank primary key and nothing further.

MarkDE87 commented 4 years ago

This is more or less a good workaround for me. This may be a temporary bug fix. The normal field shows the value correctly and whether it should be displayed as a tile or a normal field should not matter for BC. If I change the style at runtime, this also works for a temporary table. Only the value is not updated.

atoader commented 4 years ago

Hi! Please take a minute to read the guidelines for this repository https://github.com/microsoft/AL and our collection of frequently asked questions https://github.com/Microsoft/AL/wiki/frequently-Asked-Questions .

As this repository is only for issues related to the AL compiler in latest developer preview environment for Dynamics 365 Business Central. We suggest that you open a support case or file a bug in Collaborate, to ensure that all Business Central users benefit from your catch as soon as possible.

To open a support case, you can:

If you file the bug in Collaborate, remember to include steps to reproduce the issue, and the Business Central build number and country version you're using.