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

TableExtension BlankZero #7670

Closed tonyabriccomeske closed 4 months ago

tonyabriccomeske commented 4 months ago

Please include the following with each issue:

1. Describe the bug When creating a table extension, you are able to modify an existing field, and change the value of the BlankZero property. You can build, and receive no errors. When you go to publish, you receive the following error:

image

2. To Reproduce

  1. Create a new table extension like the code provided below
tableextension 70100 "TBM_PurchaseLine" extends "Purchase Line"
{
    fields
    {
        modify(Quantity)
        {
            BlankZero = true;
        }
    }
}
  1. Build your app. You don't receive any errors.
  2. Attempt to deploy your app. You should receive an error.

3. Expected behavior When compiling / building, I would expect to receive the error (if you cannot change the BlankZero property)

4. Actual behavior I do not receive any sort of indication that I cannot modify the BlankZero property on a table extension

5. Versions:

dannoe commented 4 months ago

Duplicate of #6555

JesperSchulz commented 4 months ago

The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 25.0.16995.0 and VS Code Extension Version 14.0.953267.

If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo

For more details on code branches and docker images please read: https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/ https://freddysblog.com/2020/06/25/working-with-artifacts/