StefanMaron / BusinessCentral.LinterCop

Community driven code linter for AL (MS Dynamics 365 Business Central)
https://stefanmaron.com
MIT License
72 stars 30 forks source link

LC0035 - Cross analyse base and extension fields for pages and tables #698

Closed ans-bar-bm closed 1 month ago

ans-bar-bm commented 1 month ago

fixes #694

The previous logic made a clear separation that for standalone table fields only standalone pages were analysed, and for tableextension fields only pageextensions were analysed.

This change adds analysis to also find fields on standalone pages for table extensions (the example in the issue). This change adds analysis to also find fields on pageextensions for standalone tables (could come in handy now that we can extend our own objects / pages).