Closed MortenRa closed 2 years ago
Surely this should work; just making it a compile-time error would be the wrong solution.
This is also breaking our API's moving towards v17.
Expected behavior Should just work. It used to work on a BC 16.3.
@PooyaKharamesh Can you please change the label from CodeCop to Bug? Any fix expected in the BC 17.1?
Hi,
Many thanks for raising this issue. Unfortunately we have not been able to get to this issue as soon as we'd have liked. Since it has been a long time since this issue was last updated, it is possible that this has been fixed by a newer release of Business Central and the AL extension for Visual Studio Code. We have thus decided to close it.
If the issue still affects you on the latest insider build of Business Central, please help us and open a new issue for us with the latest steps to reproduce the issue, and link back to this closed issue to track any comments or discussions.
Thanks,
Thaddeus
TestWs.zip Describe the bug When exposing a field in a query which has a "calcformula = exist" it breaks all the webservices when query is exposed as webservice from version17.0 do however works in 16.5. One are allowed to publish a webservice but once you use the webservice the error occurs in webclient: Sequence contains no matching element
if this is not allowed then the compiler should warn that you use a field with a CalcFormula = exist or CalcFormula = - Exist and should not be able to compile extension.
To Reproduce Steps and to reproduce the behavior:
AL Code to reproduce the issue
AL project attaced TestWs.zip use this queryExpected behavior Should just work
Warn that you use a field with a calcformula = exist and should not be able to compile extension
Screenshots
5. Versions: