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

AL0717 - "The property 'TableRelation' [...] is required [...] because the field's property 'FieldClass' is set to 'FlowField'." - why? #7124

Open dzzzb opened 2 years ago

dzzzb commented 2 years ago

I made a FlowField and hadn't yet assigned a CalcFormula. I saw that we now get this message:

The property 'TableRelation' or the property 'CalcFormula' is required for the field 'No. of Stages' in Table 'blablabla' because the field's property 'FieldClass' is set to 'FlowField'.

Can a FlowField without a CalcFormula ever do anything? What does a TableRelation do on a FlowField, anything? These don't seem to be documented.

If the point about TableRelation is legit, what that can do on its own, or at all - should be documented somewhere we can easily find.

If it's incorrect, that property should not be mentioned in the warning.

Thanks!

Name: AL Language
Id: ms-dynamics-smb.al
Description: AL development tools for Dynamics 365 Business Central
Version: 9.3.646020
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-dynamics-smb.al
thloke commented 2 years ago

We have internally discussed this issue and have decided not to accept this issue to be fixed at the moment to prioritize other issues. Thank you for raising this concern.

Edit to add: It's possible that we'll pick this up when we do a drive to collate all the low hanging items to fix, so this doesn't mean we're not fixing it - we're just not fixing it now.

dzzzb commented 2 years ago

Thank you, no big rush from my PoV, just prefer that it get kept open for eventual consideration ;-)